2014-05-20 11:50 GMT-06:00 Jan Michael Carrillo <[email protected]>: > Thanks for the speedy reply. > > My OS is OS X 10.8.5 > I got boost from Mac homebrew and its version is 1.52.0 > I looked at the lib directory where boost was installed and it has both > .dylib and .a Ok, can you do $grep -i ^Boost tools/CMakeCache.txt
I just want to know if cmake uses .dylib or .a Christoph > > Jan-Michael > > > On Tuesday, May 20, 2014 12:58:06 PM UTC-4, Christoph Junghans wrote: >> >> Hi and welcome, >> >> 2014-05-20 10:40 GMT-06:00 Jan Michael Carrillo <[email protected]>: >> > Hi, >> > >> > I can easily install votca using this script: >> > >> > prefix=/Users/mydir/Installers/VOTCA >> > mkdir -p ${prefix}/src >> > cd ${prefix}/src >> > wget http://votca.googlecode.com/hg/build.sh >> > chmod +x build.sh >> > ./build.sh --prefix ${prefix} --minimal -DWITH_FFTW=ON -DWITH_GSL=ON >> > tools >> > csg >> > >> > However, If I add the --dev option such that >> > ./build.sh --prefix ${prefix} --dev --minimal -DWITH_FFTW=ON >> > -DWITH_GSL=ON >> > tools csg >> > I get the error: >> > >> > Linking CXX shared library libvotca_tools.dylib >> > Undefined symbols for architecture x86_64: >> > "boost::system::system_category()", referenced from: >> > __GLOBAL__I_a in application.cc.o >> > "boost::system::generic_category()", referenced from: >> > __GLOBAL__I_a in application.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]: *** [src/libtools/libvotca_tools.3.dylib] Error 1 >> > make[1]: *** [src/libtools/CMakeFiles/votca_tools.dir/all] Error 2 >> > make: *** [all] Error 2 >> Can you give us a bit more information? >> >> What version of boost is that? Is it static or shared (.a or .dylib >> files)? >> What operating system is that? >> >> VOTCA isn't using libboost_system, but I have the suspicion that it >> gets pulled in by libboost_filesystem. >> >> Christoph >> > >> > My goal is to use votca with LAMMPS. >> > >> > Thanks, >> > >> > Jan-Michael >> > >> > >> > -- >> > 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 http://groups.google.com/group/votca. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Christoph Junghans >> Web: 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]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/votca. > For more options, visit https://groups.google.com/d/optout. -- Christoph Junghans Web: 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]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/votca. For more options, visit https://groups.google.com/d/optout.
