Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.08k stars 2.06k forks source link

Conan fails to install one of the packages #19372

Closed pskowronskiTDx closed 2 months ago

pskowronskiTDx commented 2 months ago

I am unable to build Cura following official instructions. I decided to create a separate issue to keep the problem visible.

Here is my current configuration.

Conan installation fails as follows (I keep Cura main branch up to date): obraz_2024-07-10_100411938

Full conan install log: conan_log.txt

Originally posted by @pskowronskiTDx in https://github.com/Ultimaker/Cura/issues/19295#issuecomment-2219828235

wawanbreton commented 2 months ago

I see two suggestions in the conan error message, the first one is not easy to setup, but did you try to set CONAN_DISABLE_STRICT_MODE=1 before building ?

pskowronskiTDx commented 2 months ago

Ok, thank you, I must have missed that. Setting mentioned variable did the job. Nevertheless, having the installation completed I keep running into pyArcus issue when trying to launch Cura.

wawanbreton commented 2 months ago

pyArcus is for the communication between the Python front-end and the slicing engine. If you do you intend to work on the engine, you can probably get a working setup. Is it blocking to start the front-end ?

pskowronskiTDx commented 2 months ago

The application cannot launch at all (I am still referring to #19299). I am not going to work on the engine so it would be nice if there is a way to work around pyArcus.

wawanbreton commented 2 months ago

Well you could remove the calls to pyArcus, they are located in two files and there are not hundreds of them, most being only for typing.

pskowronskiTDx commented 2 months ago

Ok, I have managed to remove references to the modules which are using pyArcus without crashing the application. I hope you will find a way to resolve this DLL issue in the future.

wawanbreton commented 2 months ago

I'm glad to know that you can finally start Cura ! The DLL issue comes from some incompatibility between binaries produced with different versions of the MS compiler. Not sure there is something we can do :grimacing: we may at some point get rid or arcus though. I was also thinking that maybe there is a way to force Conan to rebuild all the binaries, that may help.