Skip to content
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

how to solve this Compiling error ? #2

Open
joanetLiew opened this issue Oct 16, 2024 · 0 comments
Open

how to solve this Compiling error ? #2

joanetLiew opened this issue Oct 16, 2024 · 0 comments

Comments

@joanetLiew
Copy link

Hi @GhJowkar ,
Thanks a lot for developing this valuable tool.
I would love to try it out but i encountered the error below when compiling static linking.

cmake --target ARPIP -- -DCMAKE_BUILD_TYPE=Release-static CMakeLists.txt

-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compilation will be performed under Linux OS
-- The C compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Compilation will be performed with the following release of the software:
branch refs/heads/master
ref ee32c10
time 16 Oct 2024 11:18:55
current (latest version)
-- Loading libraries & includes:
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /home/huanle/miniconda3/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: system filesystem
-- Library bpp-core found here:
/home/huanle/miniconda3/include/
/home/huanle/miniconda3/lib/libbpp-core.so
-- Library bpp-seq found here:
/home/huanle/miniconda3/include/
/home/huanle/miniconda3/lib/libbpp-seq.so
-- Library bpp-phyl found here:
/home/huanle/miniconda3/include/
/home/huanle/miniconda3/lib/libbpp-phyl.so
-- Library glog found here:
/home/huanle/miniconda3/include/
/home/huanle/miniconda3/lib/libglog.so
-- Library gtest found here:
/home/huanle/miniconda3/include/
/home/huanle/miniconda3/lib/libgtest.so
-- Linking OK
-- Targets OK
-- SRC Targets OK
-- Test OK
-- Configuring done
-- Generating done
-- Build files have been written to: /home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip

make

make[1]: Entering directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
make[2]: Entering directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
Scanning dependencies of target ARPIP
make[2]: Leaving directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
make[2]: Entering directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
[ 4%] Building CXX object CMakeFiles/ARPIP.dir/src/PIP/AncestralStateReconstruction/PIPAncestralStateReconstruction.cpp.o
In file included from /home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip/src/PIP/AncestralStateReconstruction/PIPAncestralStateReconstruction.cpp:56:
/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip/src/PIP/AncestralStateReconstruction/PIPAncestralStateReconstruction.h:59:10: fatal error: Bpp/Phyl/AncestralStateReconstruction.h: No such file or directory
59 | #include <Bpp/Phyl/AncestralStateReconstruction.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ARPIP.dir/build.make:80: CMakeFiles/ARPIP.dir/src/PIP/AncestralStateReconstruction/PIPAncestralStateReconstruction.cpp.o] Error 1
make[2]: Leaving directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
make[1]: *** [CMakeFiles/Makefile2:702: CMakeFiles/ARPIP.dir/all] Error 2
make[1]: Leaving directory '/home/huanle/sw/toolkits/ASR/ARPIP/bpp-arpip'
make: *** [Makefile:112: all] Error 2

Can you please help me figured out what's going wrong behind all these errors?
Thanks a lot and I look forward to your assistance.

Best Regards,
Huanle

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

1 participant