Closed wolverine12138 closed 2 years ago
Any chance to know which of the 91 commits merged in the linked pull request solves this issue? Because of this issue at this point there is no package in the AUR capable of successfully building Arcus, which makes Cura unusable (without significant effort) on Arch.
Ultimaker Cura only supports the AppImage officially, it wouldn't be realistic to maintain multiple packages in different Linux Repositories.
That being said those changes you're referring to should now enable you to set-up a development flow within minutes (instead of hours/days - no exaggeration ) or build the AppImage locally.
Please follow the instruction in the README of this site to build only Arcus, but if you want to get Cura as a whole check out the Wiki in the Cura repository: https://github.com/Ultimaker/Cura/wiki/Running-Cura-from-Source
$ mkdir build $ cd build/ $ cmake .. -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- 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 -- Setting BUILD_SHARED_LIBS to ON -- Setting build type to 'Release' as none was specified. -- Generating compile commands to /home/yjm/Downloads/libArcus-main/build/compile_commands.json -- Setting POSITION_INDEPENDENT_CODE: ON -- Found Protobuf: /usr/local/lib/libprotobuf.so (found suitable version "3.20.1", minimum required is "3.17.1") -- Enabling threading support for Arcus -- Found Threads: TRUE
-- Setting Python version to 3.10. Set PythonVERSION if you want to compile against an other version. -- Found Python: /usr/bin/python3.10 (found suitable exact version "3.10.4") found components: Interpreter Development Development.Module Development.Embed -- Linking and building against Python 3.10.4 -- Found SIP version: 6.6.1 -- Enabling threading support for pyArcus -- SIP: Generating pyproject.toml -- SIP: Generating source files '/usr/bin/cmake' '-E' 'env' 'PYTHONPATH=::/home/yjm/Downloads/libArcus-main/build' '/Scripts/sip-build' '--pep484-pyi' '--no-protected-is-public' No such file or directory_ -- SIP: Touching the source files -- SIP: Collecting the generated source files -- SIP: Collecting the user specified source files -- SIP: Linking the interface target against the library -- SIP: Installing Python module and PEP 484 file in /usr/lib/python3/dist-packages -- Configuring done -- Generating done -- Build files have been written to: /home/yjm/Downloads/libArcus-main/build
What I bolded and italicized shows the problem I am having with cmake. I think this also caused my later steps to fail.
yjm@yjm-ubuntu:~/Downloads/libArcus-main/build$ make [ 12%] Building CXX object CMakeFiles/Arcus.dir/src/Socket.cpp.o [ 25%] Building CXX object CMakeFiles/Arcus.dir/src/SocketListener.cpp.o [ 37%] Building CXX object CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o [ 50%] Building CXX object CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o [ 62%] Building CXX object CMakeFiles/Arcus.dir/src/Error.cpp.o [ 75%] Linking CXX shared library libArcus.so [ 75%] Built target Arcus [ 75%] Built target pyArcus [ 87%] Building CXX object CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o [100%] Linking CXX shared library pyArcus.so No such file or directory make[2]: [CMakeFiles/sip_pyArcus.dir/build.make:101: pyArcus.so] Error 1 make[2]: Deleting file 'pyArcus.so' make[1]: [CMakeFiles/Makefile2:140: CMakeFiles/sip_pyArcus.dir/all] Error 2 make: [Makefile:136: all] Error 2 yjm@yjm-ubuntu:~/Downloads/libArcus-main/build$ su root Password: root@yjm-ubuntu:/home/yjm/Downloads/libArcus-main/build# make install Consolidate compiler generated dependencies of target Arcus [ 75%] Built target Arcus [ 75%] Built target pyArcus Consolidate compiler generated dependencies of target sip_pyArcus [ 87%] Linking CXX shared library pyArcus.so No such file or directory make[2]: [CMakeFiles/sip_pyArcus.dir/build.make:101: pyArcus.so] Error 1 make[2]: Deleting file 'pyArcus.so' make[1]: [CMakeFiles/Makefile2:140: CMakeFiles/sip_pyArcus.dir/all] Error 2 make: [Makefile:136: all] Error 2 root@yjm-ubuntu:/home/yjm/Downloads/libArcus-main/build#
Hope to get your anwser. : )