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

Debian 12 build failed: please set STRATAGUS_INCLUDE_DIR and STRATAGUS #464

Open
egberts opened this issue Jun 1, 2024 · 1 comment
Open

Comments

@egberts
Copy link

egberts commented Jun 1, 2024

Describe the bug

During cmake, I get the following error:

Could not find stratagus, please set STRATAGUS_INCLUDE_DIR and STRATAGUS
-- Configuring incomplete, errors occurred!

To Reproduce
Steps to reproduce the behavior:

Using latest main branch of Wargus/wargus (7763ac2)

Cloned onto my Debian 12 (Bookworm), I get the following error:

$ git clone https://github.com/Wargus/wargus
$ cd wargus
$ mkdir build
$ cd build
$ cmake .. && make
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.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
CMake Error at cmake/modules/FindStratagus.cmake:24 (message):
  Could not find stratagus, please set STRATAGUS_INCLUDE_DIR and STRATAGUS
Call Stack (most recent call first):
  CMakeLists.txt:109 (find_package)

Expected behavior
I expect some kind of documentation to show how to tie this Stratagem into Wargus. Maybe something like a more expansive environment variable definition as to what the following should point to:

  • STRATAGUS - points to the binary file, the root directory of stratagus local repo, build area of stratagus?
  • STRATAGUS_INCLUDE_DIR - points to the /usr/include/stratagus (after installing stratagus), points somewherer inside the local stratagus repo

Desktop (please complete the following information):

  • OS: Debian 12, no patches
@julesm007
Copy link

I get the same thing, freshly cloned. I tried setting env variables mentioned in the error but it seemed to ignore them.

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

2 participants