Closed grap3fruit closed 8 months ago
or.. is there any like.. 'how install CurnEngine on mac osX?'. i want to follow that step by step from the beginning
I don't know much about building CuraEngine, but I thought it was possible to build it without OpenMP.
If you can't get it to build without it, try installing it ;)
You can prevent usage of OpenMP by disabling the CMake variable ENABLE_OPENMP
.
We currently disable that for MacOS because the version of MacOS that we use for the official Cura builds isn't supported by OpenMP. I understood that for more modern versions of MacOS it is supported, but we use an old MacBook so that users with old Mac computers will be able to run Cura as well.
I think that pretty soon it's time to upgrade that MacBook to a slightly newer MacBook which does support OpenMP so that slicing will be much faster for MacOS users.
I have the same problem when building CuraEngine in macos,but when I use gcc/g++ as Compiler to build CuraEngine works well
Closing as the build method is really different now.
I want to run curaEngine on mac at vscode. i follow readme.. after install protobuf and libarcus, git clone, $ mkdir build && cd build. and then i command cmake .. -- Building with Arcus -- Compile with more optimization flags -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) -- Found OpenMP_CXX: -fopenmp -- Could NOT find OpenMP (missing: OpenMP_C_FOUND) -- Configuring done -- Generating done -- Build files have been written to: /CuraEngine/build
actually i search about that issue so adding below code to CMakeLists.txt
then.. get that results -- Building with Arcus -- Compile with more optimization flags -- Found OpenMP_C: -fopenmp=libomp -Wno-unused-command-line-argument -- Found OpenMP_C: -fopenmp=libomp -Wno-unused-command-line-argument -- Found OpenMP_CXX: -fopenmp -- Configuring done -- Generating done -- Build files have been written to: /Users/soonwon/soonwon/hci/CuraEngine/CuraEngine/build
i think i solve that issue so i try make command but
warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
are appeared. alsoerror: 'va_start' cannot be used in a captured statement
andwarning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
and so on..I search about this issue. but i cannot find a similar case. so please help me how could i run curaEngine on mac osX. thx :)