So I am trying to follow your instructions on getting the all of the v3.0 source code to compile. I've been following along with all of your instructions on how to get GCC3 to run in Visual Studio 2010, the June DirectX SDK and the boost 1.45.
At first, before using boost 1.45 I was getting the error talked about in this post: mcshaffry.com/GameCode/thread.…ight=binary&hilightuser=0 where when I tried to run the program I would get
Unable to start program
path\...\Source\..\Libs\GameCode3.lib
The specified file is an unrecognized or unsupported binary format.
I had none of the linker errors described in the post though. So I imagined it was using an older version of boost, so I compiled the 1.45 libraries and when I try to use them I get this error about 30 or so times:
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2958: the left parenthesis '(' found at 'c:\users\maza8784\desktop\boost_1_45_0\boost\thread\locks.hpp(85)' was not matched correctly
1> C:\Users\maza8784\Desktop\boost_1_45_0\boost/thread/locks.hpp(91) : see reference to class template instantiation 'boost::detail::has_member_lock<T,true>' being compiled
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2988: unrecognizable template declaration/definition
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2059: syntax error : '<end Parse>'
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2238: unexpected token(s) preceding ';'
The base of code I began using before this from the test branch so there isn't the namespace conflict with LuaPlus that I know of anymore. What went wrong and how should I try to fix this? Any ideas?
At first, before using boost 1.45 I was getting the error talked about in this post: mcshaffry.com/GameCode/thread.…ight=binary&hilightuser=0 where when I tried to run the program I would get
Unable to start program
path\...\Source\..\Libs\GameCode3.lib
The specified file is an unrecognized or unsupported binary format.
I had none of the linker errors described in the post though. So I imagined it was using an older version of boost, so I compiled the 1.45 libraries and when I try to use them I get this error about 30 or so times:
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2958: the left parenthesis '(' found at 'c:\users\maza8784\desktop\boost_1_45_0\boost\thread\locks.hpp(85)' was not matched correctly
1> C:\Users\maza8784\Desktop\boost_1_45_0\boost/thread/locks.hpp(91) : see reference to class template instantiation 'boost::detail::has_member_lock<T,true>' being compiled
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2988: unrecognizable template declaration/definition
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2059: syntax error : '<end Parse>'
1>\boost_1_45_0\boost/thread/locks.hpp(85): error C2238: unexpected token(s) preceding ';'
The base of code I began using before this from the test branch so there isn't the namespace conflict with LuaPlus that I know of anymore. What went wrong and how should I try to fix this? Any ideas?