Hi Andread, I did that but scons has built non debug lib with pdb files.. Do
I have to specify any other parameter to scons (such as debug or something?)
. The libraries it has generated does´t have "D" at end (eg. OSGBaseD.lib).

My command to scons is this one:

     scons type=dbgopt compiler=msvc80

but I think something is missing.

When I try to debug the code with the generated libs an error ocurrs because
VS is unable to find debug symbols or something like that...

thank you

2007/5/15, Andreas Zieringer <[EMAIL PROTECTED]>:

Hi Pablo,

scons type=dbgopt

creates a optimized build with .pdb files for debugging.

Andreas

> Thanks Andreas, I can use Scons to compile it .... but what I really
> want is to debug OpenSG using step into commands inside the OpenSG
> source code from my OpenSG application. To do this I need the .pdb file
> of all OpenSG libraries. How can Scons do this for me? Is there any
option?
>
> Thanks
>
> 2007/5/15, Andreas Zieringer <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>     Hi Pablo,
>
>     the visual studio project files are not up-to-date. You can try our
>     scons build system look into OpenSG/INSTALL.scons for the install
>     instructions.
>
>     Andreas
>
>      > Hi. I´m have some trouble trying to cmopile OpenSG under windows
>     with
>      > Visual Studio 2005. I did everything the README and INSTALL files
>     told
>      > me to....
>      >  Everything goes almost fine, but I get 6 linking errors (3 of 4
>      > projects compile and link perfectly, but at OSGSystem project, I
>     got the
>      > linking errors shown below:)
>      >
>      > Error    36    error LNK2001: unresolved external symbol
"private:
>      > static class osg::FieldContainerType
osg::SClipPlaneChunkBase::_type"
>      > (?_type@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]@A)
>      > OSGRenderAction.obj
>      > Error    37    error LNK2001: unresolved external symbol
"private:
>      > static class osg::StateChunkClass osg::SClipPlaneChunk::_class"
>      > ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)
>      > OSGRenderAction.obj
>      > Error    38    error LNK2001: unresolved external symbol
"private:
>      > static class osg::FieldContainerType osg::ClipPlaneBase::_type"
>      > ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A)
>      > OSGRenderAction.obj
>      > Error    39    error LNK2019: unresolved external symbol "public:
>     class
>      > osg::FCPtr<class osg::FCPtr<class osg::AttachmentPtr,class
>      > osg::StateChunk>,class osg::SClipPlaneChunk> __thiscall
>      > osg::ClipPlane::getChunk(void)" (?getChunk@
>      >
>     [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@
[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]
>     @@[EMAIL PROTECTED])
>      > referenced in function "public: void __thiscall
>      > osg::RenderAction::dropClipPlane(class osg::ClipPlane *)"
>      > (?dropClipPlane@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
>      > OSGRenderAction.obj
>      > Error    40    error LNK2019: unresolved external symbol
"protected:
>      > __thiscall osg::SClipPlaneChunk::SClipPlaneChunk(void)"
>      > ([EMAIL PROTECTED]@@ [EMAIL PROTECTED]) referenced in function
"protected:
>      > static void __cdecl osg::FieldContainer::newPtr<class
>     osg::FCPtr<class
>      > osg::FCPtr<class osg::AttachmentPtr,class osg::StateChunk>,class
>      > osg::SClipPlaneChunk> >(class osg::FCPtr<class osg::FCPtr<class
>      > osg::AttachmentPtr,class osg::StateChunk>,class
osg::SClipPlaneChunk>
>      > &)" (??$newPtr@
>      >
>     [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@osg@@
[EMAIL PROTECTED]@@osg@@@[EMAIL PROTECTED]
>     @@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@osg@@
[EMAIL PROTECTED]@@1@@Z)
>      > OSGRenderAction.obj
>      > Error    41    error LNK2019: unresolved external symbol
"protected:
>      > __thiscall osg::ClipPlane::ClipPlane(void)" ([EMAIL PROTECTED]@@
>     [EMAIL PROTECTED])
>      > referenced in function "protected: static void __cdecl
>      > osg::FieldContainer::newPtr<class osg::FCPtr<class
osg::FCPtr<class
>      > osg::FCPtr<class osg::AttachmentContainerPtr,class
>     osg::NodeCore>,class
>      > osg::Group>,class osg::ClipPlane> >(class osg::FCPtr<class
>      > osg::FCPtr<class osg::FCPtr<class
osg::AttachmentContainerPtr,class
>      > osg::NodeCore>,class osg::Group>,class osg::ClipPlane> &)"
>     (??$newPtr@
>      >
>     [EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]
@@osg@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@osg@@@[EMAIL PROTECTED]@@
[EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]
@@osg@@[EMAIL PROTECTED]
>     @@osg@@
>      > [EMAIL PROTECTED]@@1@@Z)    OSGRenderAction.obj
>      >
>      >
>      > I can´t find the reason, once all symbols that the compiler
couldn´t
>      > find is perfectly in the project.. Does anyone know what is going
>     on?
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>
------------------------------------------------------------------------
>      >
>      >
>
-------------------------------------------------------------------------
>      > This SF.net email is sponsored by DB2 Express
>      > Download DB2 Express C - the FREE version of DB2 express and take
>      > control of your XML. No limits. Just data. Click to get it now.
>      > http://sourceforge.net/powerbar/db2/
>      >
>      >
>      >
>
------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Opensg-users mailing list
>      > [email protected]
>     <mailto:[email protected]>
>      > https://lists.sourceforge.net/lists/listinfo/opensg-users
>     <https://lists.sourceforge.net/lists/listinfo/opensg-users>
>
>
>     --
>     VREC
>     Robert-Bosch-Straße 7
>     D-64293 Darmstadt
>     Tel. 06151-4921035
>
>
-------------------------------------------------------------------------
>     This SF.net email is sponsored by DB2 Express
>     Download DB2 Express C - the FREE version of DB2 express and take
>     control of your XML. No limits. Just data. Click to get it now.
>     http://sourceforge.net/powerbar/db2/
>     <http://sourceforge.net/powerbar/db2/>
>     _______________________________________________
>     Opensg-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users


--
VREC
Robert-Bosch-Straße 7
D-64293 Darmstadt
Tel. 06151-4921035

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to