failed to compile example
Posted: Tue Oct 28, 2008 12:39 am
hi!
i installed SimTKcore_RelWithDebInfo.exe (50737 kB) in windows xp,my platform is vc2005,i try to compile examples ExampleKneeJoint.cpp in SimTKExamples1.5Updated.zip,but got the following errors:
simtk_test.obj : error LNK2019: unresolved external symbol "public: static class SimTK::Stage const SimTK::Stage::Acceleration" (?Acceleration@Stage@SimTK@@2V12@B),referenced in function _main
if i comment out the following line:
system.realize(state, Stage::Acceleration);
then it's ok.
Other examples like ExampleDynamicWalker.cpp has the same phenomenon. how can i get around of it?
i installed SimTKcore_RelWithDebInfo.exe (50737 kB) in windows xp,my platform is vc2005,i try to compile examples ExampleKneeJoint.cpp in SimTKExamples1.5Updated.zip,but got the following errors:
simtk_test.obj : error LNK2019: unresolved external symbol "public: static class SimTK::Stage const SimTK::Stage::Acceleration" (?Acceleration@Stage@SimTK@@2V12@B),referenced in function _main
if i comment out the following line:
system.realize(state, Stage::Acceleration);
then it's ok.
Other examples like ExampleDynamicWalker.cpp has the same phenomenon. how can i get around of it?