Unable to compile seqwish
joyeuxnoel8 opened this issue · 3 comments
joyeuxnoel8 commented
Hi,
I'm trying to compile the most recent version 9bbfa70 using the suggested command cmake -H. -Bbuild && cmake --build build -- -j 3
but failed with the following message.
Preprocessed source stored into /tmp/ccPsX3pE.out file, please attach this to your bugreport.
gmake[2]: *** [CMakeFiles/seqwish.dir/src/transclosure.cpp.o] Error 1
Preprocessed source stored into /tmp/ccg93yri.out file, please attach this to your bugreport.
gmake[2]: *** [CMakeFiles/seqwish.dir/src/main.cpp.o] Error 1
Preprocessed source stored into /tmp/cc2T9qbM.out file, please attach this to your bugreport.
gmake[2]: *** [CMakeFiles/seqwish.dir/src/links.cpp.o] Error 1
Preprocessed source stored into /tmp/ccQ8n05M.out file, please attach this to your bugreport.
gmake[2]: *** [CMakeFiles/seqwish.dir/src/compact.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/seqwish.dir/all] Error 2
gmake: *** [all] Error 2
The complete output of cmake and preprocessed source under /tmp/ are also attached in log.tar.gz.
Let me know how I can fix this. Thanks!
-Tony
joyeuxnoel8 commented
Just to make it clear, I was trying to compile on CentOS Linux.
joyeuxnoel8 commented
It turns out my latest version of g++
is not under /usr/bin
. Setting the correct path for CC
and CXX
in ~/.bashrc
like this,
export CC=/usr/usc/gnu/gcc/8.2.0/bin/gcc
export CXX=/usr/usc/gnu/gcc/8.2.0/bin/g++
, resolves the problem. Sorry to bug you with this trivial question!
ekg commented
Nice catch. Thank you!
…On Sat, Oct 3, 2020, 02:12 Tsung-Yu Lu ***@***.***> wrote:
Closed #66 <#66>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#66 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDQEL7UWS5KRORDNS3DRDSIZUAVANCNFSM4SCBJNXA>
.