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

Readme file specifies wrong directory to run Sources/build-linux64.sh #74

Open
MartinHowe426 opened this issue Aug 25, 2020 · 0 comments

Comments

@MartinHowe426
Copy link

MartinHowe426 commented Aug 25, 2020

Issue: The script build-linux64.sh must actually be run from Sources, contrary to the readme file.

/home/martin/Games/Engines/SeriousEngine/Serious-Engine$ Sources/build-linux64.sh
Will build with 'make -j10' ... please edit this script if incorrect.
+ rm -rf cmake-build
+ mkdir cmake-build
+ cd cmake-build
+ cmake -DCMAKE_BUILD_TYPE=Debug ..
CMake Error: The source directory "/home/martin/Games/Engines/SeriousEngine/Serious-Engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

This is because the script assumes that is it being called with Source as CWD, but the readme says to call it from within Serious-Engine:

Sources/build-linux64.sh            # use build-linux32.sh for 32-bits

Changing CWD to Sources and calling build-linux64.sh from there makes cmake work correctly.

Also, looking at the scripts, they all appear to have the same issue.

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

1 participant