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

Cannot compile #2

Open
jm62300 opened this issue Jun 22, 2021 · 2 comments
Open

Cannot compile #2

jm62300 opened this issue Jun 22, 2021 · 2 comments

Comments

@jm62300
Copy link

jm62300 commented Jun 22, 2021

Hi @cernoch @horenmar @mjerabek ,
I am trying to use your lib but I am not able to compile it.
I ran the following command line and that reports that:

$ cmake -H. -Bbuild
CMake Error at CMakeLists.txt:22 (add_subdirectory):
The source directory

/home/lagniez/Works/balls/3rdParty/pblib/cli/minisat

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/lagniez/Works/balls/3rdParty/pblib/build/CMakeFiles/CMakeOutput.log".

Can you help me?
Actually it looks like it is waiting for a CMakeLists.txt in the repository cli (normal because add_subdirectory(cli/minisat EXCLUDE_FROM_ALL)).

My cmake version is 3.18.4, and I use g++-10.

Best regards,
JM

@horenmar
Copy link
Contributor

git submodule update --init IIRC

@jm62300
Copy link
Author

jm62300 commented Jun 23, 2021

I tested your command line and that does not work, I still have the same issue.
Actually I tested:
$ git submodule update --init
$ cmake -H. -Bbuild
-- The CXX compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:22 (add_subdirectory):
The source directory

/home/lagniez/Works/balls/3rdParty/pblib/cli/minisat

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/lagniez/Works/balls/3rdParty/pblib/build/CMakeFiles/CMakeOutput.log".

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