guusw / unnamed-sdvx-clone

A rhythm game written in C++
MIT License
68 stars 107 forks source link

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

Open n3vr opened 1 year ago

n3vr commented 1 year ago

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 commented 1 year ago

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