$ make
-- Configuring done
-- Generating done
-- Build files have been written to: src/bpp/bpp-core
Scanning dependencies of target bppcore-shared
[ 0%] Building CXX object src/CMakeFiles/bppcore-shared.dir/Bpp/Exceptions.cpp.o
In file included from src/bpp/bpp-core/src/Bpp/Exceptions.cpp:42:
src/bpp/bpp-core/src/Bpp/Exceptions.h:60:17: error: implicit
instantiation of undefined template 'std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string message_;
^
--
You received this message because you are subscribed to the Google Groups "Bio++ Development Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biopp-devel-fo...@googlegroups.com.
To post to this group, send email to biopp-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/279e9825-0960-42e0-ac7b-d5d2be7393d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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
I begin by building bpp-core. I followed the procedure described in the "Development Version" section of http://biopp.univ-montp2.fr/wiki/index.php/Installation I used the following call to cmake (after setting up $bpp_dir)
cmake -DCMAKE_INSTALL_PREFIX=$bpp_dir -DCMAKE_LIBRARY_PATH=$bpp_dir/lib -DCMAKE_INCLUDE_PATH=$bpp_dir/include -DBUILD_TESTING=FALSE .
This runs OK, but when I run make I get the error given previously, so something is already going wrong.I was able to continue compiling and by including <string> in Exceptions.bpp. I'm not at all confident that this is the best fix, but it did get it to compile.
I then did a make install and moved on to bpp-seq. Same cmake invocation goes OK and finds the core files fine. When I run make the linker errors out with:
Linking CXX shared library libbpp-seq.dylib
Undefined symbols for architecture x86_64:
"bpp::LetterAlphabet::LETTER_UNDEF_VALUE", referenced from:
bpp::DefaultAlphabet::DefaultAlphabet() in DefaultAlphabet.cpp.o
bpp::CaseMaskedAlphabet::CaseMaskedAlphabet(bpp::LetterAlphabet const*) in CaseMaskedAlphabet.cpp.o
bpp::NucleicAlphabet::NucleicAlphabet() in DNA.cpp.o
bpp::ProteicAlphabet::ProteicAlphabet() in ProteicAlphabet.cpp.o
bpp::NucleicAlphabet::NucleicAlphabet() in RNA.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--
You received this message because you are subscribed to the Google Groups "Bio++ Development Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biopp-devel-fo...@googlegroups.com.
To post to this group, send email to biopp-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/09d44cd5-1b0f-4fac-a9da-0a3a5b7052ee%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/507a1155-255d-4907-b016-4f8a660b1220%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/92fa8f5d-5eb8-40fc-964a-7e9e65309f57%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/9ba242f8-c8fa-4570-bbe2-2990d8821185%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/9ba242f8-c8fa-4570-bbe2-2990d8821185%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biopp-devel-forum/9ba242f8-c8fa-4570-bbe2-2990d8821185%40googlegroups.com.