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?
Hi Big Dog! (I really wanted to say that! :p )
Windows or Linux? Have you tried adding it to one of the sample apps included in the product? I believe the matrix sample is C, even though it is in the C++ subdirectory. :\