Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "mlpack/methods/range_search/range_search.hpp"
- int main(int argc, const char *argv[])
- {
- return 0;
- }
- iMac:build dongli$ 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.38) (based on LLVM 3.4svn)
- Target: x86_64-apple-darwin13.1.0
- Thread model: posix
- g++ -std=c++11 main.cpp -o main -lmlpack -I/usr/include/libxml2
- iMac:build dongli$ ./main
- Bus error: 10
- iMac:build dongli$ lldb ./main
- Current executable set to './main' (x86_64).
- (lldb) r
- Process 79449 launched: './main' (x86_64)
- Process 79449 stopped
- * thread #1: tid = 0xb4a75, 0x00000001000500eb libmlpack.1.0.dylib`long double boost::math::lanczos::lanczos17m64::lanczos_sum<long double>(long double const&) + 59, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x100001d80)
- frame #0: 0x00000001000500eb libmlpack.1.0.dylib`long double boost::math::lanczos::lanczos17m64::lanczos_sum<long double>(long double const&) + 59
- libmlpack.1.0.dylib`long double boost::math::lanczos::lanczos17m64::lanczos_sum<long double>(long double const&) + 59:
- -> 0x1000500eb: fstpt (%rax)
- 0x1000500ed: fldt 0x26c8d(%rip) ; .memset_pattern99 + 1296
- 0x1000500f3: fstpt 0x10(%rax)
- 0x1000500f6: fldt 0x26c94(%rip) ; .memset_pattern99 + 1312
- iMac:~ dongli$ ls /usr/local/Cellar/boost/
- 1.55.0
- brew install boost --c++11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement