I am sure this is a trivial question for most. I am building code based on C++ GDCM (GrassRoot DICOM) library. Interestingly, using GDB, I am unable to traverse into the library headers. Is there an option which i need to turn on during the GDCM build process?
Asked
Active
Viewed 117 times
0
-
It needs to be built with debug-information enabled. For GCC use the flag `-g` to enable it. This is usually the default for libraries built with the autoconfig system (`./configure; make`), just make sure the debug information is not stripped when installing. – Some programmer dude Mar 23 '13 at 20:30
1 Answers
1
GDCM used CMake build system. Simply set: CMAKE_BUILD_TYPE to Debug. Done.

malat
- 12,152
- 13
- 89
- 158
-
Thanks. Mostlibraries have debug symbols but GDCMDICOMDIRGenerator does not 'step in', for example. In any case, I have built my project successfully so not too worried about not being able to step in – Maelstorm Mar 28 '13 at 14:04