[HELP] compiling ZDoom problems....

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
kevingpo

[HELP] compiling ZDoom problems....

Post by kevingpo »

I am trying to get ZDoom compiled under Dev-C++. I imported the MSVC++ project. Also I got myself the sound & openPTC source files.

I get lots of errors in the dehacked.cpp file. I get hundreds of invalid conversion and it points to the massive list of function pointers.

How can I get around this?

Has someone got ZDoom compiled under Dev-C++ before?
rpeter
Posts: 150
Joined: Mon Jul 21, 2003 10:52 pm

Post by rpeter »

Looks like you try to compile ZDoom v1.22 under gcc 3.2.x. You won't get around those function pointer errors. ZDoom v2 has it fixed and includes a DevC project file ready to use.
Guest

Post by Guest »

rpeter wrote:Looks like you try to compile ZDoom v1.22 under gcc 3.2.x. You won't get around those function pointer errors. ZDoom v2 has it fixed and includes a DevC project file ready to use.
Wait, I thought that the 1.22 is currently the latest available. Is the 2.0.xx source out?
Guest

Post by Guest »

Geez, I'm such an idiot - they're all in the same directory as the executables!
Guest

Post by Guest »

Now I'm having a problem. What do I need to use the .diff files to update the source?
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

Post by Hirogen2 »

Anonymous wrote:Now I'm having a problem. What do I need to use the .diff files to update the source?
"patch". Preinstalled under Linux; Windows version at gnuwin32.sf.net, Packages/Download, get diffutils,patch,libiconv,libintl. Already discussed in another thread :idea:
kevingpo

Post by kevingpo »

Sorry for being new. But what do we do with these 4 tools in windows? We can't find the other thread.

At least instructions for setup should be on the homepage..
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

Post by Hirogen2 »

[quote="kevingpo"]Sorry for being new. But what do we do with these 4 tools in windows? We can't find the other thread.
At least instructions for setup should be on the homepage..[/quote]

Right, when randy stores stuff on the Holy Online Drive (afaik he's still
on 56k *too*) and well. A .diff file is,as it says only the difference between
two files or directories.

/zdoom$ diff -Ndru 2.0.46 2.0.47 >46-to-47.diff

that's usually the way they get created. Now, suppose there is only 46.cab
and 46-to-47.diff, what you do is uncompress 46.cab so that you have the
2.0.46 directory and then call

/zdoom$ patch -p0 <46-to-47.diff

Will patch something (depends on what 's in 46-to-47.diff ;)
In our case it would transform the 2.0.46 directory in a 2.0.47 one.
Hope that helps.

EDIT: That makes two tools, "diff" (in package diffutils.zip) and "patch"
(in patch.zip). The other two are libraries and are required by patch/diff.

Return to “General”