mmatyas / supermariowar

A fan-made multiplayer Super Mario Bros. style deathmatch game
http://smwstuff.net
426 stars 73 forks source link

CMAKE: Configuring incomplete, errors occurred! #302

Closed Aryangh1379 closed 3 months ago

Aryangh1379 commented 3 months ago

Hi, I get errors when compiling with cmake... help please. https://paste.rs/ztHOS.txt distro: arch i'm using this version: https://github.com/mmatyas/supermariowar/archive/refs/tags/2023w03.tar.gz simple cmake .. command also fails: https://paste.rs/plytd.txt thanks for your awsome work.

mmatyas commented 3 months ago

Hi! CMake tells the issue:

CMake Error at CMakeLists.txt:144 (message):
  It seems you've forgot to clone the dependencies; dependencies/enet is not
  a git repository.Please run `git submodule update --init` first.

The archives autogenerated by GitHub do not include all the files, but you can download the repository using any Git client. Also note that the tags don't have much significance here, so you might prefer to use the latest version.

Aryangh1379 commented 3 months ago

really appreciate your quick answer. I did that, the command returned no output meaning successfully ran. same error when making yet: https://paste.rs/M96Xe.txt anyways, I decided to use https://github.com/mmatyas/supermariowar/releases/tag/continuous and use the binaries. works fine also I packaged it for archlinux: https://aur.archlinux.org/packages/supermariowar-bin hoping people use it. great luck!

mmatyas commented 3 months ago

If your supermariowar-2023w03 (master) directory is the source tar.gz you linked earlier, then it has no Git repository information, and the Git tools will have no effect. Take a look at https://github.com/mmatyas/supermariowar?tab=readme-ov-file#get-the-code for cloning the Git repository; you should see no CMake dependency errors if you have all the source files ready.

Also good job packaging it for AUR!