VS 2005, Debug works, Release fails

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 🙂
Go to project properties, then linker, then input. There is an option to ignore specific library, there type LIBCMT and it should compile!
hmmmm...ignoring LIBCMT.lib results in a massive amount of errors being generated, rather then the 3 previous...
Your project settings must be compatible with the Box2D project settings (expceptions disabled, etc).
so at least i'm not alone with this issue 🙂
on my site it occurs only on testbed linking, so freeglut and/or glui might be the problem...
i also tried on a fresh winxp-pc with fresh compiler setup (1) and fresh box2d download without success.

so, still living with debug config... 😉


(1) Microsoft Visual C++ 2005
Version 8.0.50727.42 (RTM.050727-4200)

Original thread: https://box2d.org/forum/viewtopic.php?t=932