I've enabled openMP using the project settings, but when I do #include I get an error the file doesn't exist. I'm using Visual Studio stadnard edition, not Express... what else is missing? Every page I find simply says to turn it on in project settings and it will work.
A:
Did you add the directory containing the file omp.h
to the list of directory search paths? Go to "tools - options - projects and solutions - VC++ Directories", then "show directories for" "include files". Add the path in here.
1800 INFORMATION
2009-08-26 23:10:16
I've no idea where omp.h is... it's a standard header I thought so the standard include paths should cover it? Apparently not, the linker also complains it can't find VCOMP.lib
John
2009-08-26 23:12:26
Yes, I seem to have it in the standard include paths - better do a search of your machine to see where you have it, and if that path is included in the search paths.
1800 INFORMATION
2009-08-27 01:06:30