Compiling zdoom

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Did you add c:\mingw\bin to your path? If not, you also need to type this before making:

Code: Select all

set PATH=c:\mingw\bin;%PATH%
User avatar
Necromage
Posts: 484
Joined: Thu Feb 10, 2005 3:13 pm
Location: NJ
Contact:

Post by Necromage »

I haven't been working with this for a while but here is the problem I get now. I set the os to windows_nt and then i set the path to what randy posted above and then i typed mingew32-make and here is what i got:

Code: Select all

MINGW3~6.EXE[1]: Entering directory 'C:/Doom/zdoom source/zdoom/trunk/tools/lemon'
Linking lemon.exe...ccdv: CreateThread: The parameter is incorrect.

gcc -s -o lemon.exe lemon.o
And then it seems to just hang on the next line.
User avatar
adx
Posts: 390
Joined: Fri Aug 01, 2003 9:14 pm

Post by adx »

I also tried compiling zdoom but it fails, I think randy forgot to include a nasm compiler here.
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

User avatar
adx
Posts: 390
Joined: Fri Aug 01, 2003 9:14 pm

Post by adx »

Hmm.... Strange, I got 2.50mb, not sure why I got a bigger file size, probably because I use nasm by djgpp.
User avatar
adx
Posts: 390
Joined: Fri Aug 01, 2003 9:14 pm

Post by adx »

Just curious, what IDE are you using in this randy?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

The GCC-compiled version being larger than the Visual C++ version is normal. My zdoomgcc.exe is 2,708,480 bytes large.

I use Visual Studio as my IDE. To compile with GCC, I just use a regular command line.

I should investigate compiling under Windows 95 myself. Visual C++ 2002/2003/2005 only work with Windows 2000+, and the GCC linker command line is too long for command.com to handle on 95/98/ME. MSYS might work.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

I added instructions for building with MinGW to the Compile ZDoom on Windows page of the wiki. (Should this be split into two pages? I'll let someone else decide.)
Post Reply

Return to “General”