Compilation problems on Windows platform

The 2009 Mana project went dormant around 2014 and was revived in 2023; it currently develops a client implementation for TMW and potentially other games.


User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Compilation problems on Windows platform

Post by vatarus »

The client (2013.06.19.0340) does not start because of libgcc_s_sjlj-1.dll not found.
Нow to fix?
Last edited by vatarus on 09 Aug 2013, 13:59, edited 1 time in total.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
Attachments
client.jpg
client.jpg (148.84 KiB) Viewed 3403 times
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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.
Attachments
errors.txt
(9.23 KiB) Downloaded 46 times
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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?
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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)
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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+)
Former programmer for the TMWA server.
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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?
Attachments
errors.txt
(1.61 KiB) Downloaded 37 times
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
Former programmer for the TMWA server.
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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?
Attachments
error.jpg
error.jpg (64.78 KiB) Viewed 3342 times
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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
User avatar
vatarus
Peon
Peon
Posts: 30
Joined: 05 Aug 2011, 04:42

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03

Post 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 :)
Post Reply