doom icon indicating copy to clipboard operation
doom copied to clipboard

Multiple errors: -lib and no IWAD

Open alexpanter opened this issue 2 years ago • 1 comments

Hi,

I tried running the commands to build and run from the README. However, I failed at v -lib translated p_enemy.v:

Unknown argument `-lib`

And if I just skip that step and try to run with ``src/chocolate-doom -width 640:

                         Chocolate Doom 3.0.0
Z_Init: Init zone memory allocation daemon. 
zone memory: 0x7fd8daf4d010, 1000000 allocated for zone
Using /home/aikido/.local/share/chocolate-doom/ for configuration and saves
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
saving config in /home/aikido/.local/share/chocolate-doom/default.cfg
Game mode indeterminate.  No IWAD file was found.  Try
specifying one with the '-iwad' command line parameter.

I just installed the compiler from https://vlang.io/ today, so I probably have the latest. I'm using Ubuntu 21.10.

Any ideas?

alexpanter avatar Jun 02 '22 11:06 alexpanter

The README was last updated about three years ago and since then V got a lot more different features and many changes have been made.

However, if you want to build doom from this repo, you can basically follow the same as the README says, and break when after doing make chocolate-doom. Like this

git clone https://github.com/chocolate-doom/chocolate-doom && cd chocolate-doom
cmake .
make chocolate-doom

If the dependencies are installed, you should now have a binary file called chocolate-doom in the src directory. Now create a different directory and move that chocolate-doom to that directory.

And the last error, it actually tells that chocolate-doom can't able to find the game file (wad) file. You can download the wad file from archive.org, select the version you want, and extract that zip file in the same directory where you put chocolate-doom and run the game.

rilysh avatar Jan 14 '23 17:01 rilysh