Confused when want to compile

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Confused when want to compile

Post by Draakon »

Hello, i am confused WITH!!!!! the tutorial http://wiki.openttd.org/index.php/Cygwin. I have the openttd source in the same directory as Cigwin. What should i do exacly to compile this game??
iNVERTED
Route Supervisor
Route Supervisor
Posts: 387
Joined: 24 Apr 2005 21:21
Location: Torquay, England
Contact:

Post by iNVERTED »

You could always get Linux and then simply type "make" :P

Or the much longer Windows solution is to download Visual C++ 2005 Express Edition (which is free), and compile it with that.

PS: nice to see the with censor is still functioning ;)
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Post by Draakon »

any tutorial for Visual C++ Express Edition on how do comile??
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Post by Draakon »

sry for doublepost but when done everything in wiki at the step 6 and 7 i dont get what to do. Any help of compling openttd??
Sacro
Tycoon
Tycoon
Posts: 1145
Joined: 18 Jun 2005 21:08
Location: Here
Contact:

Post by Sacro »

iNVERTED wrote:You could always get Linux and then simply type "make" :P

Or the much longer Windows solution is to download Visual C++ 2005 Express Edition (which is free), and compile it with that.
Unless you have a clue, then don't bother replying...

Right, best way I can remember is to copy it to c:\cygwin\home\username\. and then inside cygwin itself, cd to the correct folder, and then

Code: Select all

./configure
make
That should work, or at least give you a rough starting point.
We Am De Best

Host of ThroughTheTube site
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Post by Draakon »

dam i dont want to download that thing again, any accual tips for VC++ 2005 Express??
User avatar
saint
Engineer
Engineer
Posts: 45
Joined: 25 Dec 2005 23:01
Location: Australia

Post by saint »

The wiki was able to get me going with both the 0.5.0 from the website and the SVN source (once I found where the project files were located :lol: )
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Yes, I think I can agree that it's much easier when you have Linux. :lol:
Sacro
Tycoon
Tycoon
Posts: 1145
Joined: 18 Jun 2005 21:08
Location: Here
Contact:

Post by Sacro »

jonty-comp wrote:Yes, I think I can agree that it's much easier when you have Linux. :lol:
Not really... when you have cygwin setup its nearly exactly the same, i just

Code: Select all

 svn up && cd trunk && ./configure && make 
Works on both Windows and Linux...
We Am De Best

Host of ThroughTheTube site
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Post by Draakon »

ok i found project files and move the source files and all to the project but it then gets some errors: fatal error .../src/file or directory. No suchs directory or file :S what should i do??
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Post by glx »

why did you move the source files ?
Draakon
Director
Director
Posts: 542
Joined: 11 Mar 2007 16:50

Post by Draakon »

I GOT My Problems Sloved
User avatar
ColdIce
Transport Coordinator
Transport Coordinator
Posts: 314
Joined: 25 Apr 2006 10:22
Location: Bucharest

Post by ColdIce »

great Draakon :D Now can you make a step-by-step tutorial please? I dont have nothing to do with programing or compiling, I`ve tried with wiki's help but I didn't get to far! If you can make a detalied tutorial will be great! thx
The rest is confetti!
matrixs
Engineer
Engineer
Posts: 55
Joined: 17 Mar 2007 20:18
Location: LV
Contact:

Post by matrixs »

would be nice
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

ColdIce wrote:great Draakon :D Now can you make a step-by-step tutorial please? I dont have nothing to do with programing or compiling, I`ve tried with wiki's help but I didn't get to far! If you can make a detalied tutorial will be great! thx
I'll tell you how to do it step by step on Y! Mess if you tell me via PM when to come online.
xmart2k
Engineer
Engineer
Posts: 91
Joined: 04 May 2006 07:36
Contact:

Post by xmart2k »

I'm using Visual Studio 2005 professional edition
I've done all the steps from the visual c++ and i still can't compile it. I get these 2 errors:

BSCMAKE: error BK1506 : cannot open file '..\objs\win32\release\dmusic.sbr': No such file or directory

..\src\music\dmusic.cpp(13) : fatal error C1083: Cannot open include file: 'dmksctrl.h': No such file or directory

any ideas?
xmart2k
Engineer
Engineer
Posts: 91
Joined: 04 May 2006 07:36
Contact:

Post by xmart2k »

I've seen and older post and managed to repair, it was a problem with the directx
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 15 guests