Compiling zdoom

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Necromage
Posts: 484
Joined: Thu Feb 10, 2005 3:13 pm
Location: NJ
Contact:

Compiling zdoom

Post by Necromage »

I am running win98 (its not my computer so its not going to change so don't tell me to get xp) and I have visual c++ 6. Thats all nice and well except that it can't compile zdoom and I can't run visual c++ 2005 on windows 98. I have nasm, fmod api and directx as specified on the wiki. Now, I know that gcc can compile zdoom, however, I have no clue how I would go about and do that so I am asking if anyone can tell me what I need to do?
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

As has been stated neumerous times, VC 6 will not compile ZDoom. It has a crap C++ compiler that doesn't understand the complicated stuff ZDoom does.

Use MinGW instead. There is a tutorial on the wiki. You pretty much unzip the source, cd into the directory and run "make".
User avatar
Necromage
Posts: 484
Joined: Thu Feb 10, 2005 3:13 pm
Location: NJ
Contact:

Post by Necromage »

I am well aware that VC 6 can't compile zdoom and I clearly said that above. I have looked at the wiki and the only help it can give for compiling on windows is to get VC 2005, which, I can't do as well. As above I asked if someone can help me out with gcc (witch, I guess that entails MinGW by default). The wiki does have linux instructions that do use gcc but I don't have linux and even if those instructions do work in windows I have no clue what they mean anyway, they just look like some cyrptic messages, much like how c++ used to look before I started to figure things out (and it still does to a certian degree but thats besides).
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Post by Siggi »

The wiki does lack instructions on how to compile ZDoom under Windows using MinGW.
Perhaps someone who's managed it should add it in.

For the moment I think a forum search would be the best thing to do. I'm sure someone has asked about compiling using MinGW before.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

Like I said:
  1. Install MinGW
  2. download the ZD source and unzip it into a folder
  3. open a command line and cd to that folder
  4. type "make" and press enter
  5. When it's done, type "zdoom" and press enter
User avatar
Kaiser
Posts: 180
Joined: Thu Jul 15, 2004 8:21 am
Contact:

Post by Kaiser »

Everyone fails at being helpful.

1. Install Visual C++ 2005 Express
2. Install Nasm then configure the executable paths in tools->options->directories in VC 2005
3. Install Fmod SDK (forgot which one, I think its 1.7 something) do the same for nasm except you point to the include/library directories
4. Open vcproj in Vc 2005
5. Compile the other stuff before zdoom
6. Compile zdoom
7. ???
8. Profit
Last edited by Kaiser on Thu Jul 20, 2006 1:45 pm, edited 1 time in total.
User avatar
Jim
Posts: 535
Joined: Mon Aug 11, 2003 10:56 am

Post by Jim »

You fail at being helpful. He said Visual C++ 2005 Express won't work because he's on Windows 98.
User avatar
Kaiser
Posts: 180
Joined: Thu Jul 15, 2004 8:21 am
Contact:

Post by Kaiser »

I fail at reading :(
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Post by Siggi »

Haha, this thread is getting funny. :P
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Cygwin.
User avatar
Jim
Posts: 535
Joined: Mon Aug 11, 2003 10:56 am

Post by Jim »

No, don't use Cygwin. It will produce an executable that requires a Cygwin environment with all of the required libs and other dependencies for Linux, including an X Server.

Use MinGW.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Jim wrote:No, don't use Cygwin. It will produce an executable that requires a Cygwin environment with all of the required libs and other dependencies for Linux, including an X Server.
And SDL, I know. In which case (if possible), you don't need the Windows SDK :-)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

And what you get is a piece of crap.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Building the Windows version of ZDoom with SDL is unsupported, because SDL isn't all that well-supported under Windows.
User avatar
Jim
Posts: 535
Joined: Mon Aug 11, 2003 10:56 am

Post by Jim »

Graf Zahl wrote:And what you get is a piece of crap.
Yes, in the sense of having an executable that requires a bunch of redundant Linux compatability layers bolted on top of Windows for no reason. However, using SDL across all platforms might not be such a bad idea when SDL 1.3 is released.
Post Reply

Return to “General”