News:

Come Chat with us live! Learn how HERE!

Main Menu

Weird compilation...

Started by Redman, July 21, 2009, 08:59:20 PM

Redman

I tried to compile latest Lakitu7's QVM (revision 178 I think 174) and...



I also tried compiling revision 150, but still same errors. I used Risujin's guide do set up my MinGW and MSys.
I'm using Windows XP 32-bit.

Thanks for reading.

P.S.

ALWAYS some weird error during compilation / bug in-game appears when I try to compile Lakitu7's QVM. One time, I "successfully" compiled code, but whole admin system was broken (only console was working, lol).

Archangel

looks like you're using mingw/msys. try reinstalling, the wrapper script to cc is messed up from the looks of it.

Redman

#2
Reinstalled both, still the same errors. Maybe I downloaded wrong version of MinGW/MSys/win32api? Files I used:

MinGW-5.1.4.exe (installed "Previous")
MSYS-1.0.11.exe
w32api-3.11.tar.gz edit: I put everything it contains into c:/msys/1.0/mingw/

Everything from sourceforge.

gimhael

Your makefile calls ./cc as c-compiler, but this is the creative commons license file. Probably you have "." first in your $PATH. Try "make CC=gcc" or make "CC=/full/path/to/cc".

Redman

#4
BIG thanks for helping, "make CC=gcc" is working. Compilation is errorless now, but, oh no, it's the same bug I had before! Whole admin system is broken, only console works. Calling any command returns "permission denied", even !help, but I have highest admin level. Also, there's a spam in console after running a map. It says there are lot of syntax errors in custom commands. Hey, I think it's admin.dat's fault that nothing works, I'll delete custom commands and run server again, hope it will help...

(edit) Still doesn't work... Does anyone have got an idea what's going on?

P.S. What for is gamex86.dll? I think in Quake 3 you can run DLL instead of QVM, but I'm not sure.

Archangel

it's because you're running the server inside of a client

Redman

Wtf? I'm running dedicated server (it appears on servers list) and then client. Lakitu7's QVM not compiled by me doesn't have broken admin system.

David

Try moving admin.dat and see if it works with a default one.
There are two different formats admin.dats can use, the broken QVM may be wanting it in a different format.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.