On Sun, Sep 22, 2013 at 12:54 PM, Brad Hollister <[email protected]> wrote: > On Ubuntu... > > #1 Using QtCreator (as described here: > http://wiki.blender.org/index.php/Dev:Doc/IDE_Configuration/Linux_CMake_QtCreator), > I can debug Blender within the IDE. This works for all source files > (.cpp/.cc) except ones with the .c extension (such as the entry point > in creator.c). I only get disassembly in the editor with those -- even > though the breakpoint is associated with a full path to the source > file itself. This is the same across all IDE's, so I assume it has > something to do with gcc and possibly debug compile options (although > they appear to be set properly through the cmake configuration).
Note that theres nothing QtCreator spesific here (debug options apply to any CMake build). In your build directory run cmake-gui (or load CMakeCache.txt in an editor). CMAKE_BUILD_TYPE should be set to Debug, so you should have this text. eg: CMAKE_BUILD_TYPE:STRING=Debug CMAKE_C_FLAGS_DEBUG should contain "-g/-g3/-ggdb3" eg: CMAKE_C_FLAGS_DEBUG:STRING=-ggdb3 -fno-inline -O0 -Wall Then you'll get debug symbols. > #2 Can't fully build with the WITH_OSL option. I get a linking > error as the final build step associated with Boost and OpenImageIO. You would have to link to a full error log of the output, otherwise its hard to know whats going wrong. > Any suggestions? Thanks in advance. > > Regards, > Brad -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
