mkeeter / antimony

CAD from a parallel universe
2.09k stars 159 forks source link

Build failure with Cmake 3.16 #211

Closed rnhmjoj closed 4 years ago

rnhmjoj commented 4 years ago

I maintain the nixpkgs package for antimony, which broke recently. After bisecting it appears the problem has been introduced with the upgrade to cmake 3.16.2. The build log pretty much says cmake found python but the compiler still can't find Python.h.

ghost commented 4 years ago

Encountered a similar problem that I could not find Python.h when I typed ninja to build the program on Ubuntu

TheBeachLab commented 4 years ago

Same in arch linux

mkeeter commented 4 years ago

Do folks want to see if this is fixed by PR #212 ?

rnhmjoj commented 4 years ago

@mkeeter Thank you, I'll be sure to check it as soon as I have some spare time.

TheBeachLab commented 4 years ago

In arch #212 fixed it, thx @havardAasen

I also had to create this empty folder: /include otherwise it complains. But could be just my system

CMake Error in lib/fab/CMakeLists.txt:
  Imported target "Boost::python" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.
rnhmjoj commented 4 years ago

I also confirm that was it. I didn't have to make a include folder, though. Maybe it's being created Nix.