News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Compiling simutrans

Started by hreintke, May 04, 2012, 11:35:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hreintke

LS,
Making the first steps in simutrans compiling. I am using a Win7 PC.
Took the folowing steps
- Installed and configured mingw
- Downloaded the simutrans masterbranch from git using zip file
- Updated config.template to get options set
- Started using make
This results in a compile with no errors and a simutrans executable in the build/default directory.
But starting that executable I get the errormessage "Can't start because libgcc_2_dw2-1.dll is missing.

Had the same issue when using a nightly build somewhere last week and that was solved later in the build.

Do I need to take additional steps to get this libary included ?

Any help appreciated.

Herman

TurfIt

You need either obtain the .dlls ( libgcc and libstdc++) and place them where simutrans can find.
Or statically link them

-static-libgcc -static-libstdc++
to the linker will do. LDFLAGS...

Milko

#2
Hello hreintke

Quote from: TurfIt on May 04, 2012, 12:38:21 PM
You need either obtain the .dlls ( libgcc and libstdc++) and place them where simutrans can find.

I found the dll in the folder "\ mingw \ bin". Then I put them in the base folder simutrans with sim.exe.
The needed dll's are libgcc_s_dw2-1.dll and libstdc++-6.dll.

Giuseppe