keeperrl icon indicating copy to clipboard operation
keeperrl copied to clipboard

Compiling error Theora

Open MustacheEnthusiast opened this issue 1 year ago • 1 comments

Hi I'm currently a student in the game dev industry and I noticed that we had the ability to attempt to compile the game, I decided to attempt this and follow along with the instructions while trying to understand what is going on but when I come to the final step it gets a fatal error about theoraplay.cpp:32:10 "no such file or directory 32 #include "theora/theradec.h" I don't know if this is something I can fix and haven't seen any issues about this online. I find it quite interesting to see how another game works behind the scenes to get inspiration to maybe create my own one day :D

MustacheEnthusiast avatar Oct 06 '23 12:10 MustacheEnthusiast

You need to know what you are doing to figure out how to build.

Last time I did this:

To compile on Windows following the Steam Deck changes released in Alpha 36, I did the following:

  1. https://keeperrl.com/compiling-keeperrl-on-windows/
  2. pacman -S mingw-w64-i686-libtheora
  3. pacman -S mingw-w64-i686-lld
  4. unzip steamworks_sdk_157.zip from https://partner.steamgames.com/doc/gettingstarted
  5. copy sdk folder in zip to keeperrl\extern and then rename sdk to steamworks
  6. build with this command: make -f Makefile-win -j4 DEBUG=true OPT=true RELEASE=true STEAMWORKS=true

I hope this will help anyone else who wants to compile the game.

https://github.com/miki151/keeperrl

SoftMonster avatar Oct 09 '23 01:10 SoftMonster