Help compiling test error....


(KAtMAi) #1

Error executing c:\windows\system32\cmd.exe.

qagame_mp_x86.dll - 1 error(s), 0 warning(s)
The following environment variables were not found
$(WOLFDIR)

whats this mean? and how do i fix it?


(KAtMAi) #2

i guess i should elaborate more this is the original code no modding done with visual c++ 6.0


(digibob) #3

That can be safely ignored.

However, if you set an environment variable up ( winkey + break -> advanced tab, on most win 9x+ versions of windows i think ), called WOLFDIR, with it’s value being that of the directory you have ET in, the project will copy the dlls across for you.

NOTE: If you change this whilst running visual studio, you must restart it.


(nUllSkillZ) #4

I had this error too.
The compilied/linked files are working.

That can be safely ignored.


(HairyPlums) #5

I haven’t compiled the source myself, but this is likely a post-build step. If you go to the Project Settings, you’ll likely see a command there along the lines of copy $(TARGET) $(WOLFDIR) - just change it to where you want your compiled executable to go e.g. copy $(TARGET) “C:\Program Files\Wolfenstein - Enemy territory Dev\etmain\et.exe”.

Or you could just delete the lie from the post-build steps & copy manually.