Hi There,
I've been porting the Moai Opengl game framework to Mosync and have whittled the 3000 odd errors down to the following handful - but don't know how to get round these...
I've been building a lua runtime + 3rd party libs for Box2D physics and Moai as a lib.
I'm now trying to put together a Moai runtime host which combines the Moai game api with the capabilities of the Mosyn Lua API... I'm close...
Any ideas wecome,
Cheers,
Jason Wraxall
The duplicate symbol is a static contained in a templated method defined in a header.
//----------------------------------------------------------------//
template < typename TYPE >
static RTTIRecord& Get () {
static RTTIRecord single;
return single;
}
The data section errors are pointing to a line comtaining comments???
I saw an earlier post which mentioned Ming gcc getting in the way so I've checked the env path, and also renamed the ming folder to ensure it isn't being called... any other ideas or switches I can use to get some more diagnostics?
C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: Symbol '__ZGVZN10RTTIRecord3GetI13MOAILuaObjectEERS_vE6single' is already defined, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: illegal alignref outside data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: illegal alignref outside data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: illegal alignref outside data section, C:\data\code\cpp\moai-moai-beta-4d876f4\src\moaicore\MOAIVertexFormat.cpp:39: Error: data word in not in data section,