omp.h file not found, and visual studio code can't found omp.h #5282
Replies: 3 comments 2 replies
-
What's the output of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Looks like {
"tasks": [
{
"args": [
"-L/usr/local/opt/libomp/lib",
"-I/usr/local/opt/libomp/include",
"-lomp"
]
}
]
} Note that in VSCode, the IntelliSense warnings are coming from a different set of commands that VSCode runs in the background (usually
|
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
hi, I installed llvm and libomp in my MacBook Pro 16 Late 2019, I have a problem with visual studio can't run and compile my code, and the terminal return this:
id: library 'omp' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I need help, I tried to chatgpt help but didn't get the solution he gave me. I tried to configure task.json but it didn't work.
If you land here, I would appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions