miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
890 stars 112 forks source link

Compiling error Theora #2038

Open MustacheEnthusiast opened 1 year ago

MustacheEnthusiast commented 1 year ago

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

SoftMonster commented 1 year ago

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