win32 codeblocks compile error

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
civa_Hg
Peon
Peon
Posts: 7
Joined: 20 Mar 2007, 15:28

win32 codeblocks compile error

Post by civa_Hg » 20 Mar 2007, 15:37

i downloaded source code and devpack file. i install it.

code blocks cant compile the source code.

i got tooooooooooooooooooooo many errors.

can anyone try to compile manaworld at win32 with codeblocks.

compiler:mingw32
program:code::blocks
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 20 Mar 2007, 18:11

I am using codeblocks and it compiles fine. Unfortunately I can't help you as long as you don't state:

-What you are trying to compile (eAthena client, TMWServ client, TMWServ)
-What errors exactly you get
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 20:48
Location: Espoo, Finland

Post by Rotonen » 21 Mar 2007, 10:36

Yeah code::blocks works fine for me too, so I (too) would say that it's a configuration error by you. So what errors does it throw at you?
This message used to be meaningful.
civa_Hg
Peon
Peon
Posts: 7
Joined: 20 Mar 2007, 15:28

tmw-0.0.22.2

Post by civa_Hg » 21 Mar 2007, 16:15

i downloaded tmw-0.0.22.2.tar.gz (simple client release)

i extract the tmw devpak to code::blocks

first i get DWORD error.

i fix it. (i added window.h)

and then

i get "undefined referenced to ....." error.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 21 Mar 2007, 16:36

Undefined reference to what?

Please just post the complete compile log. We can't help you when you don't give us any information.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
civa_Hg
Peon
Peon
Posts: 7
Joined: 20 Mar 2007, 15:28

error

Post by civa_Hg » 21 Mar 2007, 18:36

.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x181): undefined reference to `adler32'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x19d): undefined reference to `adler32'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x3f1a): undefined reference to `_imp__curl_easy_init'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x3f81): undefined reference to `_imp__curl_easy_setopt'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x3f9e): undefined reference to `_imp__curl_easy_setopt'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x3fba): undefined reference to `_imp__curl_easy_setopt'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x408a): undefined reference to `_imp__curl_easy_setopt'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x40a7): undefined reference to `_imp__curl_easy_setopt'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x40d3): more undefined references to `_imp__curl_easy_setopt' follow
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x4194): undefined reference to `_imp__curl_easy_perform'
.objs\gui\updatewindow.o:updatewindow.cpp:(.text+0x42fb): undefined reference to `_imp__curl_easy_cleanup'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x19f): undefined reference to `png_create_write_struct'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x1d4): undefined reference to `png_create_info_struct'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x1f0): undefined reference to `png_destroy_write_struct'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x233): undefined reference to `png_destroy_write_struct'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x275): undefined reference to `png_init_io'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x2e4): undefined reference to `png_set_IHDR'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x2f6): undefined reference to `png_write_info'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x301): undefined reference to `png_set_packing'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x388): undefined reference to `png_write_image'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x39a): undefined reference to `png_write_end'
.objs\resources\imagewriter.o:imagewriter.cpp:(.text+0x3c9): undefined reference to `png_destroy_write_struct'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x16c): undefined reference to `inflateInit2_'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x191): undefined reference to `inflateEnd'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x1b0): undefined reference to `inflate'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x201): undefined reference to `inflateEnd'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x240): undefined reference to `inflateEnd'
.objs\resources\mapreader.o:mapreader.cpp:(.text+0x2a7): undefined reference to `inflateEnd'
C:\Program Files\CodeBlocks\bin\lib\libphysfs.a(zip.lo): In function `ZIP_read':
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:299: undefined reference to `inflate'
C:\Program Files\CodeBlocks\bin\lib\libphysfs.a(zip.lo): In function `ZIP_seek':
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:364: undefined reference to `inflateInit2_'
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:370: undefined reference to `inflateEnd'
C:\Program Files\CodeBlocks\bin\lib\libphysfs.a(zip.lo): In function `ZIP_fileClose':
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:406: undefined reference to `inflateEnd'
C:\Program Files\CodeBlocks\bin\lib\libphysfs.a(zip.lo): In function `zip_resolve':
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:736: undefined reference to `inflateInit2_'
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:738: undefined reference to `inflate'
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:739: undefined reference to `inflateEnd'
C:\Program Files\CodeBlocks\bin\lib\libphysfs.a(zip.lo): In function `ZIP_openRead':
C:/msys/1.0/home/Administrator/physfs-1.0.1/archivers/zip.c:1409: undefined reference to `inflateInit2_'
collect2: ld returned 1 exit status
Process terminated with status 1 (1 minutes, 37 seconds)
8 errors, 0 warnings
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 21 Mar 2007, 21:15

The following libraries don't seem to be installed properly:

zlib
curl
SDLImage
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
civa_Hg
Peon
Peon
Posts: 7
Joined: 20 Mar 2007, 15:28

thanks

Post by civa_Hg » 22 Mar 2007, 14:38

Yessss, work. Thanks for answer (very quick :) ).

Now I'll compile server source.
Post Reply