Compile Error (CodeBlocks)
Compile Error (CodeBlocks)
Hi
I have a problem with compilation.
Has anyone had a similar problem?
I use CodeBlocks 10.05.
I have a problem with compilation.
Has anyone had a similar problem?
I use CodeBlocks 10.05.
- Attachments
-
- error.txt
- (9.87 KiB) Downloaded 99 times
Re: Compile Error (CodeBlocks)
Looks like you're missing the guichan library?
Note that the Code::Blocks project might not be kept up-to-date - though I'm not sure whether there have been any changes in the mana codebase lately that would invalidate it.
Note that the Code::Blocks project might not be kept up-to-date - though I'm not sure whether there have been any changes in the mana codebase lately that would invalidate it.
Former programmer for the TMWA server.
Re: Compile Error (CodeBlocks)
Thanks o11c
There is the guichan library in the project.
Most likely the CodeBlocks project is no longer supported.
Do you know how to compile client for windows?
How to compile, for example, nightly builds for Windows?
There is the guichan library in the project.
Most likely the CodeBlocks project is no longer supported.
Do you know how to compile client for windows?
How to compile, for example, nightly builds for Windows?
Re: Compile Error (CodeBlocks)
Let me see if I can't compile it in code::blocks
Re: Compile Error (CodeBlocks)
Full Build Log
- Attachments
-
- BuildLog.txt
- (84.5 KiB) Downloaded 84 times
Re: Compile Error (CodeBlocks)
vatarus: Please check the linking settings for guichan. You have to set it to the correct path. So make sure that the guichan libary is available in the searchpath for the libraries (if you lack the binaries, you find them here: https://github.com/mana/mana-mingw-libs/tree/master/lib).
Re: Compile Error (CodeBlocks)
Linking settings for guichan (see screenshots).
Tell me, please, what is wrong?
Tell me, please, what is wrong?
- Attachments
-
- 2013-03-29_185621.jpg (48.89 KiB) Viewed 3627 times
-
- 2013-03-29_185607.jpg (49.36 KiB) Viewed 3627 times
-
- 2013-03-29_185344.jpg (57.25 KiB) Viewed 3627 times
Re: Compile Error (CodeBlocks)
I got the same error. Any suggestions?
Re: Compile Error (CodeBlocks)
Ah sorry missed the earlier reply here. Are you sure that you have the guichan ddl's in your lib folder? You need those files: https://github.com/mana/mana-mingw-libs/tree/master/lib
EDIT: I was just able to try it on a windows pc. I was able to link/build it without modifiying any settings. So only copy the files to the right locations, open codeblocks and compile.
EDIT: I was just able to try it on a windows pc. I was able to link/build it without modifiying any settings. So only copy the files to the right locations, open codeblocks and compile.
Re: Compile Error (CodeBlocks)
I guess I dit it.
I have git the whole project "mana-mingw-libs" on my disk. In Code::Blocks my build options look like this:
build options->Search directories->Compiler
src\
include
..\mana-mingw-libs\include\libxml
..\mana-mingw-libs\include
libs\enet\include
build options->Search directories->Linker
lib
..\mana-mingw-libs\lib
FYI, I am using Code::Blocks 12.11 on Win7. And I have successfully compiled the "accountserver" and "gameserver".
Forgive me, I have another question not relate to this topic. I am confused with
clientDataPath to the path of your client data.
serverDataPath to the path of your server data.
at the doc http://doc.manasource.org/server_configuration. Where can I get the server data and client data. The example folder seems simple. Can the "tmwa-client-data" and "tmwa-server-data" at github work?
I have git the whole project "mana-mingw-libs" on my disk. In Code::Blocks my build options look like this:
build options->Search directories->Compiler
src\
include
..\mana-mingw-libs\include\libxml
..\mana-mingw-libs\include
libs\enet\include
build options->Search directories->Linker
lib
..\mana-mingw-libs\lib
FYI, I am using Code::Blocks 12.11 on Win7. And I have successfully compiled the "accountserver" and "gameserver".
Forgive me, I have another question not relate to this topic. I am confused with
clientDataPath to the path of your client data.
serverDataPath to the path of your server data.
at the doc http://doc.manasource.org/server_configuration. Where can I get the server data and client data. The example folder seems simple. Can the "tmwa-client-data" and "tmwa-server-data" at github work?
Re: Compile Error (CodeBlocks)
Thanks Ablu!
This linker error caused by binary incompatible. The libraries and the source compiled with different GCC. With the help of Ablu, assign the gcc compiler in Code::Blocks with the official MingW. If you still get such issue, try to change a gcc version or ask the developer update the library.
This linker error caused by binary incompatible. The libraries and the source compiled with different GCC. With the help of Ablu, assign the gcc compiler in Code::Blocks with the official MingW. If you still get such issue, try to change a gcc version or ask the developer update the library.