- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Peter

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page