Hello, I'm trying to compile box2d v2.0.1 using the visual studio project file included in the build directory.
The project compiles and runs fine under visual studio 2005 in debug mode, but gives me the following errors when attempting to compile in
release :
Error 21 error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined in TestEntries.obj LIBCMT.lib
Error 22 error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) already defined in TestEntries.obj LIBCMT.lib
Error 23 fatal error LNK1169: one or more multiply defined symbols found d:\projects\Box2D_v2.0.1\Box2D_v2.0.1\Box2D\Build\VC8\TestBed\Release\TestBed.exe 1
any ideas would be greatly appreciated 🙂
The project compiles and runs fine under visual studio 2005 in debug mode, but gives me the following errors when attempting to compile in
release :
Error 21 error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined in TestEntries.obj LIBCMT.lib
Error 22 error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) already defined in TestEntries.obj LIBCMT.lib
Error 23 fatal error LNK1169: one or more multiply defined symbols found d:\projects\Box2D_v2.0.1\Box2D_v2.0.1\Box2D\Build\VC8\TestBed\Release\TestBed.exe 1
any ideas would be greatly appreciated 🙂