Page 18 of 40

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 11:15
by Hamilton2007
Yes it is, but no such folder.

I did the search and my pc couldn't find a headers folder...

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 11:29
by Roujin
The folder is called "Include". It's being called "Headers folder" in the wiki because it has header files in it (*.h).

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 11:31
by Hamilton2007
Owwwwwwww, ok i did that.

where do i find the obj/win32/debug folder ?

In my SVN map is a obj/win32 folder but no debug in it.

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 11:53
by orcaz
stevenh wrote:orcaz, roll back bash to 3.1.6.. you can do this by running setup again and clicking "skip" until it says the version number.
I can't.
it only have 3.3.3.

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 11:56
by Thief^
Hamilton2007 wrote:where do i find the obj/win32/debug folder ?
In my SVN map is a obj/win32 folder but no debug in it.
It'll be created when you build the game, or you can create it yourself.
It's also worth noting that the "release" version will go in a "release" folder.

Personally I prefer copying the built .exe into a folder containing my openttd data folder and configs etc, instead of copying the data and configs into the compiler's output folder. But that might just be me.

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 12:36
by Hamilton2007
This is what i get when i run build solution, he's missing a file on the end:

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 13:57
by Hamilton2007
Now i'm tryin with the Mingw to compile, everything went ok untill i needed to compile the Zlib in order like mentione on the Wiki

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 14:02
by Rubidium
You failed at the precondition of properly installing wget, which caused a failure to compile and install zlib, which eventually failed you to be able to copy the installed file.

If you see errors, the FIRST error is the important one, not the last one.

And for MSVC you failed to either install the proper DirectX or you failed to select the correct path from where to include the DirectX library in MSVC.

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 14:11
by Hamilton2007
Pfff

(thinking about giving up on the patching) :?

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 14:35
by orcaz
yeah me too.

thinking about having someone who can compile to compile it for me. :(

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 14:38
by Gremnon
You know, I'm starting to wonder if I shouldn't just offer to compile patched builds for people... admittantly, only windows builds at the moment, since my linux system died earlier...
Which patch are you trying to apply orcaz?

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 14:45
by orcaz
I want to compile several patches.

Code: Select all

advanced-tree-cutting-4c9d49e5589a.patch
airport-close-v7-r14648.patch
airport-upgrade-v6-r13374.patch
cd-reduce-passengers.patch
distant_join_stations_rev9840.diff
improved-breakdowns-v2.4-r14563.patch
improved-timetable-management-v230-cargodest-14278f48a952.patch
language-r14563.patch
newgrf_gui_r11499.diff
r14293-daypatch.diff
routemarker-r14545.patch
saferLevelCrossing_r14264.diff
Of course I don't know if it works or not because I can't compile even sources from trunk without patches.

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 22:33
by stevenh
orcaz wrote:
stevenh wrote:orcaz, roll back bash to 3.1.6.. you can do this by running setup again and clicking "skip" until it says the version number.
I can't.
it only have 3.3.3. OF GCC!
bash! bash! bash!

Re: Howto apply a patch/diff file

Posted: 10 Dec 2008 23:10
by orcaz
I did that...same result.

But how about the errors I get when I use MS Visual C++?

Re: Howto apply a patch/diff file

Posted: 20 Jan 2009 14:34
by Sarvesh50
Hi i cant patch these airport replace thing wich program should i use you this thread isnt really up to date anymore i am using win xp

Re: Howto apply a patch/diff file

Posted: 20 Jan 2009 14:57
by Conditional Zenith
Use some punctuation please. And be more specific. And spell properly. And in general type so that we can understand you. Once we can understand you, we may be able to help. Also, please say what you tried that didn't work, rather than ask us to be your personal copy/paste service.

Re: Howto apply a patch/diff file

Posted: 20 Jan 2009 15:00
by Yexo
And this thread might be old, but it's still up-to-date.

Re: Howto apply a patch/diff file

Posted: 20 Jan 2009 15:08
by planetmaker
Sarvesh50 wrote:Hi i cant patch these airport replace thing wich program should i use you this thread isnt really up to date anymore i am using win xp
Besides what Conditional Zenith said: All advice you need is in this thread. It's not like devellopment programmes change every week. And even a newer version of whatever is more likely than not to be installed in a very similar way as the precedessor.

Re: Howto apply a patch/diff file

Posted: 06 Feb 2009 18:38
by snowie
Hi, when i'm trying to coplile my trunk, cygwin answers "no target". What should I do?

Re: Howto apply a patch/diff file

Posted: 06 Feb 2009 19:31
by Conditional Zenith
Firstly, you should copy and paste errors, not screenshot them.

Secondly, this is the wrong place to post build errors, this is a thread about applying patches, not building OTTD.

There was an error running the configure script, so the Makefile didn't get generated. Which version of the trunk have you got, and how did you get it?