Jump to content

Nirnex

New member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Nirnex

  1. 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. 

  2. I'm having the same issue on a fully up to date Arch linux system. OpenGL is there and up to date along with graphics drivers. I believe that OpenGL was updated recently. I have other apps which use it and aren't having problems however. At the moment I'm a tad stuck as Cura 5 won't start at all and 4.13 hangs/dies when trying to load any plugin. for the moment I'm using a different slicer but my printer doesn't like the gcode it produces so really want to get Cura going again. 

×
×
  • Create New...