Wargus / wargus

Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
GNU General Public License v2.0
360 stars 55 forks source link

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

Open egberts opened 4 months ago

egberts commented 4 months ago

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:

Desktop (please complete the following information):

julesm007 commented 2 months ago

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