Quantcast
Channel: Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all articles
Browse latest Browse all 1347

Compile error for __itt_ in C program

$
0
0

I get an error when attempting to compile the Intel VTune Amplifier XE API code:

error: expression must have a constant value

__itt_domain* pFrame = __itt_domain_create("FRAME");

                                              ^

This is in a .c file (not .cpp) using a C compiler

How do I fix this?

Thanks

 


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>