Compilation problems on Windows platform
Compilation problems on Windows platform
The client (2013.06.19.0340) does not start because of libgcc_s_sjlj-1.dll not found.
Нow to fix?
Нow to fix?
Last edited by vatarus on 09 Aug 2013, 13:59, edited 1 time in total.
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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
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
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
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 (148.84 KiB) Viewed 3403 times
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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
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
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.
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
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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
Regards,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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?
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
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)
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
Just don't use gcc 4.7.0 or 4.7.1. Any other version is fine (4.6.x or 4.7.2+)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)
Former programmer for the TMWA server.
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
Well, updated MinGW to version 4.7.2-1 from http://sourceforge.net/ but still have a compilation error.
What is the problem now?
What is the problem now?
- Attachments
-
errors.txt
- (1.61 KiB) Downloaded 37 times
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
The CodeBlocks file has to be manually updated, and hasn't been since the following files were added: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?
- src/resources/chardb.cpp
- src/resources/chardb.h
Former programmer for the TMWA server.
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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?
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 (64.78 KiB) Viewed 3342 times
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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
Regards,
Ablu
Re: libgcc_s_sjlj-1.dll not found (client ver. 2013.06.19.03
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.

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
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
Can you maybe switch your system to english and take a screenshot of the error then? If have no idea what it says there
