Hello all,

I'm trying to compile a very simple c++ program using Fink's 
boost1.55-nopython-1.55.0-4, and it's quitting with the following error:

libc++abi.dylib: terminate called throwing an exception
Abort trap: 6

I'm compiling with: 
g++   -I/sw/opt/boost-1_55/include  -c -o test.o test.cpp
g++  -I/sw/opt/boost-1_55/include test.o -o test  -L/sw/opt/boost-1_55/lib

Any ideas what I'm doing wrong?

Thanks,
Sean

fink --version
Package manager version: 0.37.0
Distribution version: selfupdate-rsync Wed Jul 23 20:50:42 2014, 10.8, x86_64

g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix

Contents of test.cpp:

#include <iostream>
#include <boost/math/special_functions/beta.hpp>

int main() {
        double x = 0.5;
        double d_beta = 3.0;
        double d_alpha = -2.0;
        double y;
        std::cout << "Hello world!\n";
        y = boost::math::beta(d_beta + 1.0, d_alpha + 1.0, x);
        std::cout << y << '\n';
        return 0;
}
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to