Thanks, It worked when I upgraded to VMD 1.9.4 LATEST ALPHA (2019-02-25),
Ramón González-Pérez > On Feb 26, 2019, at 20:59, Christoph Junghans <[email protected]> wrote: > > > > On Tue, Feb 26, 2019 at 19:57 <[email protected] > <mailto:[email protected]>> wrote: > Hello, > > I'm trying to install VOTCA on macOS Mojave 10.14.3 with GROMACS 2019.1 (also > tried 2016) using: > > cmake -DBUILD_CSGAPPS=ON -DCMAKE_INSTALL_PREFIX=${prefix} -DWITH_GMX=ON > -DGROMACS_INCLUDE_DIR=/usr/local/gromacs/include > -DGROMACS_LIBRARY=/usr/local/gromacs/lib/libgromacs_d.dylib .. > > > but I get this error: > > ... > [ 30%] Linking CXX shared library libvotca_tools.dylib > > ld: warning: ignoring file /Applications/VMD > 1.9.4.app/Contents/vmd/libsqlite3.dylib, file was built for i386 which is not > the architecture being linked (x86_64): /Applications/VMD > 1.9.4.app/Contents/vmd/libsqlite3.dylib > > > > This error says it all, the liqsqlite3 coming with vmd is 32-bit, but need a > 64-bit version! > > Christoph > Undefined symbols for architecture x86_64: > > "_sqlite3_bind_double", referenced from: > > void votca::tools::Statement::Bind<double>(int, double const&) in > statement.cc.o > > "_sqlite3_bind_int", referenced from: > > void votca::tools::Statement::Bind<int>(int, int const&) in > statement.cc.o > > "_sqlite3_bind_text", referenced from: > > void votca::tools::Statement::Bind<std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > >(int, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > const&) in statement.cc.o > > "_sqlite3_close", referenced from: > > votca::tools::Database::~Database() in database.cc.o > > votca::tools::Database::Close() in database.cc.o > > votca::tools::Database::~Database() in database.cc.o > > "_sqlite3_column_double", referenced from: > > double votca::tools::Statement::Column<double>(int) in statement.cc.o > > "_sqlite3_column_int", referenced from: > > int votca::tools::Statement::Column<int>(int) in statement.cc.o > > "_sqlite3_column_text", referenced from: > > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > > votca::tools::Statement::Column<std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > >(int) in > statement.cc.o > > "_sqlite3_exec", referenced from: > > votca::tools::Database::Exec(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_finalize", referenced from: > > votca::tools::Statement::~Statement() in statement.cc.o > > votca::tools::Statement::~Statement() in statement.cc.o > > "_sqlite3_last_insert_rowid", referenced from: > > votca::tools::Database::LastInsertRowId() in database.cc.o > > "_sqlite3_open_v2", referenced from: > > votca::tools::Database::Open(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >, int) in > database.cc.o > > votca::tools::Database::OpenHelper(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_prepare_v2", referenced from: > > votca::tools::Database::Prepare(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_reset", referenced from: > > votca::tools::Statement::Reset() in statement.cc.o > > "_sqlite3_step", referenced from: > > votca::tools::Statement::Step() in statement.cc.o > > ld: symbol(s) not found for architecture x86_64 > > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > make[2]: *** [tools/src/libtools/libvotca_tools.6.dylib] Error 1 > > make[1]: *** [tools/src/libtools/CMakeFiles/votca_tools.dir/all] Error 2 > > make: *** [all] Error 2 > > [ 0%] Built target votca_tools_manpages > > Current git revision is 7e20a28 > > [ 0%] Built target gitversion > > [ 1%] Linking CXX shared library libvotca_tools.dylib > > ld: warning: ignoring file /Applications/VMD > 1.9.4.app/Contents/vmd/libsqlite3.dylib, file was built for i386 which is not > the architecture being linked (x86_64): /Applications/VMD > 1.9.4.app/Contents/vmd/libsqlite3.dylib > > Undefined symbols for architecture x86_64: > > "_sqlite3_bind_double", referenced from: > > void votca::tools::Statement::Bind<double>(int, double const&) in > statement.cc.o > > "_sqlite3_bind_int", referenced from: > > void votca::tools::Statement::Bind<int>(int, int const&) in > statement.cc.o > > "_sqlite3_bind_text", referenced from: > > void votca::tools::Statement::Bind<std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > >(int, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > const&) in statement.cc.o > > "_sqlite3_close", referenced from: > > votca::tools::Database::~Database() in database.cc.o > > votca::tools::Database::Close() in database.cc.o > > votca::tools::Database::~Database() in database.cc.o > > "_sqlite3_column_double", referenced from: > > double votca::tools::Statement::Column<double>(int) in statement.cc.o > > "_sqlite3_column_int", referenced from: > > int votca::tools::Statement::Column<int>(int) in statement.cc.o > > "_sqlite3_column_text", referenced from: > > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char> > > votca::tools::Statement::Column<std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > >(int) in > statement.cc.o > > "_sqlite3_exec", referenced from: > > votca::tools::Database::Exec(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_finalize", referenced from: > > votca::tools::Statement::~Statement() in statement.cc.o > > votca::tools::Statement::~Statement() in statement.cc.o > > "_sqlite3_last_insert_rowid", referenced from: > > votca::tools::Database::LastInsertRowId() in database.cc.o > > "_sqlite3_open_v2", referenced from: > > votca::tools::Database::Open(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >, int) in > database.cc.o > > votca::tools::Database::OpenHelper(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_prepare_v2", referenced from: > > votca::tools::Database::Prepare(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >) in database.cc.o > > "_sqlite3_reset", referenced from: > > votca::tools::Statement::Reset() in statement.cc.o > > "_sqlite3_step", referenced from: > > votca::tools::Statement::Step() in statement.cc.o > > ld: symbol(s) not found for architecture x86_64 > > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > make[2]: *** [tools/src/libtools/libvotca_tools.6.dylib] Error 1 > > make[1]: *** [tools/src/libtools/CMakeFiles/votca_tools.dir/all] Error 2 > > make: *** [all] Error 2 > > > Thanks, > > Ramón González-Pérez > > -- > You received this message because you are subscribed to the Google Groups > "votca" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/votca > <https://groups.google.com/group/votca>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > -- > Christoph Junghans > Web: http://www.compphys.de <http://www.compphys.de/> > > -- > You received this message because you are subscribed to the Google Groups > "votca" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/votca > <https://groups.google.com/group/votca>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "votca" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/votca. For more options, visit https://groups.google.com/d/optout.
