| Issue 63: | Programs no longer compile on Ubuntu | |
| 1 person starred this issue and may be notified of changes. | Back to list |
My config:
Ubuntu 10.4
haxe 2.06
hxcpp 2.06.1
gcc 4.4.3
Even minimal program like:
class Main {
static function main() {
trace("hi");
}
}
gives errors:
haxelib run hxcpp Build.xml haxe -Dcpp -Dhaxe_206 -Dhxcpp -Dtrue
gcc -c -fvisibility=hidden -O2 -DHX_LINUX -m32 -I/home/andy/Documents/svn/hxcpp//include -Iinclude -frtti ./src/haxe/Log.cpp -oobj/linux//src/haxe/Log.o
In file included from ./src/haxe/Log.cpp:4:
include/haxe/Log.h:26: error: ‘HX_MARK_PARAMS’ has not been declared
include/haxe/Log.h: In member function ‘virtual String haxe::Log_obj::__ToString() const’:
include/haxe/Log.h:27: error: ‘HX_CSTRING’ was not declared in this scope
./src/haxe/Log.cpp: In member function ‘Void haxe::<unnamed>::__default_trace::run(Dynamic, Dynamic)’:
./src/haxe/Log.cpp:29: error: ‘HX_SOURCE_PUSH’ was not declared in this scope
./src/haxe/Log.cpp:30: error: expected ‘;’ before ‘HX_SOURCE_POS’
./src/haxe/Log.cpp: In member function ‘Void haxe::<unnamed>::__default_clear::run()’:
./src/haxe/Log.cpp:43: error: ‘HX_SOURCE_PUSH’ was not declared in this scope
./src/haxe/Log.cpp:44: error: expected ‘;’ before ‘}’ token
./src/haxe/Log.cpp: At global scope:
./src/haxe/Log.cpp:57: error: variable or field ‘__Mark’ declared void
./src/haxe/Log.cpp:57: error: ‘HX_MARK_PARAMS’ was not declared in this scope
./src/haxe/Log.cpp: In member function ‘virtual Dynamic haxe::Log_obj::__Field(const String&)’:
./src/haxe/Log.cpp:67: error: ‘HX_FIELD_EQ’ was not declared in this scope
./src/haxe/Log.cpp:68: error: ‘HX_FIELD_EQ’ was not declared in this scope
./src/haxe/Log.cpp: In member function ‘virtual Dynamic haxe::Log_obj::__SetField(const String&, const Dynamic&)’:
./src/haxe/Log.cpp:77: error: ‘HX_FIELD_EQ’ was not declared in this scope
./src/haxe/Log.cpp:78: error: ‘HX_FIELD_EQ’ was not declared in this scope
./src/haxe/Log.cpp: At global scope:
./src/haxe/Log.cpp:89: error: ‘HX_CSTRING’ was not declared in this scope
./src/haxe/Log.cpp:90: error: ‘HX_CSTRING’ was not declared in this scope
./src/haxe/Log.cpp:96: error: variable or field ‘sMarkStatics’ declared void
./src/haxe/Log.cpp:96: error: ‘HX_MARK_PARAMS’ was not declared in this scope
./src/haxe/Log.cpp: In static member function ‘static void haxe::Log_obj::__register()’:
./src/haxe/Log.cpp:105: error: ‘HX_CSTRING’ was not declared in this scope
./src/haxe/Log.cpp:107: error: ‘sMarkStatics’ was not declared in this scope
Called from <null> line 1
Called from BuildTool.hx line 845
Called from BuildTool.hx line 437
Called from BuildTool.hx line 460
Called from BuildTool.hx line 533
Called from BuildTool.hx line 565
Called from BuildTool.hx line 170
Uncaught exception - Error : 256 - build cancelled
sh: ./Main: not found
Error : Command failed
Exited: 256
Dec 21, 2010
Project Member
#1
gameh...@gmail.com
Status:
WontFix
|