project-navigation
Personal tools

Author Topic: R24362 - Codeblocks: Compilation Errors  (Read 14217 times)

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #15 on: May 11, 2009, 10:22:23 am »
odie
i start to think you are like this dog ;)

Just freeze for a moment and look at this error

ld.exe||cannot find -lgdk-pixbuf-2.0|
Thats a linking problem (ld.exe)

I told already
than there is an error in radiant.cbp

*Freeze*....... *Freezing*.......*Frozen*.....

Quote
wrong
<Add library="libgdk-pixbuf-2.0" />
right
<Add library="libgdk_pixbuf-2.0" />

The filename is libgdk_pixbuf-2.0
but C::B files want to link libgdk-pixbuf-2.0
and cant find it

Okie. I still dun see the difference.....  :'(

Quote
ld.exe||cannot find -lgdk-pixbuf-2.0|
Thats a linking problem (ld.exe)

I saw this already, i guess u referring to the built - Mattn's latest build with urs overwritting it.

Means tat we cannot compile at all at this point due to an error in the script which needs to be corrected? *My brains must be still pretty groggy......*

So it meant tat ld.exe is missing?? Where should i obtain a copy to place (where?).......

Thanks for being patient ah..... CB is beginning to drive me a lil cranky....

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R24362 - Codeblocks: Compilation Errors
« Reply #16 on: May 11, 2009, 05:29:43 pm »
radiant.cbp is the config file for C::B to compile radiant
you need to modify it
or someone need to fix it (ufoai source)
whatever

radiant.cbp (ufoai\build\projects)
is part of ufoai souce
and not part of C::B files

radiant.cbp
wrong
<Add library="libgdk-pixbuf-2.0" />
right
<Add library="libgdk_pixbuf-2.0" />

If you modify radiant.cbp than you are able to compile the source

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #17 on: May 12, 2009, 04:10:30 am »
radiant.cbp is the config file for C::B to compile radiant
you need to modify it
or someone need to fix it (ufoai source)
whatever

radiant.cbp (ufoai\build\projects)
is part of ufoai souce
and not part of C::B files

radiant.cbp
wrong
<Add library="libgdk-pixbuf-2.0" />
right
<Add library="libgdk_pixbuf-2.0" />

If you modify radiant.cbp than you are able to compile the source

Hi Muton!
*Bulb Lights up!!*

Ah, ok, here's what i did.....
Downloaded Mattn's latest CB.
Deleted the old CB.
Unpacked Mattn's CB.

Edited the /build/projects/radiant.cbp
<See attached>
2 entries of
Code: [Select]
<Add library="libgdk-pixbuf-2.0" />
Changed to
Code: [Select]
<Add library="libgdk_pixbuf-2.0" />

Ran CB.
Compile.

Now, my errors are wierd....

Code: [Select]
||=== ufo2map, windows ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
c:\development\Codeblocks\mingw\include\stdlib.h|365|error: 'void free(void*)' redeclared as different kind of symbol|
c:\development\Codeblocks\mingw\include\libxml\xmlmemory.h|66|error: previous declaration of 'void (* free)(void*)'|
..\..\src\tools\radiant\libs\math\aabb.h|233|warning: 'aabb_normals' defined but not used|
||=== Build finished: 2 errors, 9 warnings ===|
||=== Build finished: 2 errors, 9 warnings ===|

Advise from here?? Muton / Mattn / Destructavator / anyone???

Thanks!

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R24362 - Codeblocks: Compilation Errors
« Reply #18 on: May 12, 2009, 08:08:42 am »
copy the content of my codeblocks diff package over the last mattn C::B build
http://www.4shared.com/file/104530411/49a9d228/codeblocks.html


libxml must be updated too

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: R24362 - Codeblocks: Compilation Errors
« Reply #19 on: May 12, 2009, 08:25:28 am »
which version? please send patches for codeblocks.sh and not diffs for a binary package - otherwise we can't incorporate this into a new version of the package.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R24362 - Codeblocks: Compilation Errors
« Reply #20 on: May 12, 2009, 04:34:37 pm »
> which version?
newest?!
ftp://xmlsoft.org/libxml2/win32/
dont forget the dll

> please send patches
I can't

> codeblocks.sh
bad idea
build just a codeblock.zip and dont download from n sources on the net
Keep it simple (Am i saying this? ;))

> not diffs for a binary package
You're doing the same http://mattn.ninex.info/download
I dont own a webserver!

btw.
radiant_runtime.zip need an update
http://www.mediafire.com/file/tqu3mmz2zqz/radiant_runtime.7z


I've modified your C::B that way
downloaded and merge newest Gtk+
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.1-20090425_win32.zip

download and mege libxml2

download perl http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1004-MSWin32-x86-287188.zip
bin files only


Than i got gtkglext and merged it
==== modify configure ==============
Enter the directory (cd gtkglext-1.2.0)
Edit the “configure” script (using vi or wordpad if you are unfamiliar with vi) and delete the 10 lines containing pangox references except the last one GDKGLEXT_PACKAGES="gdk-2.0 pango pangox gmodule-2.0" just remove pangox from this line, not the entire line!
Run configure script (./configure --prefix=/mingw)
Edit (gdk/Makefile) and remove both lines matching
--fprod "/* enumerations from \"@filename@\" */\n" \
--fprod “\n/* enumerations from \"@filename@\" */" \

env CC='gcc  -march=pentium3 -msse -mfpmath=sse' AR=/usr/bin/ar ./configure --build=i386-pc-mingw32 --disable-gtktest --with-gdktarget=
win32 --disable-static --disable-glibtest


make

copy gtkglext\gdk\gdkglext-config.h to MinGW\include\gdkglext-config.h

copy gtkglext\*.pc to MinGW\lib\pkgconfig
gtkglext\gtk\.libs
gtkglext\gdk\.libs
gtkglext\gdk\win32\.libs
into MinGW\lib

fixed radiant.cbp and compiled successfully

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #21 on: May 13, 2009, 05:47:02 am »
copy the content of my codeblocks diff package over the last mattn C::B build
http://www.4shared.com/file/104530411/49a9d228/codeblocks.html

libxml must be updated too


> which version?
newest?!
ftp://xmlsoft.org/libxml2/win32/
dont forget the dll

> please send patches
I can't

> codeblocks.sh
bad idea
build just a codeblock.zip and dont download from n sources on the net
Keep it simple (Am i saying this? ;))

> not diffs for a binary package
You're doing the same http://mattn.ninex.info/download
I dont own a webserver!

btw.
radiant_runtime.zip need an update
http://www.mediafire.com/file/tqu3mmz2zqz/radiant_runtime.7z


I've modified your C::B that way
downloaded and merge newest Gtk+
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.1-20090425_win32.zip

download and mege libxml2

download perl http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1004-MSWin32-x86-287188.zip
bin files only


Than i got gtkglext and merged it
==== modify configure ==============
Enter the directory (cd gtkglext-1.2.0)
Edit the “configure” script (using vi or wordpad if you are unfamiliar with vi) and delete the 10 lines containing pangox references except the last one GDKGLEXT_PACKAGES="gdk-2.0 pango pangox gmodule-2.0" just remove pangox from this line, not the entire line!
Run configure script (./configure --prefix=/mingw)
Edit (gdk/Makefile) and remove both lines matching
--fprod "/* enumerations from \"@filename@\" */\n" \
--fprod “\n/* enumerations from \"@filename@\" */" \

env CC='gcc  -march=pentium3 -msse -mfpmath=sse' AR=/usr/bin/ar ./configure --build=i386-pc-mingw32 --disable-gtktest --with-gdktarget=
win32 --disable-static --disable-glibtest


make

copy gtkglext\gdk\gdkglext-config.h to MinGW\include\gdkglext-config.h

copy gtkglext\*.pc to MinGW\lib\pkgconfig
gtkglext\gtk\.libs
gtkglext\gdk\.libs
gtkglext\gdk\win32\.libs
into MinGW\lib

fixed radiant.cbp and compiled successfully

Okie, here's wat has been done for me...
*I am getting the idea tat my brains' been fried by my sickness last wk alr....lol*

1) Downloaded Mattn's Latest Codeblocks at: Mattn's Download Page, downloaded the file "codeblocks.zip"

2) Removed all instances of my old CB.....

3) Installed Mattn's Codeblocks (unmodified at this point) into my old codeblock's path.

4) Tried downloading from your suggested link "ftp://xmlsoft.org/libxml2/win32/" but cant, so did a search for libxml2 and downloaded from here (File = http://www.zlatkovic.com/pub/libxml/libxml2-2.7.3.win32.zip) instead.

5) Unzipped files into the MingGW directory.

6) Downloaded the radiant runtime update and unpacked into the MingGW directory.

7) Lost at this point:
Code: [Select]
I've modified your C::B that way
downloaded and merge newest Gtk+
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.1-20090425_win32.zip

download and mege libxml2

download perl http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1004-MSWin32-x86-287188.zip
bin files only


Than i got gtkglext and merged it
==== modify configure ==============
Enter the directory (cd gtkglext-1.2.0)
Edit the “configure” script (using vi or wordpad if you are unfamiliar with vi) and delete the 10 lines containing pangox references except the last one GDKGLEXT_PACKAGES="gdk-2.0 pango pangox gmodule-2.0" just remove pangox from this line, not the entire line!
Run configure script (./configure --prefix=/mingw)
Edit (gdk/Makefile) and remove both lines matching
--fprod "/* enumerations from \"@filename@\" */\n" \
--fprod “\n/* enumerations from \"@filename@\" */" \

env CC='gcc  -march=pentium3 -msse -mfpmath=sse' AR=/usr/bin/ar ./configure --build=i386-pc-mingw32 --disable-gtktest --with-gdktarget=
win32 --disable-static --disable-glibtest


make

copy gtkglext\gdk\gdkglext-config.h to MinGW\include\gdkglext-config.h

copy gtkglext\*.pc to MinGW\lib\pkgconfig
gtkglext\gtk\.libs
gtkglext\gdk\.libs
gtkglext\gdk\win32\.libs
into MinGW\lib

Is it possible tat you zip up your CB package and submit it as a new 'patch' upload somewhere where i can d/l and see if it works for me? lol.

Mattn: Any luck with compiling a new CB package since? :P

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: R24362 - Codeblocks: Compilation Errors
« Reply #22 on: May 13, 2009, 08:10:06 am »
> codeblocks.sh
bad idea
build just a codeblock.zip and dont download from n sources on the net
Keep it simple (Am i saying this? ;))

lol - we didn't had any new c::b package since ... one year. i always asked for someone to update it. nobody did it - because it is easier to download and zip all the needed files on your own. of course. easier than executing ./codeblocks.sh - i totally agree.
* Mattn ends sarcasm.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R24362 - Codeblocks: Compilation Errors
« Reply #23 on: May 13, 2009, 09:06:41 am »
my C::B
updated libxml2, gtk+

http://www.mediafire.com/file/ent2lm2mygy/codeblocks.7z
http://ul.to/l29o43
http://www.megaupload.com/?d=293VVVZD

dont forget
radiant_runtime.zip need an update
http://www.mediafire.com/file/tqu3mmz2zqz/radiant_runtime.7z

Geh' mattn!
Die idee ist ja gut
aber von x seiten sie pakete zu laden
um sie dann zu entpacken
macht das ganze fehleranfaellig
Zumal die pakete von der gnu.win32 website geladen werden
und dementsprechend veraltet sind.
Dann muss man auch noch binaries zur verfuegung stellen
die man aber nicht einpflegen kann weil der webspace fehlt
Obendrein auch noch die winuser ....
Da frage ich dich ist es nicht sinnvoller das paket von einem dev supporten zu lassen
der es getestet hat und zur verfuegung stellt?!

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors (Resolved)
« Reply #24 on: May 13, 2009, 11:14:11 am »
my C::B
updated libxml2, gtk+

http://www.mediafire.com/file/ent2lm2mygy/codeblocks.7z
http://ul.to/l29o43
http://www.megaupload.com/?d=293VVVZD

dont forget
radiant_runtime.zip need an update
http://www.mediafire.com/file/tqu3mmz2zqz/radiant_runtime.7z

Hi Muton,

Thanks for the CB Package....

Here's wat i did....

1) Clean copy of Mattn's Codeblocks.

2) Downloaded ur codeblocks and unzipped overwritting existent files in Mattn's CB.

3) Copy libglib-2.0-0.dll into /codeblocks/MinGW/bin

4) Run the compiler.

My errors:

Code: [Select]
||=== ufo2map, windows ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
..\..\src\tools\radiant\include\igl.h|989|warning: "GL_LOGIC_OP" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|394|warning: this is the location of the previous definition|
..\..\src\tools\radiant\include\igl.h|990|warning: "GL_TEXTURE_COMPONENTS" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|626|warning: this is the location of the previous definition|
C:\SVN Update\src\tools\radiant\radiant\server.cpp|194|warning: 'dllimport' attribute ignored|
(null):.\uforadiant-de.po|187|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|187|parse error|
(null):.\uforadiant-de.po|193|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|193|parse error|
(null):.\uforadiant-de.po|199|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|199|parse error|
(null):.\uforadiant-de.po|211|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|211|parse error|
(null):.\uforadiant-de.po|217|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|217|parse error|
(null):.\uforadiant-de.po|223|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|223|parse error|
(null):.\uforadiant-de.po|1109|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|1109|parse error|
(null):.\uforadiant-de.po|2038|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2038|parse error|
(null):.\uforadiant-de.po|2046|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2046|parse error|
(null):.\uforadiant-de.po|2299|keyword "msgctxt" unknown|
(null): .\uforadiant-de.po|2299|parse error|
(null):.\uforadiant-en.po|177|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|177|parse error|
(null):.\uforadiant-en.po|183|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|183|parse error|
(null):.\uforadiant-en.po|189|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|189|parse error|
(null):.\uforadiant-en.po|200|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|200|parse error|
(null):.\uforadiant-en.po|206|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|206|parse error|
(null):.\uforadiant-en.po|212|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|212|parse error|
(null):.\uforadiant-en.po|1056|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|1056|parse error|
(null):.\uforadiant-en.po|1960|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|1960|parse error|
(null):.\uforadiant-en.po|1967|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|1967|parse error|
(null):.\uforadiant-en.po|2194|keyword "msgctxt" unknown|
(null): .\uforadiant-en.po|2194|parse error|
(null):.\uforadiant-ru.po|181|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|181|parse error|
(null):.\uforadiant-ru.po|187|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|187|parse error|
(null):.\uforadiant-ru.po|193|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|193|parse error|
(null):.\uforadiant-ru.po|204|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|204|parse error|
(null):.\uforadiant-ru.po|210|keyword "msgctxt" unknown|
(null): .\uforadiant-ru.po|210|parse error|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 13 warnings ===|

New errors... unseen b4..... msgctxt? Did a search on forums and nothing.....

Then i decided to do this:
Copy the gettext into the CB MingGW directory, and whala! Its done!

Thanks for the patience....

Not forgetting Muton's advise on the editing for the /build/projects/radiant.chp which i edited.

Let me compile it all and do up the stuff. And get new binaries up. :)

PS, my final warnings from a rebuilt workspace in CB using R24413 were:
Code: [Select]
||=== ufo2map, windows ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
..\..\src\tools\radiant\include\igl.h|989|warning: "GL_LOGIC_OP" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|394|warning: this is the location of the previous definition|
..\..\src\tools\radiant\include\igl.h|990|warning: "GL_TEXTURE_COMPONENTS" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|626|warning: this is the location of the previous definition|
C:\SVN Update\src\tools\radiant\radiant\server.cpp|194|warning: 'dllimport' attribute ignored|
||=== Build finished: 0 errors, 13 warnings ===|

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: R24362 - Codeblocks: Compilation Errors
« Reply #25 on: May 13, 2009, 07:50:07 pm »
Da frage ich dich ist es nicht sinnvoller das paket von einem dev supporten zu lassen
der es getestet hat und zur verfuegung stellt?!

of course it would - but i'm not using windows and i wasn't able to find someone else to do it. so i wrote a script that doing the work from linux. and i would like to see it maintained as i have no other chance of providing a c::b package for windows users.

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #26 on: May 13, 2009, 08:55:56 pm »
Oh....

Its 2.45am here. I might be sounding a bit wierd.....

I am back to report tat although the new CB and stuff is working and compiles ok (Even the NSIS)..... i ran into error when i installed R24413 onto my system.
Win XP SP 3 system.

Error as per pic:
<See attached>

Very strange.... anyone able to advise why this is so?
(CB compiles ok, NSIS script runs ok, but cannot start game).

[attachment deleted by admin]

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #27 on: May 14, 2009, 08:32:43 am »
Okie.....

I have noticed that /radiant/ is missing intl.dll.

So i have added the 103kb file manually inside and will recompile and see if it works......

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: R24362 - Codeblocks: Compilation Errors
« Reply #28 on: May 14, 2009, 09:03:38 am »
Quote from: Muton
dont forget
radiant_runtime.zip need an update
http://www.mediafire.com/file/tqu3mmz2zqz/radiant_runtime.7z

Yesterday this dll was removed during the SVNupdate

As far as i remember
you need to extract this radiant.zip somewhere to build the NSIS installer right?
It would be better to build an sfx zip and extract it on the usersystem on the right place
Because initl.dll is'nt needed by ufo.exe
« Last Edit: May 14, 2009, 09:27:09 am by Muton »

odie

  • Guest
Re: R24362 - Codeblocks: Compilation Errors
« Reply #29 on: May 14, 2009, 12:21:14 pm »
Yesterday this dll was removed during the SVNupdate

As far as i remember
you need to extract this radiant.zip somewhere to build the NSIS installer right?
It would be better to build an sfx zip and extract it on the usersystem on the right place
Because initl.dll is'nt needed by ufo.exe


Nods..... i will try tat - manually copying to the directory and test tonite.

Meanwhile, R24416 got new errors  - the ld.exe thingy again....
Code: [Select]
||=== ufo2map, windows ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_spawn_process(ExecCmd*, void (*)(void*))':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|196|warning: statement has no effect|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp||In function 'void exec_run(Exec*)':|
C:\SVN Update\src\tools\radiant\radiant\exec.cpp|396|warning: statement has no effect|
..\..\src\tools\radiant\include\igl.h|989|warning: "GL_LOGIC_OP" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|394|warning: this is the location of the previous definition|
..\..\src\tools\radiant\include\igl.h|990|warning: "GL_TEXTURE_COMPONENTS" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|626|warning: this is the location of the previous definition|
C:\SVN Update\src\tools\radiant\radiant\server.cpp|194|warning: 'dllimport' attribute ignored|
ld.exe||cannot find -lgdk-pixbuf-2.0|
||=== Build finished: 1 errors, 13 warnings ===|

I remember reading about this ld.exe from one of u.... how did u folks resolved this??