QVina / qvina

Accurately speed up AutoDock Vina
Apache License 2.0
128 stars 46 forks source link

compilation error #8

Open ProzacR opened 4 years ago

ProzacR commented 4 years ago

I get this:

g++ -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/local/include -std=c++0x -L/usr/local/lib -L. -o vina main.o visited.o cache.o coords.o current_weights.o everything.o grid.o szv_grid.o manifold.o model.o monte_carlo.o mutate.o my_pid.o naive_non_cache.o non_cache.o parallel_mc.o parse_pdbqt.o pdb.o quasi_newton.o quaternion.o random.o ssd.o terms.o weighted_terms.o -l boost_system -l boost_thread -l boost_serialization -l boost_filesystem -l boost_program_options
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: ./libstdc++.a(cow-stdexcept.o): in function `std::logic_error::logic_error(std::logic_error const&)':
/usr/src/debug/gcc-7.4.0-1/libstdc++-v3/src/c++11/cow-stdexcept.cc:59: multiple definition of `std::logic_error::logic_error(std::logic_error const&)'; main.o:main.cpp:(.text$_ZNSt11logic_errorC2ERKS_[_ZNSt11logic_errorC2ERKS_]+0x0): first defined here
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: ./libstdc++.a(cow-stdexcept.o): in function `std::runtime_error::runtime_error(std::runtime_error const&)':
/usr/src/debug/gcc-7.4.0-1/libstdc++-v3/src/c++11/cow-stdexcept.cc:65: multiple definition of `std::runtime_error::runtime_error(std::runtime_error const&)'; main.o:main.cpp:(.text$_ZNSt13runtime_errorC2ERKS_[_ZNSt13runtime_errorC2ERKS_]+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:47: vina] Error 1

while trying to compile qvina myself.

aalhossary commented 4 years ago

Are you sure you followed the steps written here? https://qvina.github.io/compilingQvina2.html