Snag in compiling/building an app

Discussion in 'Mac Programming' started by brent1a, Sep 8, 2008.

  1. macrumors member

    Joined:
    Jan 9, 2005
    #1
    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
     
  2. macrumors 6502

    Berlepsch

    Joined:
    Oct 22, 2007
    #2
    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.
     

Share This Page