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

target_compile_features no known features for CXX compiler #126

Closed
AquifersBSIM opened this issue Apr 25, 2024 · 6 comments
Closed

target_compile_features no known features for CXX compiler #126

AquifersBSIM opened this issue Apr 25, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@AquifersBSIM
Copy link

Describe the bug

Hi, I tried to install unidock and currently I am stuck at:

cmake -B build

after, inputting the command above, the following errors keep appearing. Can anybody help me with this?
CMake Error at build/_deps/boost-src/libs/atomic/CMakeLists.txt:89 (target_compile_features):
target_compile_features no known features for CXX compiler

"GNU"

version 12.2.0.

CMake Error at build/_deps/boost-src/libs/chrono/CMakeLists.txt:39 (target_compile_features):
target_compile_features no known features for CXX compiler

"GNU"

version 12.2.0.

CMake Error at build/_deps/boost-src/libs/program_options/CMakeLists.txt:46 (target_compile_features):
target_compile_features no known features for CXX compiler

"GNU"

version 12.2.0.

CMake Error at build/_deps/boost-src/libs/thread/CMakeLists.txt:83 (target_compile_features):
target_compile_features no known features for CXX compiler

"GNU"

version 12.2.0.

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

@AquifersBSIM AquifersBSIM added the bug Something isn't working label Apr 25, 2024
@caic99
Copy link
Member

caic99 commented Apr 25, 2024

Hi @AquifersBSIM ,
Please remove ./build and try again. What's your CMake version?

@AquifersBSIM
Copy link
Author

AquifersBSIM commented Apr 25, 2024

hi @caic99,
thank you for your reply :D. do i just "rm build"? My CMake version is "cmake version 3.24.3"
for your reference, here are my modules

ml gcc/12.2.0
ml cuda/11.7.0
ml boost/1.81.0
ml cmake/3.24.3

@caic99
Copy link
Member

caic99 commented Apr 26, 2024

hi @caic99, thank you for your reply :D. do i just "rm build"?

@AquifersBSIM Yes

ml gcc/12.2.0 ml cuda/11.7.0 ml boost/1.81.0 ml cmake/3.24.3

That looks fine... If there are still problems, would you attach CMakeError.log (plz see the message after configuring fails).

@AquifersBSIM
Copy link
Author

AquifersBSIM commented Apr 26, 2024

hi @caic99, thank you for your reply :D. do i just "rm build"?

@AquifersBSIM Yes

ml gcc/12.2.0 ml cuda/11.7.0 ml boost/1.81.0 ml cmake/3.24.3

That looks fine... If there are still problems, would you attach CMakeError.log (plz see the message after configuring fails).

Hi @caic99, so far there is not much problem for now :D. Thank you so much for your replies. Can I ask, do I have to run the following command:

cmake --install build

because i ran into a error where it says:

"/usr/local/bin/unidock": Read-only file system.

@caic99
Copy link
Member

caic99 commented Apr 26, 2024

Hi @caic99, so far there is not much problem for now :D. Thank you so much for your replies.

No problem, and thank you for trying out Uni-Dock.

cmake --install build

It is optional. You'll either indicate the path to executable e.g. ./build/unidock, or add the directory to $PATH.

@AquifersBSIM
Copy link
Author

Hi @caic99, so far there is not much problem for now :D. Thank you so much for your replies.

No problem, and thank you for trying out Uni-Dock.

cmake --install build

It is optional. You'll either indicate the path to executable e.g. ./build/unidock, or add the directory to $PATH.

I see @caic99 , thank you so much again for replying and helping.

@caic99 caic99 closed this as completed Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants