Author Topic: How to compile Simutrans (&Makeobj) on Windows with MSVC  (Read 52741 times)

0 Members and 1 Guest are viewing this topic.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
How to compile Simutrans (&Makeobj) on Windows with MSVC
« on: October 20, 2008, 08:27:42 AM »
Note in 2016: This is now too old (16-8 = 8 years!). You can glean some helpful things from this, but don't expect anything to work as described here. Sorry.

Note: This is now a bit old. I have updated the text & files as possible, but MSVC 2010 has a bit different menus and I don't have (now) access to computer with it. Keep telling me to fix this :P

It is quite easy - I almost feel sorry to spare you from recompiling dependencies with GCC and such jokes. Well, real hackers don't have to follow :D

I don't know if this works for 64bit OSes.

I omitted restarting system, you'll have to do so probably twice.

1 ) Download Microsoft Visual C++ - for free,
2 ) install it.
3 ) Download precompiled libraries for OpenTTD - follow link with highest number, then download the zip file with binary data; its name might include win and should not contain source or ***sum.
4 ) Unpack this zip file somewhere - as an example, C:\example\ottd_libs. Inside this folder you should have a bunch of folders, namely win32 and shared.
5 ) From Dwachs' post, download header and libary and unpack the zip. The .h file goes to shared/include and .lib to win32/library.
6 ) Get the pthreads library for Win32. From the folders select the one with highest prebuilt-dll-x-y-z-release number. You should know now where the lib and h files go ...
Important: You need the DLL. Put it where your pak folders are!
7 ) Start MSVC and in menu, go to options (tools->options), a window opens with another set of choices to the left, you want to change directories (projects and solutions->VC++ Directories);
8 ) the dropdown menu in the top-right corner (it says Executable files at first) - set it to include files and add to list folder shared/include from the downloaded archive - example, C:\example\shared\include.
9 ) Do the same with library files - add there win32/library - example C:\example\win32\library.

Now you're set up for compiling - but don't have the sources!

10) Install Tortoise SVN (it integrates into Explorer).
11) Create new folder - eg. simutrans_src.
12) Click on it with right mouse button - choose SVN Checkout. A window pops up.
13) URL is svn://servers.simutrans.org/simutrans - Leave the other options be, they're all correct.
14) OK!
15) If asked for password, enter user anon and leave password empty.
16) Downloading…

(Alternatively you can use the command line svn - that is not material for this guide as it's aimed for click-and-go solution)

And now - Christamaaaaas!

17) In the folder downloaded from svn (maybe simutrans_src) go to simutrans\trunk - you can see the lot of source files.
18) Open file simutrans.vcproj.
19) It is from older version, you have to go through wizard for project file update. Again no need to change any settings.
20) Once this is completed, to the left should appear some stuff (Solution Simutrans blah blah). In menu, choose Build->build solution.
21) Waiting…
22) Simutrans executable appears in folder debug (inside the folder with sources is folder Debug).

If you want to run simutrans from MSVC for debugging, you need to change the project properties -> debug
THe command line needs to start with -use_workdir and the working directory should point to the simutrans folder than contains your pak-folders (and the DLL).

Enjoy!


EDIT: The above will always work. Below depends on updated attachments. Thus if this does not work, use the above way.

You can save yourself the trouble with steps 17-18 and use the attached project files. They go to trunk/MSVC2k8/*.* - in other words, in folder trunk you should have a folder MSVC2k8 and in it some files. This is on purpose, so that you don't overwrite any files tracked by svn.

When they are outdated, post here and demand new.

EDIT: instead of attachment, link:
http://vs.simutrans.com/misc_files/simu-MSVC2k8.zip

EDIT: Added pthreads. Corrected ftp link.

EDIT2: For r7808 onwards you need to set the "character set" in "properties->general" to "undefined" or "no set" and not Unicode (depending on your interface langauage).
« Last Edit: September 16, 2016, 08:29:48 PM by prissi »

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #1 on: October 20, 2008, 08:49:02 AM »
cool!! Some people asked me about how to apply the overtaking patch in windows, and I even know how to compile Simutrans in windows. Is there any possiblity that somebody can explain how to apply a patch in windows?

P.S: I guess it's based on the wiki info, isn't it? In that case I think we might consider that everything is right and clear. Unless, until I try and fail... :D
« Last Edit: October 20, 2008, 08:52:01 AM by vilvoh »

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #2 on: October 20, 2008, 10:01:06 AM »
There is some info on wiki? I missed that :O

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #4 on: October 20, 2008, 01:43:19 PM »
Aha. So there is something at all on wiki. Interesting… thanks to whoever started putting it back into shape!

As to patches - well that can be done via Tortoise, too, but honestly no idea how it goes, I never tried it.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #5 on: October 20, 2008, 01:57:45 PM »
I think that was thanks to Stormoog or Whoami effort. In reference to applying patches using TortoiseSVN, I've found this tutorial and this thread from TT-forums. It seems very easy so I'll try it later.... :)
« Last Edit: October 20, 2008, 02:00:48 PM by vilvoh »

Escala Real...a blog about Simutrans in Spanish...

Offline wernieman

Re: How to compile Simutrans on Windows with MSVC
« Reply #6 on: October 20, 2008, 02:23:31 PM »
Only for the information:

If you have a big patch, and is the patch testet, I could make every time a spezial run of the nightly-Server!

But not for every "little" pach  8)
I hope you understand my English

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #7 on: October 20, 2008, 02:53:52 PM »
I know. In fact, most of the requests were about the famous overtaking fun patch but as it's still under development and the nightly that included that patch is not available, people ask about how to apply that patch to Simutrans.

P.S: Does it mean that we might do requests for special nightlies?  ::)
« Last Edit: October 20, 2008, 02:59:18 PM by vilvoh »

Escala Real...a blog about Simutrans in Spanish...

Offline wernieman

Re: How to compile Simutrans on Windows with MSVC
« Reply #8 on: October 20, 2008, 03:00:16 PM »
In the last nightly is the overtaking patch .. or???

When you send me a Mail I can make a "spezial run"

I hope you understand my English

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #9 on: October 20, 2008, 03:07:58 PM »
Well, If I remember correctly, the last nightly that included that patch was 2008-09-15_v100.1_r2022-overpatchV7, wasn't it?

Escala Real...a blog about Simutrans in Spanish...

Offline wernieman

Re: How to compile Simutrans on Windows with MSVC
« Reply #10 on: October 20, 2008, 04:57:52 PM »
In the SVN log of the code:
Code: [Select]
28.09.2008 ADD: (isidoro/prissi) overtaking for road vehicles/citycars
so since 28.09.2008 is the patch in the code ....
I hope you understand my English

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #11 on: October 20, 2008, 05:36:06 PM »
cool! thanks for the info, wernieman.

Escala Real...a blog about Simutrans in Spanish...

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #12 on: October 20, 2008, 11:21:46 PM »
I'm trying to write a series of articles for the blog with the title: Dive in Simutrans (python guys will get it..;)) They're all in spanish, and one of them is just a translation on VS post above with some extra details, but I might translate them to EN and compile all of them in a short guide, lets call it Simutrans Compiling Guide or Dive in Simutrans. Perhaps this encourage people to take part in the code development, what do you think?

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #13 on: October 21, 2008, 09:10:02 AM »
Of course! I thought about posting this for about a second - and then of course put it here. It helps people get started, so why not.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #14 on: October 21, 2008, 09:46:27 AM »
Ok, so I'll translate them. This is the list of articles (in spanish) that are available at this moment in the blog Escala Real:

Only miss another one about how to create a piece of code and add it to simutrans sources, but as I'm not an expert on that, I'll need help from somebody who has more experience dealing with those issues. Anyway, I think with these three articles it's enough to encourage people to code something for Simutrans.

I'm going to finish this post with two programming quotes:
“Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots.  So far the Universe is winning.”
(Rich Cook)

“First learn computer science and all the theory.  Next develop a programming style.  Then forget all that and just hack.”
(George Carrette)

« Last Edit: January 27, 2009, 10:24:15 AM by vilvoh »

Escala Real...a blog about Simutrans in Spanish...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8795
  • Total likes: 319
  • Helpful: 229
  • Languages: De,EN,JP
Re: How to compile Simutrans on Windows with MSVC
« Reply #15 on: October 21, 2008, 10:20:26 AM »
While I can agree to some degree with the first I certainly cannot agree with the second. I am doing the reverse and trust me, with the (for me) modern abstract object oriented concepts, first knowing what one is doing makes hacking easier. I mean I main self-taught programming in the early 80ies with book from the mid 70ies -- no OOP at all.

Offline isidoro

Re: How to compile Simutrans on Windows with MSVC
« Reply #16 on: October 22, 2008, 02:43:18 AM »
[...]
Only miss another one about how to create a piece of code and add it to simutrans sources, but as I'm not an expert on that, I'll need help from somebody who has experience more experience dealing with those issues.
[...]

If I can be of any help, please tell, although I left the dark side of the Force long time ago (two years or so)...

In fact, there is not much to it.  My weapons are:
  • A good text editor (kate)
  • A good compiler/debugger couple (gcc/gdb)
  • A search tool (grep)
  • A good versioning tool (which better than svn itself?)
  • A web-translator from German (like Google's)
  • Lots of sticky notes

With the debugger, one can figure out the variables and functions used for something, then one can inspect the code and then modify, and try.  Once done, generating the patch is very easy.  Simutrans code is well documented and easy to follow, imho, but the language is a problem for non-German speakers like me...

While I can agree to some degree with the first I certainly cannot agree with the second. I am doing the reverse and trust me, with the (for me) modern abstract object oriented concepts, first knowing what one is doing makes hacking easier. I mean I main self-taught programming in the early 80ies with book from the mid 70ies -- no OOP at all.

I certainly belong to The Low-level Lonely Hearts Club Band...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #17 on: November 05, 2008, 03:42:49 PM »
Here are updated project files for this ide.

Unpack this so that you get folder trunk/MSVC2k8 and there the files (sln and vcproj) (with this you can skip steps O,P,Q).

EDIT: removed and added to first post.
« Last Edit: January 03, 2009, 05:36:02 PM by VS »

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4247
  • Total likes: 175
  • Helpful: 149
  • Languages: EN, DE, AT
Re: How to compile Simutrans on Windows with MSVC
« Reply #18 on: November 08, 2008, 07:41:16 PM »
@VS: thank you for this nice introduction. The Windows-Zip-extraction program refuses to extract the libs-files and I had to do this by hand ???
Parsley, sage, rosemary, and maggikraut.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #19 on: November 08, 2008, 07:43:26 PM »
Strange. Well if you got it to work anyway, congrats! :)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Roads

Re: How to compile Simutrans on Windows with MSVC
« Reply #20 on: December 16, 2008, 02:10:27 AM »
Which do y'all recommend downloading, Visual C++ 2005 or 2008?

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: How to compile Simutrans on Windows with MSVC
« Reply #21 on: December 16, 2008, 07:36:06 AM »
I suppose it doesn't matter but I used the latest version (2008)

Escala Real...a blog about Simutrans in Spanish...

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans on Windows with MSVC
« Reply #22 on: December 16, 2008, 08:43:59 AM »
I hear everyone (elsewhere) say 2005 was the last good version... but I just wanted something and grabbed the first thing I saw.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Roads

Re: How to compile Simutrans on Windows with MSVC
« Reply #23 on: December 16, 2008, 10:00:18 AM »
OK, thanks fellas.  I've got a trial version of 2005 now, (it came with a game tut I bought).  Prior to that I had used the toolkit to compile for mods for Civ.  Since I'm kinda familiar with 2005, I'll probably download it.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #24 on: February 13, 2009, 10:30:29 PM »
Updated project files for latest additions...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4247
  • Total likes: 175
  • Helpful: 149
  • Languages: EN, DE, AT
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #25 on: November 22, 2009, 12:56:41 PM »
Now simutrans needs an additional library: bzlib. Here are header and lib-files. Put them in your include/library directories.
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8795
  • Total likes: 319
  • Helpful: 229
  • Languages: De,EN,JP
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #26 on: November 22, 2009, 06:45:19 PM »
And since those are open source: http://www.bzip.org/ with the source ...

Offline Aglezabad

  • *
  • Posts: 270
  • Total likes: 0
  • Helpful: 0
  • Recordad que sin pasar por aquí, os veo.
    • Interusers
  • Languages: ES
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #27 on: November 24, 2009, 08:07:50 PM »
Hello:

I have tried to compile the code following the instructions, but it does not generate the feasible one. It appears 62 errors and approximately 1000 warnings, but it does not create the programme. My system is Windows 7 x64 and I use Visual C ++ 2008.
I have put bzip files.

Regards and thanks.


Offline wernieman

Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #28 on: November 24, 2009, 08:14:06 PM »
If you give us the output of your compiling-test, whe COULD help ....
I hope you understand my English

Offline Aglezabad

  • *
  • Posts: 270
  • Total likes: 0
  • Helpful: 0
  • Recordad que sin pasar por aquí, os veo.
    • Interusers
  • Languages: ES
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #29 on: November 24, 2009, 08:17:02 PM »
The disadvantage is that it is in Spanish some parts.


Offline wernieman

Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #30 on: November 24, 2009, 08:21:47 PM »
1. could you make a new thread
2. sorry, but when i decompress your log then it is empty :o(
I hope you understand my English

Offline Aglezabad

  • *
  • Posts: 270
  • Total likes: 0
  • Helpful: 0
  • Recordad que sin pasar por aquí, os veo.
    • Interusers
  • Languages: ES
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #31 on: November 24, 2009, 08:23:03 PM »
1.Thanks
2.Sorry, I will upload the file to other server.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 15688
  • Total likes: 395
  • Helpful: 174
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #32 on: December 02, 2009, 03:22:08 PM »
I am having some trouble compiling Simutrans-Experimental with the new network module - I am wondering whether there is something specific to Simutrans-Experimental that is causing the problem, or whether I am doing something wrong more generally. Here is the output that I get, with numerous linker errors:

Code: [Select]
1>Linking...
1>simworld.obj : error LNK2019: unresolved external symbol _send@16 referenced in function "public: bool __thiscall karte_t::laden(char const *)" (?laden@karte_t@@QAE_NPBD@Z)
1>network.obj : error LNK2001: unresolved external symbol _send@16
1>network.obj : error LNK2019: unresolved external symbol _WSAStartup@8 referenced in function "bool __cdecl network_initialize(void)" (?network_initialize@@YA_NXZ)
1>network.obj : error LNK2019: unresolved external symbol _connect@12 referenced in function "char const * __cdecl network_open_address(char const *,unsigned int &)" (?network_open_address@@YAPBDPBDAAI@Z)
1>network.obj : error LNK2019: unresolved external symbol _socket@12 referenced in function "char const * __cdecl network_open_address(char const *,unsigned int &)" (?network_open_address@@YAPBDPBDAAI@Z)
1>network.obj : error LNK2019: unresolved external symbol _htons@4 referenced in function "char const * __cdecl network_open_address(char const *,unsigned int &)" (?network_open_address@@YAPBDPBDAAI@Z)
1>network.obj : error LNK2019: unresolved external symbol _inet_addr@4 referenced in function "char const * __cdecl network_open_address(char const *,unsigned int &)" (?network_open_address@@YAPBDPBDAAI@Z)
1>network.obj : error LNK2019: unresolved external symbol _listen@8 referenced in function "bool __cdecl network_init_server(int)" (?network_init_server@@YA_NH@Z)
1>network.obj : error LNK2019: unresolved external symbol _bind@12 referenced in function "bool __cdecl network_init_server(int)" (?network_init_server@@YA_NH@Z)
1>network.obj : error LNK2019: unresolved external symbol _htonl@4 referenced in function "bool __cdecl network_init_server(int)" (?network_init_server@@YA_NH@Z)
1>network.obj : error LNK2019: unresolved external symbol _recv@16 referenced in function "unsigned int __cdecl network_check_activity(int,char *,int &)" (?network_check_activity@@YAIHPADAAH@Z)
1>network.obj : error LNK2019: unresolved external symbol _inet_ntoa@4 referenced in function "unsigned int __cdecl network_check_activity(int,char *,int &)" (?network_check_activity@@YAIHPADAAH@Z)
1>network.obj : error LNK2019: unresolved external symbol _accept@12 referenced in function "unsigned int __cdecl network_check_activity(int,char *,int &)" (?network_check_activity@@YAIHPADAAH@Z)
1>network.obj : error LNK2019: unresolved external symbol ___WSAFDIsSet@8 referenced in function "unsigned int __cdecl network_check_activity(int,char *,int &)" (?network_check_activity@@YAIHPADAAH@Z)
1>network.obj : error LNK2019: unresolved external symbol _select@20 referenced in function "unsigned int __cdecl network_check_activity(int,char *,int &)" (?network_check_activity@@YAIHPADAAH@Z)
1>network.obj : error LNK2019: unresolved external symbol _closesocket@4 referenced in function "void __cdecl network_close_socket(unsigned int)" (?network_close_socket@@YAXI@Z)
1>network.obj : error LNK2019: unresolved external symbol _WSACleanup@0 referenced in function "void __cdecl network_core_shutdown(void)" (?network_core_shutdown@@YAXXZ)
1>..\simutrans-experimental-binaries\Simutrans-Experimental-debug.exe : fatal error LNK1120: 16 unresolved externals

Have others experienced those errors, or do they seem specific to Simutrans-Experimental?
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.

knightly

  • Guest
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #33 on: December 02, 2009, 05:39:09 PM »
It was caused by the missing reference to wsock32.lib in the project file. James has fixed it by now.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4849
  • Total likes: 25
  • Helpful: 63
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: How to compile Simutrans (&Makeobj) on Windows with MSVC
« Reply #34 on: December 18, 2010, 04:40:31 PM »
I have updated the guide to match new openttd pages, bz2 dependency and uploaded new files. Please report problems if they happen...

Note: it's still for version 2008, not 2010. I will fix that once I will be able to access my work computer...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!