ipp-samples building with provided makefile - how-to enable debugging info for VS2005?

ipp-samples building with provided makefile - how-to enable debugging info for VS2005?

I have a need to build ipp-samples 7.0.6 in VS 2005 or later with provided build_32.bat script.
Also, I need either supplemental debug files or debugging info built in object files.
I tried to play with compiling options in makefile, but vainly.
Simple copying compiler keys from VisualStudio project didn't help
Seems, C compiler invoked from command line and VisualStudio environment works differently.
Could you help to find compiler options for including debugging information into ipp-samples build?
Thank you.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,You need to make sure C/C++ compiler options /Od /Zi (no optimization + generate debug info) finally get to compiler command line and /DEBUG option gets to linker command line.The structure of makefiles is different for different samples. Sometimes the sample has single makefile (usually Makefile in sample's root directory), sometimes. if application contains sub-projects (like libraries), there are additional makefiles (*.mak) in sub-project root directory.You'll need to change CFLAGS, CXXFLAGS, LDFLAGS variables in makefile (not sure if their names are equal in all makefiles). In case of problems, please specify the samples you want to modify.Regards,Sergey

I think the samples also include standard VisualStudio project files which provide both release and debug configurations. That's what I've used in the past instead of the batch file.

Peter

Leave a Comment

Please sign in to add a comment. Not a member? Join today