- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. :\
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