Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #include "mlpack/methods/range_search/range_search.hpp"
  2.  
  3. int main(int argc, const char *argv[])
  4. {
  5. return 0;
  6. }
  7.  
  8. iMac:build dongli$ g++ --version
  9. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
  10. Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
  11. Target: x86_64-apple-darwin13.1.0
  12. Thread model: posix
  13.  
  14. g++ -std=c++11 main.cpp -o main -lmlpack -I/usr/include/libxml2
  15.  
  16. iMac:build dongli$ ./main
  17. Bus error: 10
  18.  
  19. iMac:build dongli$ lldb ./main
  20. Current executable set to './main' (x86_64).
  21. (lldb) r
  22. Process 79449 launched: './main' (x86_64)
  23. Process 79449 stopped
  24. * 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)
  25. frame #0: 0x00000001000500eb libmlpack.1.0.dylib`long double boost::math::lanczos::lanczos17m64::lanczos_sum<long double>(long double const&) + 59
  26. libmlpack.1.0.dylib`long double boost::math::lanczos::lanczos17m64::lanczos_sum<long double>(long double const&) + 59:
  27. -> 0x1000500eb: fstpt (%rax)
  28. 0x1000500ed: fldt 0x26c8d(%rip) ; .memset_pattern99 + 1296
  29. 0x1000500f3: fstpt 0x10(%rax)
  30. 0x1000500f6: fldt 0x26c94(%rip) ; .memset_pattern99 + 1312
  31.  
  32. iMac:~ dongli$ ls /usr/local/Cellar/boost/
  33. 1.55.0
  34.  
  35. brew install boost --c++11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement