mccdo / osgbullet

Bullet physics and OpenSceneGraph integration
65 stars 34 forks source link

Debug-Build fails in VS2008 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For some weird reason I can't compile the debug-build:

1>MotionState.obj : error LNK2001: Nicht aufgelöstes externes Symbol
""__declspec(dllimport) public: void __thiscall
osgwTools::AbsoluteModelTransform::setMatrix(class osg::Matrixd const &)"
(__imp_?setMatrix@AbsoluteModelTransform@osgwTools@@QAEXABVMatrixd@osg@@@Z)".

1>PhysicsState.obj : error LNK2001: Nicht aufgelöstes externes Symbol
""__declspec(dllimport) public: class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const & __thiscall
osgwTools::RefID::str(void)const "
(__imp_?str@RefID@osgwTools@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allo
cator@D@2@@std@@XZ)".

The release-build compiles flawless. It may be a VS-bug.
I tried /trunk (not a branch), the bug-tracker doesn't allow this to be
said ...

Original issue reported on code.google.com by spamt...@adsignum.com on 9 Apr 2010 at 9:07

GoogleCodeExporter commented 9 years ago
Did build the debug version of osgWorks? If so we may not be picking up the 
debug libraries from osgWorks 
properly.

Doug

Original comment by mc...@iastate.edu on 9 Apr 2010 at 10:51

GoogleCodeExporter commented 9 years ago
Yes, osgWorks builds.

I tried to look at it and now it's good. Weird. There was no message about 
missing
library and so on. I first thought it's because of the typedef Matrixd <-> 
Matrix,
because the functions are called with Matrix and declared with Matrixd ... I 
simply
expect it is a not again reproducable VC quirk. I regenerated CMakeish a lot in 
the
meantime, so I don't give it any hope of being unveiled.

But nice to see you're active. :)

Original comment by spamt...@adsignum.com on 12 Apr 2010 at 6:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes, this does build; many of us are using osgBullet.

If you ever find out what caused the issue, let's discuss it on the google 
group. Then
we can decide to open an issue ticket if it merits a code change. 

Original comment by SkewMat...@gmail.com on 12 Apr 2010 at 7:13