[osg-users] more on Windows debugging

Andy Skinner Andy.Skinner at mathworks.com
Thu Sep 27 12:08:35 PDT 2007

Oh, we're building the OSG with an enormous pile of scaffolding.  There is a process for building all our 3rd party software.  I still haven't heard why they don't include /Zi for 3rd party stuff, or why I was getting pdb file at all (even if not containing everything) without it.

I'd love to know how to get the paths in the pdb file to be UNC paths, rather than the volume number.  My sandbox is my S: volume, but if I'd like to keep the build area in my sandbox and let other people use it, I'd like to use the UNC name (\\mathworks\devel\sandbox\askinner).  I don't know if there is a way to get that name into the file instead of S: or not.  Until I figure that out, they'll have to copy my build area (with src directory and pdb files) as well as my install (with include, bin, and lib).  I'd like for them to just have to get the install.


-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Jean-Sébastien Guay
Sent: Thursday, September 27, 2007 2:32 PM
To: osg-users at lists.openscenegraph.org
Subject: Re: [osg-users] more on Windows debugging

Hello Andy,

Glad you got this sorted, it was bugging me too. Not your messages  
:-), but the fact you got the problem when I have had no problem  
debugging inside the OSG DLLs -- of course stating "I have no problem"  
doesn't help at all, which is why I didn't  say anything.

> It was /Zi.  I knew I saw it set (it was put in another variable and not
> put in the one I was using), and I knew I was getting pdb files, so I
> really thought it was being applied.  Oh, well.

I wonder, how were you building the OSG? On my side, when I generate  
the build files with CMake, using the build configuration list in  
Visual Studio to switch from Release to Debug sets the correct flags  
(including /Zi)... Were you building the OSG with a different build  
tool or from your own scripts?

I'm just wondering, because if not, that would indicate that in some  
circumstances CMake will generate invalid build files (without /Zi for  
the debug build, at least), and I'd like to get to the bottom of that  
so others don't get that problem in the future...

OTOH, if the problem was totally on your side, then I'm just glad you  
got it fixed. I remember a few threads I started that lasted a few  
days/weeks and where the problem was ultimately totally on my side, so  
I can relate. :-)

Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca

This message was sent using IMP, the Internet Messaging Program.

osg-users mailing list
osg-users at lists.openscenegraph.org

More information about the osg-users mailing list