Jump to content
Ultimaker Community of 3D Printing Experts

Trouble building Cura 5 on Arch Linux


Nirnex
 Share

Recommended Posts

Posted (edited) · Trouble building Cura 5 on Arch Linux

I am attempting to build Cura 5 on my Arch Linux PC in an attempt to get past the OpenGL issue I'm experiencing. I am using the cura-build-environment repo and have an error from cmake while building the engine. 

In file included from /home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp:12:
/home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/Listener.h:23:23: error: ‘Arcus::SocketState’ is not a type
23 |     void stateChanged(Arcus::SocketState) override;
|                       ^~~~~
/home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/Listener.h:23:10: error: ‘void cura::Listener::stateChanged(int)’ marked ‘override’, but does not override
23 |     void stateChanged(Arcus::SocketState) override;
|          ^~~~~~~~~~~~
/home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp: In member function ‘void cura::ArcusCommunication::connect(const std::string&, uint16_t)’:
/home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp:296:43: error: invalid new-expression of abstract class type ‘cura::Listener’
296 |     private_data->socket->addListener(new Listener);
|                                           ^~~~~~~~
/home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/Listener.h:17:7: note:   because the following virtual functions are pure within ‘cura::Listener’:
17 | class Listener : public Arcus::SocketListener
|       ^~~~~~~~
In file included from /home/pat/cura-build-environment/build/CuraEngine-prefix/src/CuraEngine/src/communication/Listener.h:8:
/usr/include/Arcus/SocketListener.h:60:22: note:     ‘virtual void Arcus::SocketListener::stateChanged(Arcus::SocketState::SocketState)’
60 |         virtual void stateChanged(SocketState::SocketState newState) = 0;
|                      ^~~~~~~~~~~~
make[5]: *** [CMakeFiles/_CuraEngine.dir/build.make:742: CMakeFiles/_CuraEngine.dir/src/communication/ArcusCommunication.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:85: CMakeFiles/_CuraEngine.dir/all] Error 2
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/CuraEngine.dir/build.make:89: CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:358: CMakeFiles/CuraEngine.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Anything that can help me get past this and to a successful build is very appreciated. 

Edited by Nirnex
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 12 replies
    ×
    ×
    • Create New...