News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

How to compile simutrans experimental

Started by Milko, December 18, 2010, 10:20:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Milko

Hello

I would like to build the experimental version. I start from zero. I tried searching in the tutorial or in aid but could not find the information they seek. I wonder if you can help out:
1) download a compatible compiler (and free)
2) how to download the necessary code from github
3) where to find any external library
4) tips and tricks ...

Giuseppe

jamespetts

Giuseppe,

are you familiar with this thread (which applies to Standard, but much of which is also applicable to Experimental)? Also, what platform are you using?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

AvG

Hi Giuseppe,
I am glad to see that I am not the only one who has these wishes.
I also want to be able, as a first step, to download the latest sources and compile them. For me that is important because my Pak-addon must be balanced while running with the latest .exe.
I hope that you , for a change, are running good old Windows.
If yes you can start with free downloading MSVC (Microsoft Visual C++ 2010 Express) It comes with a lot of documention like a Beginners Guide, Development for Beginners, Visual Tour, etc. However, if you realy start from zero, so with no IT-education at all, be prepared to invest a huge lot of time. Most of the expert guide-writers provide you with info, only understandable by nearly-experts. Reading Swahili is probably a lot easier. But if you stay subborn and calm, after some efforts, you will see the light and think - Ah, is that all there is.
If you have installed MSVC you have to wait for an entry of VS. He is the threadstarter of the thread James is refering to.
There is an error in the first link dealing with libraries. He promised to repair that quickly and we may remind every day. Hi VS, how are you and your link?

Github.
I want to use Github too. Half a year ago I tried halfheartedly to set up a Git for my own. And guess what, it seems I succeeded. Now, after moving to an appartment, two times hospitilized for serious matters and a computercrash, I want to use Git again. Of course I lost my password. Seems to be no problem. Just click the link. In seconds you get an E-mail answer. Now there is a real problem. I can NOT read it. Lots of game-companies have made solutions for this problem in a way that I could use it on first sight. Not Github!!.
Who can help me? (and maybe Giuseppe in the future)
AvG
Ad van Gerwen

jamespetts

The Standard version thread has just been updated.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

#4
Hi James

Thanks.

Now I'm able to build/compile simutrans strandard (to download I use tortoise svn with url svn://tron.homeunix.org/simutrans).

But how to download esperimental version (the svn url)?

EDIT
Source FOUND, I'm compiling simutrans experimental!  :)

EDIT 2
Compile fail:
c1xx : fatal error C1083: Impossibile aprire il file origine 'utils\cstring_t.cc': No such file or directory
  crossing_reader.cc

???

Giuseppe

jamespetts

It looks as though you may be missing some files, although I cannot read the Italian (?) text. Do you have cstring_t.cc and crossing_reader.cc?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

Hi James

I download .zip file from github, but file 'utils\cstring_t.cc' is not present. This night I will try to re-download the file...

"Impossibile aprire il file origine  -> Can not open source file"

PS 9.0 contains new graphics routines (intro http://forum.simutrans.com/index.php?topic=4480.0)?

Giuseppe


jamespetts

Which .zip file did you download? And, yes, there have been substantial changes to the graphics routines in Standard since 8.2, which have been incorporated into 9.0.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

#8
Hello

I download from https://github.com/jamespetts/simutrans-experimental/tree/9.x , I press button Downloads, then I select Download.zip (as in the attached image).

File 'utils\cstring_t.cc' is not present in the .zip.

EDIT
I'm using VC++2010 Express
It may be that the missing library "utils \ cstring_t.cc" is absent in my package of VC + +2010?

Giuseppe

jamespetts

Hmm, looking at this, there is no cstring_t.cc in up-to-date builds. Are you using the MSVC++ 2010 or MSVC 2008 project files?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

Hello James

I do not know why but now it works.
At first I used the design of the VC2008 (which was converted and did not work) then I used the design of the VC2010 and the first attempt did not work, I raised a second compilation, and it worked. Strange!.
However now I am glad I did.
Take this opportunity for some questions from a newbie, what is the difference between the version of "experimental" version and the "experimental-bg"?
I copied only the file ".exe" which was created by the compiler in the folder of experimental simutrans 8.2 and everything seems ok, I have to compile / copy other files related to the new version or file supplied with the version 8.2 are compatible with those of version 9.0?

Giuseppe

jamespetts

Giuseppe,

glad that you managed to get it working! Always good to have a new developer on board. "experimental-bg" is a version used by Bernd Gabriel; the MSVC++ project files are laid out according to his own computer's directory structure. That version is also a little out of date, I think.

You should upgrade the configuration files (etc.) to those distributed with version 9.0, even if you are not compiling yourself, as there have been changes in how these files are organised. Take note that the latest changes will be found on the -devel or the -9.x branches in Github; the "master" branch contains only the code of published versions (currently 9.0; the -devel branch has one or two further changes).
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

Hello James

I managed to compile the project but I'm a developer very low, the last time I programmed in C / C + + was 15 years ago. I have a gap in the understanding of English (in fact widely use google "translator"), many times I can not follow the discussions on programming. I'm working on Italian translation of the sim-experimental (I believe to be a good place) and if I can (but I have very little time) I will be happy to help.

Giuseppe

jamespetts

Any assistance with development is always welcome, even if it's just finding basic bugs or slightly tweaking the UI. An Italian translation would be very welcome indeed. Glad that you're so keen to help!
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Milko

Hello James

A little problem... "MSVC + +2010" asks me to register the product, if I did not register may use the product for only 20 days. I thought he was free to use ... Do you know if I have to pay to register? I was only asked to provide my information?

I have the system operating in compliance with the licenses, but I do not like registering Microsoft products after having seen how they have behaved in the past.

Giuseppe

jamespetts

Giuseppe,

the registration is a free process, although you are asked to provide some information.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

sdog

http://www.fakenamegenerator.com/

creates consistent random identities, with working addresses etc.

Here's my new identity in hungary:
Ugor Szöllössy
6327 Harta
Dayka Gábor u. 63.
Phone:(78) 226-676
Website:StoryPortfolio.com
Email Address:UgorSzöllössy@example.com
This is a real email address. Click here to use it!
Password:aeChei7ah
Mother's Maiden name:Pálfy
Birthday:June 9, 1989 (21 years old)
MasterCard:5235 4951 9299 5833Expires:4/2011
Occupation:Enrollment specialist
UPS Tracking Number:1Z 805 282 36 8050 608 7
Blood type:O+Weight:196.2 pounds (89.2 kilograms)
Height:6' 1" (185 centimeters)