Skip to content

compilation error #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ProzacR opened this issue Jul 21, 2020 · 1 comment
Open

compilation error #8

ProzacR opened this issue Jul 21, 2020 · 1 comment

Comments

@ProzacR
Copy link

ProzacR commented Jul 21, 2020

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants