the way you added the lib is ok. I compiled this earlier with vc2005 with pragma. That is not the problem once your link and lib folders are mentioned right in compiler.
Now I am recompiling the same thing with vc2008 and get 2 error as yours. Dont know what to do.
1>ode.lib(convex.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)
1>ode.lib(convex.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z)
I'm trying out this example as well. I can compile it without any problem, but unfortunately, after the launch, it exits producing the following output.
85-218-28-148:ODE fruini$ ./ODE_test.app/Contents/MacOS/ODE_test
Irrlicht Engine version 1.7.1
Darwin Kernel Version 10.3.1: Mon Mar 22 15:13:15 PDT 2010; root:xnu-1504.3.52~1/RELEASE_I386
Using renderer: OpenGL 2.1
NVIDIA GeForce GT 330M OpenGL Engine: NVIDIA Corporation
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
Loaded mesh: /Users/fruini/Desktop/ODE/box.x
ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49
ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 49