Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4679 Discussions

Compiling with base relocations

sroytman
Beginner
160 Views

I've got a simple question about getting VTune's call graph going on a poject I'm working on. The environment is Windows XP, Intel 7.1 C++ compiler with nmake---looks like something straight from Microsoft.

I want to extract a call graph, but VTune complains about not finding base relocations in the .exe I want to analyze. I assume that the solution is going to be something like setting a -g flag or linking statically in the *nix world, possibly accomplished by changing something in some .pro file. However things are being compiled right now, VTune's sampling functionality does work.

Thanks in advance for any suggestions.

Sergej Roytman

0 Kudos
2 Replies
Intel_C_Intel
Employee
160 Views

Try modifying following property

Tools -> Options -> Configuration Properties -> Linker -> Advanced ==> Fixed Base Address to /FIXED.

-km

David_A_Intel1
Employee
160 Views
use the Linker Custom options window and just add /FIXED:NO.
Reply