Hello,
I've got the latest stable release (2.0.1) and everything compiles fine. However I want to change the runtime from multi-threaded to multi-threaded dll to avoid conflicts with my other libraries.
However, when I compile with this runtime for the examples (I've changed all projects - box2d, examples, opengl), I get loads of errors that I've never seen before when building. Can anyone help? Thanks.
I'm using MSVC2005 professional SP1.
I've got the latest stable release (2.0.1) and everything compiles fine. However I want to change the runtime from multi-threaded to multi-threaded dll to avoid conflicts with my other libraries.
However, when I compile with this runtime for the examples (I've changed all projects - box2d, examples, opengl), I get loads of errors that I've never seen before when building. Can anyone help? Thanks.
Code:
\msvc8\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
C:\msvc8\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
C:\msvc8\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
BroadPhaseTest.cpp
BipedDef.cpp
Biped.cpp
Test.cpp
Render.cpp
Main.cpp
C:\msvc8\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
C:\msvc8\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
C:\msvc8\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
Generating Code...
Build log was saved at "file://e:\dev\Box2D_v2.0.1\Build\VC8\TestBed\Release\BuildLog.htm"
TestBed - 2 error(s), 4 warning(s)
C:\msvc8\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
C:\msvc8\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
BroadPhaseTest.cpp
BipedDef.cpp
Biped.cpp
Test.cpp
Render.cpp
Main.cpp
C:\msvc8\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
C:\msvc8\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
C:\msvc8\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
C:\msvc8\VC\include\exception(241) : see declaration of 'stdext::exception'
C:\msvc8\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
Generating Code...
Build log was saved at "file://e:\dev\Box2D_v2.0.1\Build\VC8\TestBed\Release\BuildLog.htm"
TestBed - 2 error(s), 4 warning(s)
I'm using MSVC2005 professional SP1.