It appears libboost-all-dev
doesn't include headers for some reason. Once I compiled and installed boost from source my tool worked.
boost/geometry.hpp: No such file or directory
-
13-10-2022 - |
Domanda
I am trying to compile a c-extension for ruby. It requires the boost libraries.
I ran sudo apt-get install libboost-all-dev
(which supposedly installs the boost libraries), but when I try to run make
on the extension library I get boost/geometry.hpp: No such file or directory
. On my MacBook pro I was able to get everything working with homebrew and brew install boost
.
I am running Ubuntu 12.04.
Is there some other configuration I need to expose the headers to my c-extension?
Soluzione 2
Altri suggerimenti
You probably need to re-configure after the installation of boost, to have the right includes in make. Try:
$ ./configure
$ make
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow