Search code examples
c++ubuntumakefiledicomdcmtk

Does the makefile of dcmtk3.6.3 in ubuntu14.0 have -g to debug?


I want to debug the code of dcmtk3.6.3 with vs code in ubuntu14.0.

But i don't know whether the original makefile had the -g parameter.

I try to debug,but it does not work. So, should i add the "-g" in the makefile? And where to add?

this is the movescu of dcmtk in makefile. enter image description here


Solution

  • Reading the INSTALL file that is shipped with the DCMTK would help, e.g. "./configure --enable-debug --ignore-deprecation" should do what you want (when using GNU Autoconf).