Hi!
I try to install ifcopenshell from AUR but at compiling I get the following error:
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:28 (cmake_policy):
The OLD behavior for policy CMP0078 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- BINDIR: bin
-- INCLUDEDIR: include
-- LIBDIR: lib
CMake Error at CMakeLists.txt:167 (MESSAGE):
Unable to find JSON for Modern C++ header file, aborting
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
I’m a CAD guy not a programmer so I can’t really understand what this means.
Can someone help me get it to install. Thanks in advance.
Cheers, Steve
Thank you, that solved the first problem.
The compiling process is super slow (I set pamac up to use all of the cores) and at 3% it breaks down again with not very informative error:
[ 3%] Building CXX object CMakeFiles/IfcParse.dir/var/tmp/pamac-build-steve/ifcopenshell/src/IfcOpenShell-0.7.0a9/src/ifcparse/Ifc4x3_add1-schema.cpp.o
[ 3%] Linking CXX static library libIfcParse.a
[ 3%] Built target IfcParse
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I think I will give up on trying to compile this and look for some other solutions to convert my icf files.
I love Manjaro but unfortunately some specialized software can only be found in AUR or compiled by the original source which is for me even more impossible than trying AUR.
Anyway, thanks again for your help!
I’m testing the git version. Still super slow to compile but at least it went over 4%.
I try to avoid docker as it starts a lot of processes which are running even if I don’t use any of the software in the docker most of the time.
Lets see how far I come with the git. Thanks again!
EDIT: after about two hours, it finished successfully.