Closed autonomnom closed 10 years ago
I forgot to say i'm using the latest development build of haxe since the installer haxe.org was categorized as corrupted (by antivir avira).
since yesterday antivir isnt telling about the trojan anymore when i use the isntaller.exe and the compiling to c++ is working with the installer version.i probably did someting wrong with the haxe setup i guess (but neko and flash worked fine)
Hey, when i try to compile to C++ i get this error here (it compiles fine until Endian.cpp)
Endian.cpp
include\openfl/utils/Endian.h(28) : error C4430: missing type specifier - int as sumed. Note: C++ does not support default-int
./src/openfl/utils/Endian.cpp(46) : error C2039: 'mClass' : is not a member of 'openfl::utils::Endian_obj'
include\openfl/utils/Endian.h(13) : see declaration of 'openfl::utils::E ndian_obj'
./src/openfl/utils/Endian.cpp(46) : error C2065: 'mClass' : undeclared identif ier
./src/openfl/utils/Endian.cpp(53) : error C2039: 'mClass' : is not a member of 'openfl::utils::Endian_obj'
include\openfl/utils/Endian.h(13) : see declaration of 'openfl::utils::E ndian_obj'
./src/openfl/utils/Endian.cpp(53) : error C2065: 'mClass' : undeclared identif ier
./src/openfl/utils/Endian.cpp(60) : error C2039: '__mClass' : is not a member of 'openfl::utils::Endian_obj'
include\openfl/utils/Endian.h(13) : see declaration of 'openfl::utils::E ndian_obj'
these are the libraries i use
aether: [1.7.1]
box2d: [1.2.0]
format: [3.1.1]
HaxePunk: [2.5.3]
hxcpp: [3.1.39]
lime-tools: [1.5.7]
lime: [1.0.1] 2.0.0-alpha
openfl-ouya: [1.0.2]
openfl: [2.0.1]
if i use lime 2.0.0-alpha it throws this
C:/HaxeToolkit/Haxe/lib/openfl/2,0,1/openfl/Assets.hx:579: characters 3-58 : Def aultAssetLibrary should be openfl.AssetLibrary
C:/HaxeToolkit/Haxe/lib/openfl/2,0,1/openfl/Assets.hx:579: characters 3-58 : For function argument 'library'
and when i then replace
DefaulAssetLibrary
withopenfl.AssetLibrary
the same error as above occurs.i asked about this already in the HaxePunk forum and in the OpenFL forum on their website but i got only 1 response so far which gave me the impulse to post it here too. if this here isn't the right place i apologize.
maybe some additional information: i use a macbook with windows7 ultimate running through bootcamp and compiling to neko isnt a problem. i installed lime for cpp with lime setup windows.
maybe you have an idea? thank you!