SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Could not build the newest version on MacOS for s (by wenya)
Hello sir,

I follow the building instructions of Readme.md. But it does not works.
The version of MacOS is Ventura 13.0.1
The version of Git is stable 2.38.1
The version of Cmake is stable 3.25.0
The version of libomp is stable 15.0.5
The version of xcode is 14.1

The error is as follows:
CMake Error at /usr/local/Cellar/cmake/3.25.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.25.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.25.0/share/cmake/Modules/FindOpenMP.cmake:580 (find_package_handle_standard_args)
CMakeLists.txt:121 (find_package)

looking forwards for you responds.
Thank you
Thu Nov 24 2022, 03:32:14
(no subject) (by ruevs)
I have no macOS 13 but here is something that sounds related:
https://stackoverflow.com/ques...nmp-c-flags-openmp-c-lib-names

Alternatively try compiling without OpenMP
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=OFF
Thu Nov 24 2022, 07:17:34
(no subject) (by ruevs)
Thu Nov 24 2022, 07:21:09
(no subject) (by ruevs)
Alternatively, generate an XCode project, open it, and build the "Release" scheme:

mkdir build
cd build
cmake .. -G Xcode
Thu Nov 24 2022, 07:23:02
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.