<div dir="ltr"><div>I'm not sure this is the right place to post... If not, feel free to redirect me.</div><div><br></div><div>I am trying to build LLVM 11, including Clang and OpenMP, on a Windows machine with Visual Studio 2019 installed.</div><div><br></div><div>Clearly the openmp project is not adapted to a multiple configuration build system like Visual Studio. It assumes that library files are in a lib directory rather than in lib/Release, lib/Debug, etc. I have tried to build with LIBOMP_COPY_EXPORTS disabled, which helps, but I still get link errors.</div><div><br></div><div>So I have tried to build with nmake instead, which is a single configuration system like make. Strangely, this works for a release build, but not for a debug build. When I try to build in debug, I get error messages about unacceptable uses of std::atomic<unsigned int>.</div><div><br></div><div>Perhaps a solution would be to compile LLVM/Clang and OpenMP with Visual Studio but separately? Only I don't know how to do that...</div><div><br></div><div>Has anybody out there managed to solve this problem one way or another?</div><div><br></div><div>Geoff<br></div></div>