yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
707 stars 92 forks source link

Need help with cmake errors #195

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have never used cmake before so I'm not sure how to fix these errors. I use Linux Distro Parrot OS v4.10. If you need to see the log file just tell me. I appropriate any help!

/home/liofires/Downloads/clion-2020.3/bin/cmake/linux/bin/cmake` -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/liofires/Desktop/Bot
-- Downloading/updating cpr
CMake Error at /home/liofires/Downloads/clion-2020.3/bin/cmake/linux/share/cmake-3.17/Modules/ExternalProject.cmake:1711 (file):
  file problem creating directory:
  /home/liofires/Desktop/Bot/sleepy-discord/deps/cpr
Call Stack (most recent call first):
  /home/liofires/Downloads/clion-2020.3/bin/cmake/linux/share/cmake-3.17/Modules/ExternalProject.cmake:3223 (_ep_set_directories)
  CMakeLists.txt:9 (ExternalProject_Add)

CMake Error at /home/liofires/Downloads/clion-2020.3/bin/cmake/linux/share/cmake-3.17/Modules/ExternalProject.cmake:1713 (message):
  dir '/home/liofires/Desktop/Bot/sleepy-discord/deps/cpr' does not exist
  after file(MAKE_DIRECTORY)
Call Stack (most recent call first):
  /home/liofires/Downloads/clion-2020.3/bin/cmake/linux/share/cmake-3.17/Modules/ExternalProject.cmake:3223 (_ep_set_directories)
  CMakeLists.txt:9 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!
See also "/home/liofires/Desktop/Bot/cmake-build-debug/cpr-download/CMakeFiles/CMakeOutput.log".
CMake Error at sleepy-discord/buildtools/cmake/DownloadProject.cmake:171 (message):
  CMake step for cpr failed: 1
Call Stack (most recent call first):
  sleepy-discord/CMakeLists.txt:53 (download_project)

-- Configuring incomplete, errors occurred!
See also "/home/liofires/Desktop/Bot/cmake-build-debug/CMakeFiles/CMakeOutput.log".