Page 1 of 1

Confused when want to compile

Posted: 19 Mar 2007 09:49
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??

Posted: 19 Mar 2007 10:29
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 ;)

Posted: 19 Mar 2007 10:40
by Draakon
any tutorial for Visual C++ Express Edition on how do comile??

Posted: 19 Mar 2007 14:35
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??

Posted: 19 Mar 2007 16:09
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.

Posted: 19 Mar 2007 16:22
by Draakon
dam i dont want to download that thing again, any accual tips for VC++ 2005 Express??

Posted: 20 Mar 2007 07:12
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: )

Posted: 20 Mar 2007 07:37
by jonty-comp
Yes, I think I can agree that it's much easier when you have Linux. :lol:

Posted: 20 Mar 2007 14:55
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...

Posted: 20 Mar 2007 16:11
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??

Posted: 20 Mar 2007 16:33
by glx
why did you move the source files ?

Posted: 20 Mar 2007 17:55
by Draakon
I GOT My Problems Sloved

Posted: 13 Apr 2007 12:49
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

Posted: 13 Apr 2007 17:29
by matrixs
would be nice

Posted: 13 Apr 2007 21:52
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.

Posted: 18 Apr 2007 11:49
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?

Posted: 18 Apr 2007 12:25
by xmart2k
I've seen and older post and managed to repair, it was a problem with the directx