Hello,
I have a kernel that includes lots of other header files contained in the same directory as the kernel file. Now when I start the profiler it gives a catastrophic error saying it cannot open those include files. However my program runs just fine without the profiler. Is there a way to solve this problem?
Regards,
Sayantan
Solved! Go to Solution.
just to be sure try -I /absolute/path/to/include
do you use relative path in -I? most likely sprofiler change working directory.
In the cl build option i use "-I ./" as the include path.
Generally I set the PATH environment variable to the directory containing sprofile.
Alternatively I have also tried coping sprofile to the directory containing the kernels and the program but still couldn't get it running.
just to be sure try -I /absolute/path/to/include
If you want to keep your code the same, just pass "-w ." to sprofiler to set the current working directory, for some reason it doesn't default to '.', but to $HOME I think.