On Tuesday 24 March 2009 6:38:29 Opensource Obscure wrote: > I can consistently reproduce a 1.23-render-pipeline viewer crash, > by zooming out fast while in a place with lots of textures that > aren't fully loaded yet. > I want to document and report this (see bottom of this email > for more details), and I thought that a "Debug" build would have > produced better information, so I tried to compile one. > > The Linux viewers I usually make by using > ./develop.py configure > ./develop.py build > are of the "RelWithDebInfo" build type - correct? > > Surely I'm doing it wrong, because both the "Debug" and the > "Release" binaries I made have nearly the same size, > and they provide similar logs. > > What is the correct way to compile a "Debug" and a "Release" viewer? > > Here's what I did for the "Debug" one: > ./develop.py clean > ./develop.py configure -DCMAKE_BUILD_TYPE:STRING=Debug > ./develop.py build > > (previously I had already built a viewer from the same > sources - that's why I didn't have to copy FMOD here) > > ciao, > Opensource Obscure > RelWithDebInfo is default
For debug i use ./develop.py -t Debug configure && ./develop.py -t Debug build For Release ./develop.py -t Release configure && ./develop.py -t Release build you need to specify it for both the configure and the build line, for some reason i couldnt get DCMAKE_BUILD_TYPE:STRING to work directly last time i tried you should have a sepreate directory for each build like viewer-linux-x86_64-release and viewer-linux-x86_64-debug Khyota :) _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
