OMP Support in Qt CMake and gcc8.3.0 for Raspberry Pi Sysprogs forums › Forums › VisualGDB › OMP Support in Qt CMake and gcc8.3.0 for Raspberry Pi Tagged: OpenMP Qt CMake Raspberry-Pi This topic contains 1 reply, has 2 voices, and was last updated by support 5 months, 4 weeks ago. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 2, 2019 at 11:00 #26693 nahumbParticipant I’m trying to use OpenMP in a Qt CMake and gcc8.3.0 for Raspberry Pi based application. I did mange to do it for the previous version of supported Qt Qmake application building. The OpenMP code is part of a static library (.a) library build using MSBuild using toolchain 8.3.0 and using OMP_PLACES=cores; OMP_STACKSIZE=100000000 Preprocessor Macros. It is build with no errors. The new CMake Qt build generates errors such as “undefined reference to `omp_set_num_threads”, which may indicate no reference to the OMP library. What should be set up in project setup to enable the OpenMP support (like preprocessor macros or flags in previous QMake project setting: CXXFLAG -openmp LDLFLAGS -fopenmp)? Thank you, Nahum Budin. December 2, 2019 at 16:53 #26697 supportKeymaster Hi, Please try following this tutorial for diagnosing library-related problems. For CMake projects, you can find the library-related settings under VS project properties for specific targets (e.g. for your main executable). Author Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.