farbrausch / fr_public

Farbrausch demo tools 2001-2011
3.37k stars 344 forks source link

Werkzzeug compile complains about missing "_config.inc" #10

Closed fdb closed 12 years ago

fdb commented 12 years ago

I'm trying to compile werkkzeug3 using VS 2010 on Windows XP.

werkkzeug3\data.asm refers to a "_config.inc" file, which I can't find in the code. Compiling werkzzeug3 gives the following error:

nasmw -f win32 -o "Debug\data.obj" "C:\Source\fr_public\werkkzeug3\data.asm"
The system cannot find the file specified.
C:\Source\fr_public\werkkzeug3\data.asm:8: fatal: unable to open include file `_config.inc'
nasmw -f bin -o "Debug\depack2.bin" "C:\Source\fr_public\werkkzeug3\depack2.asm"
nasmw -f bin -o "Debug\depacker.bin" "C:\Source\fr_public\werkkzeug3\depacker.asm"
nasmw -f win32 -o "Debug\incdata.obj" "C:\Source\fr_public\werkkzeug3\incdata.asm" -DDEPACKER=\"Debug\depacker.bin\" -DDEPACK2=\"Debug\depack2.bin\"
nasm: fatal: unable to open input file `C:\Source\fr_public\werkkzeug3\incdata.asm'
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.

Here are the steps I took:

  1. I couldn't find "nasmw.exe" anywhere, so I downloaded nasm.exe and renamed it to nasmw.exe.
  2. Download the latest NASM from nasm.us.
  3. Rename nasm.exe to nasmw.exe and place it in C:\Program Files\Microsoft Visual Studio 10.0\VC\bin
  4. Open the werkkzeug3.vcproj, convert it, then click "Start Debugging".

Am I missing something?

rygorous commented 12 years ago

Wait, that file is a relic from way back and not supposed to be referenced from anywhere anymore! :)

Did you open "werkkzeug3.vcproj" in the main werkkzeug3 directory by any chance? Because that one also seems to be dead. Just use "wz3projects.sln" which should work fine.

I'll make a pass to remove a bunch of "dead" files later.

rygorous commented 12 years ago

Offending/confusing project files should be removed now.

fdb commented 12 years ago

Thanks!