Technical support > Windows
R24362 - Codeblocks: Compilation Errors
odie:
--- Quote from: Muton on May 11, 2009, 07:52:29 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
--- End quote ---
*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
--- End quote ---
Okie. I still dun see the difference..... :'(
--- Quote ---ld.exe||cannot find -lgdk-pixbuf-2.0|
Thats a linking problem (ld.exe)
--- End quote ---
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....
Muton:
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:
--- Quote from: Muton 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
--- End quote ---
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: ---<Add library="libgdk-pixbuf-2.0" />
--- End code ---
Changed to
--- Code: ---<Add library="libgdk_pixbuf-2.0" />
--- End code ---
Ran CB.
Compile.
Now, my errors are wierd....
--- Code: ---||=== 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 ===|
--- End code ---
Advise from here?? Muton / Mattn / Destructavator / anyone???
Thanks!
Muton:
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
Mattn:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version