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

CMake Error - does not contain a CMakeLists.txt file. #33

Open
n3vr opened this issue Mar 16, 2023 · 1 comment
Open

CMake Error - does not contain a CMakeLists.txt file. #33

n3vr opened this issue Mar 16, 2023 · 1 comment

Comments

@n3vr
Copy link

n3vr commented Mar 16, 2023

i'm pretty brand new with linux, so when i try to build the game i got this error saying specific folders dont have a CMakeLists.txt file and i don't know what the solution to this is.

here is the full log from the terminal

`cmake -DCMAKE_BUILD_TYPE=Release .
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.13.0")
-- Found ZLIB: /usr/local/lib/libz.so (found version "1.2.13")
-- Found SDL2: /usr/local/include
-- Found PNG: /usr/local/lib/libpng.so (found version "1.6.39")
-- Found JPEG: /usr/local/lib/libjpeg.so (found version "90")
-- Found Vorbis: /usr/local/include
-- Found OGG: optimized;/usr/local/lib/libogg.so;debug;/usr/local/lib/libogg.so
-- Found LibArchive: /usr/local/lib/libarchive.so (found version "3.6.2")
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library
Enabling crash dumps
CMake Error at third_party/CMakeLists.txt:11 (add_subdirectory):
The source directory

/home/n3vr/unnamed-sdvx-clone/third_party/cpr

does not contain a CMakeLists.txt file.

CMake Error at third_party/CMakeLists.txt:12 (target_include_directories):
Cannot specify include directories for target "cpr" which is not built by
this project.

CMake Error at third_party/CMakeLists.txt:16 (add_subdirectory):
The source directory

/home/n3vr/unnamed-sdvx-clone/third_party/discord-rpc

does not contain a CMakeLists.txt file.

CMake Error at third_party/CMakeLists.txt:17 (target_include_directories):
Cannot specify include directories for target "discord-rpc" which is not
built by this project.

-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Configuring incomplete, errors occurred!
See also "/home/n3vr/unnamed-sdvx-clone/CMakeFiles/CMakeOutput.log".`

@dsonck92
Copy link

You really want to look at https://github.com/Drewol/unnamed-sdvx-clone (as was mentioned in the README.md)

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