Hello,
I can't seem to compile the testbed example with VS2008 on vista. BOX2D (2.0.1) is ok, but I was hoping somebody might be able to help 🙂
The debug version compiles fine, it's just when I compile the release version of TestBed I get the following errors:
Thanks.
I can't seem to compile the testbed example with VS2008 on vista. BOX2D (2.0.1) is ok, but I was hoping somebody might be able to help 🙂
The debug version compiles fine, it's just when I compile the release version of TestBed I get the following errors:
Code:
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
1>TestEntries.cpp
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
1>TestEntries.cpp
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : error C2220: warning treated as error - no 'object' file generated
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(139) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(138) : see declaration of 'std::bad_cast'
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(160) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\exception(241) : see declaration of 'stdext::exception'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\typeinfo(159) : see declaration of 'std::bad_typeid'
Thanks.