Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sroytman
Beginner
86 Views

Compiling with base relocations

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
86 Views

Try modifying following property

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

-km

David_A_Intel1
Employee
86 Views

use the Linker Custom options window and just add /FIXED:NO.
Reply