Page 1 of 3
Compilation problems on Windows platform
Posted: 03 Aug 2013, 09:28
by vatarus
The client (2013.06.19.0340) does not start because of libgcc_s_sjlj-1.dll not found.
Нow to fix?
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 10:55
by Ablu
Hello,
Where did you get this build? Is it a nightly build? Did you install as portable? (Please show us the folder content of the folder in which the mana.exe is)
This sounds a bit like a crosscompile build of me for source of tales. Though I do not remember doing a build at that date...
Regards,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 13:49
by vatarus
Hello,
Yes, it is a nightly build from
http://nightlies.manasource.org/.
Screenshot folder attached.
Anyway, how and where now get a working client?
Regards,
Vatarus
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 13:58
by Ablu
Hm. It looks like the daily builds broke a bit ago. I messaged the guy who provides them.
If you only need the client for playing TMW you can try to use an older nightly build or simply use the mana 0.6.1 version (which is not very different for TMW only).
However if you need the client for testing with the Mana server you probably need to compile the client yourself until we get the nightlies fixed (you can see
http://doc.manasource.org/compile_mana_ ... ml#windows for help about that (or come to irc at #mana on freenode).
Regards and sorry for the issues,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 15:00
by vatarus
Yes, I need the client for testing with the Mana server.
Well, I tried to compile from source by following the instructions, but got a compile error.
I used the Code:Blocks 12.11, dev pack from
https://github.com/mana/mana-mingw-libs ... master.zip and instructions from
http://doc.manasource.org/compile_mana_ ... ml#windows, but it does not work.
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 15:07
by Ablu
This looks like linking to guichan fails. Can you please ensure that you have the library installed in your mingw lib directory and codeblocks is configured to link against it? (The libguichan*.a files)
Regards,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 15:28
by vatarus
It is a continuation of the story in the post
http://forums.themanaworld.org/viewtopi ... =6&t=17223
Can you explain to me what the problem is in the code: blocks?
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 16:16
by Ablu
Ah right. codeblocks ships with an old version of mingw... Which has a bug regarding c++0x compiled binaries and non c++0x compiled ones being incompatible...
Though I forgot how to fix that again... (No windows here)
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 03 Aug 2013, 21:54
by o11c
Ablu wrote:Ah right. codeblocks ships with an old version of mingw... Which has a bug regarding c++0x compiled binaries and non c++0x compiled ones being incompatible...
Though I forgot how to fix that again... (No windows here)
Just don't use gcc 4.7.0 or 4.7.1. Any other version is fine (4.6.x or 4.7.2+)
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 03:35
by vatarus
Well, updated MinGW to version 4.7.2-1 from
http://sourceforge.net/ but still have a compilation error.
What is the problem now?
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 04:29
by o11c
vatarus wrote:Well, updated MinGW to version 4.7.2-1 from
http://sourceforge.net/ but still have a compilation error.
What is the problem now?
The CodeBlocks file has to be manually updated, and hasn't been since the following files were added:
- src/resources/chardb.cpp
- src/resources/chardb.h
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 05:54
by vatarus
Thanks.
I fix mana.cbp, and now the file is compiled.
But now compiled mana.exe not start swearing at guichan.dll, though nightly build running on that host.
In what could be the reason?
And can you give me your file mana.cbp?
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 05:59
by Ablu
Sorry I cannot read your screenshot. But if your application does not run because it expects guichan you need to move the dlls you downloaded for building into the build directory too (where your mana.exe is).
Regards,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 06:41
by vatarus
Not so simple

All required libraries are located in the folder with the compiled exe.
I am confused by the fact that the size of the compiled exe is smaller than the size of exe from the nightly build.
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Posted: 04 Aug 2013, 06:43
by Ablu
The size is not a big deal... The exe of the nightlies if a full setup. So it contains a lot of different files too.
Can you maybe switch your system to english and take a screenshot of the error then? If have no idea what it says there
