Ultimaker / libArcus

Communication library between internal components for Ultimaker software
GNU Lesser General Public License v3.0
75 stars 81 forks source link

Issues with installing- could not find SIP despite being installed #73

Open cst0 opened 6 years ago

cst0 commented 6 years ago

When attempting to run cmake on libArcus, cmake exits with the error "Could not find SIP". However, SIP is on my system and I have tried several methods of installing and checking. Here's what I've done so far (for reference, I'm running Debian Stretch):

I know sip is installed because I can run an import sip from the python3 console, so I'm not sure why libarcus still won't find and use it. Any help here would be much appreciated!

cst0 commented 6 years ago

Hey @awhiemstra or @Ghostkeeper - would either of you happen to have any insights as to what I might be able to do here?

Ghostkeeper commented 6 years ago

The Python SIP package is not enough. SIP also has a library and headers that you will need. Most notably, libArcus is looking for a CMake file that indicates where those headers and libraries are.

The only way I've ever really gotten it to work is to compile SIP from source. That is, to get SIP from here: https://www.riverbankcomputing.com/software/sip/download

After building it and installing it, there should be a .cmake file in your install directory (I believe it's under ./share).