Howto apply a patch/diff file
Moderator: OpenTTD Developers
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
You need to convert all your line-end characters to \n instead of \r\n...
Have you Scintilla Text Editor installed?
Otherwise I've no idea how to do it... Nano maybe?
Have you Scintilla Text Editor installed?
Otherwise I've no idea how to do it... Nano maybe?
Re: Howto apply a patch/diff file
How do I convert them? Where?stevenh wrote:You need to convert all your line-end characters to \n instead of \r\n...
Have you Scintilla Text Editor installed?
Otherwise I've no idea how to do it... Nano maybe?
And I dont have any of those programs.
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
Wikipedia: NewLine tells me:
will do it.... probably copy the affected file to something like .old and then run the conversion.
when you installed cygwin, did you choose DOS or Unix text file support?
I don't know if re-running setup will fix this?
if you have perl installed, this might also help you.
Code: Select all
tr -d '\r' < inputfile > outputfile
when you installed cygwin, did you choose DOS or Unix text file support?
I don't know if re-running setup will fix this?
if you have perl installed, this might also help you.
Re: Howto apply a patch/diff file
I re-install it for Dos/text. And the end-of-line problem is solved.
But how about the other errors?
and
But how about the other errors?
Code: Select all
[LANG] Compiling and Linking endian_check.exe
make[1]: ***[endian_check.exe] Error 1
Code: Select all
make[1]: ***No rule to make target `ai/ai.d', needed by `ai/ai.o'. Stop.
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
type:and tell me the response? have you got g++ and gcc installed?
Code: Select all
gcc -v
Re: Howto apply a patch/diff file
This the response , I installed it just like the wiki said.
So I think i haveg++ and gcc installed.
So I think i haveg++ and gcc installed.
- Attachments
-
- screenshot.PNG (15.26 KiB) Viewed 2059 times
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
Step 9 of the Wiki Cygwin pages i can't get the svn... commands working.
(* Alternatively, if you got subversion - launch cygwin and run mkdir -p /usr/src/openttd to make the directory, then cd /usr/src/openttd and finally svn checkout svn://svn.openttd.org/trunk. This will place all the source code in /usr/src/openttd/trunk
* You can always get the latest source code by running command: svn update. )
Espaccialy the red lines won't work. So i created a Trunk map of my own in the Cygwin/usr/src/openttd folder and copied all of the SVN files in to it.
but then
I get these errors when i run step 11 on the Cygwin wikipage. (# For the first time you need to do a ./configure to set up everything. If that gives errors in config.lib, run a dos2unix config.lib and try again. If you have installed libpng12-devel or libfreetype2-devel, you must add --disable-static to the parameters of ./configure. )
(* Alternatively, if you got subversion - launch cygwin and run mkdir -p /usr/src/openttd to make the directory, then cd /usr/src/openttd and finally svn checkout svn://svn.openttd.org/trunk. This will place all the source code in /usr/src/openttd/trunk
* You can always get the latest source code by running command: svn update. )
Espaccialy the red lines won't work. So i created a Trunk map of my own in the Cygwin/usr/src/openttd folder and copied all of the SVN files in to it.
but then
I get these errors when i run step 11 on the Cygwin wikipage. (# For the first time you need to do a ./configure to set up everything. If that gives errors in config.lib, run a dos2unix config.lib and try again. If you have installed libpng12-devel or libfreetype2-devel, you must add --disable-static to the parameters of ./configure. )
- Attachments
-
- errorcygwin.PNG (14.65 KiB) Viewed 2042 times
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
It seems that the both of you are missing the required tools...
Hamilton, have you installed gcc AND g++?
If 'svn' fails then it's not installed!
orcaz, can you please test if you really do have g++?
Please go back here and see the list of requirements.... when you get to package selection, hit "view" until it says "full" next to it... see the attached screenshot.
And then _make sure_ you have all required packages installed!
Hamilton, have you installed gcc AND g++?
If 'svn' fails then it's not installed!
orcaz, can you please test if you really do have g++?
Please go back here and see the list of requirements.... when you get to package selection, hit "view" until it says "full" next to it... see the attached screenshot.
And then _make sure_ you have all required packages installed!
- Attachments
-
- gcc-core? gcc-g++? ... the other are dependencies which will be automagically selected.
- gcc.PNG (33.12 KiB) Viewed 2025 times
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
You were right, i didn't install all of the files.
But when i run make i got the following errors:
But when i run make i got the following errors:
- Attachments
-
- errormake.PNG (45.08 KiB) Viewed 1247 times
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
What configure line did you run? It sounds like the includes are being messed up....
Does make 'reconfigure' each time? Did it do a configure for you?
I can only recommend deleting your ottd folder, checking out the source again and then doing a fresh './configure' and 'make'.
Does make 'reconfigure' each time? Did it do a configure for you?
I can only recommend deleting your ottd folder, checking out the source again and then doing a fresh './configure' and 'make'.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
I did that.
Followd every step on the Wiki, but then after make those errors pop up.
Followd every step on the Wiki, but then after make those errors pop up.
Re: Howto apply a patch/diff file
I have all the package needed.
I did try to reinstall.
I deleted the ottd files, and create new one and checking the source again.
make does 'reconfigure each time'.
And result still the same.
I did try to reinstall.
I deleted the ottd files, and create new one and checking the source again.
make does 'reconfigure each time'.
And result still the same.
- Attachments
-
- screenshot.PNG (23.5 KiB) Viewed 1984 times
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
i just followed my own advice and realised the instructions are flawed on my computer...and then after endian_check,strgen,it starts building the DEPs and then just sits in a loop
... any of the devs want to give us a hand? I do have a space in my username and couldn't use my homedir to start with... could be causing other issues.
Hamilton, please tryand tell me the command used to compile the endian check and we might be able to work out what the hell is busted...
Sorry I haven't worked this all out yet.
Code: Select all
$ make
make reconfigure
make[1]: Entering directory `/openttd'
----------------
The system detected that source.list or any configure file is altered.
Going to reconfigure with last known settings...
----------------
Code: Select all
[SRC] DEP ai/ai.cpp
make[1]: Leaving directory `/openttd/objs/release'
make[1]: Entering directory `/openttd/objs/release'
[SRC] Testing endianness for target
[SRC] DEP /openttd/src/ottdres.rc
[SRC] DEP yapf/yapf_ship.cpp
[SRC] DEP yapf/yapf_road.cpp
[SRC] DEP yapf/yapf_rail.cpp
Hamilton, please try
Code: Select all
make VERBOSE=1
Sorry I haven't worked this all out yet.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
Thanks for your help...
- Attachments
-
- errormakeverbose=1.PNG (55.2 KiB) Viewed 1238 times
Re: Howto apply a patch/diff file
Cygwin is known to have quite a flux in their API code, which makes it quite a running target. I'm not sure whether there's currently a developer that actually uses Cygwin, due to the before mentioned issues. It's probably much easier to set up MS Visual C++ (Express).
Re: Howto apply a patch/diff file
This time I try to compile using MS VISUAL C++ (express) and get this when compiling.
And also
and finally
Code: Select all
4>namegen.cpp
4>d:\data\openttd\xxx\src\table/namegen.h : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
4>d:\data\openttd\xxx\src\table/namegen.h(1358) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1362) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1656) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1675) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1677) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1845) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1846) : error C2143: syntax error : missing '}' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1846) : error C2143: syntax error : missing '}' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1846) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1846) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1846) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1847) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1847) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1847) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1848) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1848) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1848) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1849) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1849) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1849) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1850) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1850) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1850) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1851) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1851) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1851) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1852) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1852) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1852) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1853) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1853) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1853) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1854) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1854) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1854) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1855) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1855) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1855) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1856) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1856) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1856) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1857) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1857) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1857) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1858) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1858) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1858) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1859) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1859) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1859) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1860) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1860) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1860) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1861) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1861) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1861) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1862) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1862) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1862) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1863) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1863) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1863) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1864) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1864) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1864) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1865) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1865) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1865) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1866) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1866) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1866) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1867) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1867) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1867) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1868) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1868) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1868) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1869) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1869) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1869) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1870) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1870) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1870) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1871) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1871) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1871) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1872) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1872) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1872) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1873) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1873) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1873) : error C2059: syntax error : ','
4>d:\data\openttd\xxx\src\table/namegen.h(1874) : error C2143: syntax error : missing ';' before '{'
4>d:\data\openttd\xxx\src\table/namegen.h(1874) : error C2447: '{' : missing function header (old-style formal list?)
4>d:\data\openttd\xxx\src\table/namegen.h(1874) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1889) : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
4>d:\data\openttd\xxx\src\table/namegen.h(1906) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(1907) : error C2143: syntax error : missing '}' before ';'
4>d:\data\openttd\xxx\src\table/namegen.h(1928) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(2386) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(2394) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(2411) : error C2001: newline in constant
4>d:\data\openttd\xxx\src\table/namegen.h(2411) : fatal error C1003: error count exceeds 100; stopping compilation
Code: Select all
4>currency.cpp
4>..\src\currency.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
4>..\src\currency.cpp(26) : error C2001: newline in constant
4>..\src\currency.cpp(27) : error C2117: 'CurrencySpec::suffix' : array bounds overflow
4> d:\data\openttd\xxx\src\currency.h(23) : see declaration of 'CurrencySpec::suffix'
4>..\src\currency.cpp(27) : error C2078: too many initializers
4>..\src\currency.cpp(27) : error C2143: syntax error : missing '}' before '{'
4>..\src\currency.cpp(27) : error C2143: syntax error : missing '}' before '{'
4>..\src\currency.cpp(27) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(27) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(27) : error C2059: syntax error : ','
4>..\src\currency.cpp(28) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(28) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(28) : error C2059: syntax error : ','
4>..\src\currency.cpp(29) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(29) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(29) : error C2059: syntax error : ','
4>..\src\currency.cpp(30) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(30) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(30) : error C2059: syntax error : ','
4>..\src\currency.cpp(31) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(31) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(31) : error C2059: syntax error : ','
4>..\src\currency.cpp(32) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(32) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(32) : error C2059: syntax error : ','
4>..\src\currency.cpp(33) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(33) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(33) : error C2059: syntax error : ','
4>..\src\currency.cpp(34) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(34) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(34) : error C2059: syntax error : ','
4>..\src\currency.cpp(35) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(35) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(35) : error C2059: syntax error : ','
4>..\src\currency.cpp(36) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(36) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(36) : error C2059: syntax error : ','
4>..\src\currency.cpp(37) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(37) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(37) : error C2059: syntax error : ','
4>..\src\currency.cpp(38) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(38) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(38) : error C2059: syntax error : ','
4>..\src\currency.cpp(39) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(39) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(39) : error C2059: syntax error : ','
4>..\src\currency.cpp(40) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(40) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(40) : error C2059: syntax error : ','
4>..\src\currency.cpp(41) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(41) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(41) : error C2059: syntax error : ','
4>..\src\currency.cpp(42) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(42) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(42) : error C2059: syntax error : ','
4>..\src\currency.cpp(43) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(43) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(43) : error C2059: syntax error : ','
4>..\src\currency.cpp(44) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(44) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(44) : error C2059: syntax error : ','
4>..\src\currency.cpp(45) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(45) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(45) : error C2059: syntax error : ','
4>..\src\currency.cpp(46) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(46) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(46) : error C2059: syntax error : ','
4>..\src\currency.cpp(47) : error C2143: syntax error : missing ';' before '{'
4>..\src\currency.cpp(47) : error C2447: '{' : missing function header (old-style formal list?)
4>..\src\currency.cpp(47) : error C2059: syntax error : ','
4>..\src\currency.cpp(48) : error C2143: syntax error : missing ';' before '}'
4>..\src\currency.cpp(48) : error C2059: syntax error : '}'
Code: Select all
4>BSCMAKE: error BK1506 : cannot open file '..\objs\Win32\Release\namegen.sbr': No such file or directory
4>Build log was saved at "file://d:\Data\openttd\xxx\objs\Win32\Release\BuildLog.htm"
4>openttd - 173 error(s), 5 warning(s)
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
I'm trying to with MS Visual, but i can't find the DirectX headers folder ????
- Attachments
-
- probmsV.PNG (13.74 KiB) Viewed 1230 times
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
Upon downloading and extracting the SDK you'll find an include and lib folders that you'll need to reference to.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Howto apply a patch/diff file
I allready did that, but nowhere is a Headers subfolder like mentioned in the Wiki.
- stevenh
- TTDPatch Developer
- Posts: 759
- Joined: 24 Jul 2005 05:07
- Location: Canberra, Australia
- Contact:
Re: Howto apply a patch/diff file
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.
Hamilton, where did the SDK extract to? it is usually C:\Program Files\Microsoft Direct X SDK\... or something to that effect?
Do a file search maybe?
Hamilton, where did the SDK extract to? it is usually C:\Program Files\Microsoft Direct X SDK\... or something to that effect?
Do a file search maybe?
Who is online
Users browsing this forum: No registered users and 10 guests