Hi Gordon --
 
I'm not having the issue you describe. I do the following, and VS is always
able to find the OSG symbol information and step through the code:
 
1) Build OSG
2) Right click on INSTALL and select Build. This copies OSG runtime into
C:\Program Files\OpenSceneGraph (headers, libs, and DLLs).
3) When building my app, always include headers from and link with libraries
in, C:\Program Files\OpenSceneGraph (_not_ the source tree).
4) Put "C:\Program Files\OpenSceneGraph\bin" in my system PATH.
 
When I run my apps, I can always set breakpoints in, and step through, OSG
code, no problem.
 
Hope that helps,
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon
Tomlinson
Sent: Friday, March 14, 2008 12:51 PM
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] Debug JPEG plugin issues


Hi Paul
 
I have noticed issues like this recently. it does not seem you can make
Cmake distinguish between release and debug here, its causing use grief as
we try to migrate to 2.3.x
maybe there is a way to do this but I don't know enough about Cmake etc... 
 
I'm having basic issue of even stepping into OSG libs/source now were using
Cmake. I don't know if it something in out VS project settings or a Cmake
setting that is stopping this but its annoying
I'm trying to trace an issue with OSGtext crashing with a vector dereference
issue after changing the text ( random) but cannot step in to the dang
source which is frustrating
 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz
Sent: Friday, March 14, 2008 1:04 PM
To: 'OpenSceneGraph Users'
Subject: [osg-users] Debug JPEG plugin issues


For some time now, I've been unable to load the Debug JPEG plugin
osgdb_jpegd.dll. The Release build works just fine. Because I'm on Windows,
I had assumed this was some runtime library / PATH issue
 
Today, this finally bugged me enough to investigate it.
 
I looked at osgdb_jpegd.dll the old depends.exe (from VC6 days) and it
doesn't indicate any problems. And indeed it turns out it's not a DLL issue,
apparently.
 
It seems to be a problem with the 3rdparty binary libjpegD.lib. If I have
the CMake variable JPEG_LIBRARY_DEBUG set to libjpegD.lib, then the
resulting Debug JPEG plugin refuses to load. On the other hand, with
JPEG_LIBRARY_DEBUG set to libjpeg.lib, the Debug JPEG plugin loads and runs
just fine.
 
As luck would have it, Mike Weiblen and I are having breakfast tomorrow, so
I'll ask him if he knows anything about why this would be happening.
 
Just wanted to post this here in case others are encountering the same
issue.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to