Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

brent1a

macrumors member
Original poster
Jan 9, 2005
58
4
I'm attempting to compile and build an app that requires Boost. I've got Boost installed OK but after it verifies my Boost install I get this:

checking for boostlib >= 1.20.0... yes
checking whether the Boost::Regex library is available... yes
configure: error: Could not link against the Boost regex library !

I know I need to "link against the Boost regex library" and I've been trying all sorts of versions of "sudo ./configure --with-boost-libdir=/usr/local/lib/" but none of them are working.

Am I missing something?

thanks
-Brent
 
This looks eerily similar to the error I got when I tried to compile the povray 3.7 beta. I have deleted the source since then, but there was a configure flag "--with-booth-lib=" or similar, which I set to "boost_thread-mt". After that, ./configure and make finished fine; but I got a segfault as soon as the program was running.

Check your configure file if there is a similar option, maybe you have better luck.

Oh, and if you were trying to compile povray as well, I have an interesting link for you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.