Page 1 of 1

[HELP] compiling ZDoom problems....

PostPosted: Mon Jul 21, 2003 4:23 pm
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?

PostPosted: Mon Jul 21, 2003 10:59 pm
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.

PostPosted: Mon Jul 21, 2003 11:23 pm
by Cyril Crublingson
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?

PostPosted: Mon Jul 21, 2003 11:32 pm
by Cyril Crublingson
Geez, I'm such an idiot - they're all in the same directory as the executables!

PostPosted: Tue Jul 22, 2003 12:24 am
by Cyril Crublingson
Now I'm having a problem. What do I need to use the .diff files to update the source?

PostPosted: Tue Jul 22, 2003 4:54 am
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:

PostPosted: Wed Jul 23, 2003 2:47 pm
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..

PostPosted: Wed Jul 23, 2003 3:31 pm
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.