Technical support > Windows
R24362 - Codeblocks: Compilation Errors
Muton:
> 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:
--- Quote from: Muton 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
--- End quote ---
--- Quote from: Muton 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
--- End quote ---
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: ---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
--- End code ---
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
Mattn:
--- Quote from: Muton on May 12, 2009, 04:34:37 pm ---> 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? ;))
--- End quote ---
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.
Muton:
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:
--- Quote from: Muton 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
--- End quote ---
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: ---||=== 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 ===|
--- End code ---
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: ---||=== 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 ===|
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version