MineCraft-One-Week-Challenge icon indicating copy to clipboard operation
MineCraft-One-Week-Challenge copied to clipboard

./bin/debug/mc-one-week: No such file or directory

Open olliy1or opened this issue 4 years ago • 1 comments
trafficstars

I'm a Linux user and wanted to try out this but running run.sh doesn't work

sh scripts/run.sh
\nRunning debug build.
Use argument "release" to run in release mode.
scripts/run.sh: line 10: ./bin/debug/mc-one-week: No such file or directory

i ran the build.sh before running that, and ran into an error

CMake Error at cmake_modules/FindSFML.cmake:358 (message):
  Could NOT find SFML (missing: SFML_AUDIO_LIBRARY SFML_NETWORK_LIBRARY
  SFML_GRAPHICS_LIBRARY SFML_WINDOW_LIBRARY SFML_SYSTEM_LIBRARY)
Call Stack (most recent call first):
  CMakeLists.txt:75 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/olliy/Desktop/MineCraft-One-Week-Challenge/bin/debug/CMakeFiles/CMakeOutput.log".
See also "/home/olliy/Desktop/MineCraft-One-Week-Challenge/bin/debug/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
\nBuilt target in bin/debug/
Use argument "release" to build in release mode.

olliy1or avatar May 21 '21 05:05 olliy1or

did you do sudo apt install libsfml-dev before building?

Hopson97 avatar May 21 '21 13:05 Hopson97