WolfireGames / overgrowth

Open Source codebase of the game Overgrowth by Wolfire Games LLC
Apache License 2.0
2.51k stars 260 forks source link

Problem with cmake #74

Closed GunpowderGuy closed 2 years ago

GunpowderGuy commented 2 years ago

When i follow the steps in compiling.rmd, i get the following error:

CMake Error at /home/username/Documents/overgrowth /Libraries/freetype-2.12.1/CMakeLists.txt:222 (message): In-source builds are not permitted! Make a separate folder for building, e.g.,

cmake -E make_directory build
cmake -E chdir build cmake ..

Before that, remove the files created by this failed run with

cmake -E remove CMakeCache.txt
cmake -E remove_directory CMakeFiles
GunpowderGuy commented 2 years ago

@Kroporo @feliwir Any idea?

shinymerlyn commented 2 years ago

This error message to me looks like you might not be following all the instructions here: https://github.com/WolfireGames/overgrowth/blob/main/COMPILING.md

Need to make a <git root>/build dir, cd into it, and run cmake ../Projects <other flags here>.

The error message makes me think cmake may have been invoked either from the git root, or the Projects folder?