User forums > Help
error compile source code
ced236:
hello ,
>
>I have a problem when I compile the soure code of code block
>
>cbthreadpool.cpp:253: error: `wxUSleep' undeclared (first use this
>function)
>cbthreadpool.cpp:253: error: (Each undeclared identifier is reported only
>once
>for each function it appears in.)
>make[4]: *** [cbthreadpool.lo] Error 1
>make[4]: Leaving directory `/home/cedric/Desktop/codeblocks-1.0rc2/src/sdk'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory `/home/cedric/Desktop/codeblocks-1.0rc2/src/sdk'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory `/home/cedric/Desktop/codeblocks-1.0rc2/src/sdk'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/cedric/Desktop/codeblocks-1.0rc2/src'
>make: *** [all-recursive] Error 1
>
>I have a gentoo distribution and I want to compile the sources.
>My version of wxGTK is 2.6.3
>I speak french and very very little english. Scuse me for my bad english...
>thank you for your help.
>ced
sethjackson:
Those sources are soooooooooooooooooo old. Checkout from SVN. ;)
http://www.codeblocks.org/source_code.shtml
Zavonen:
I have the same kind of error with completely new sources !
In fact I've been unable to compile CB sources under mandriva 2006, and I don't know anybody who did !
It's a pity, CB works so well and is so easy to use in the MSW environment.
afb:
--- Quote from: Zavonen on December 02, 2006, 10:29:43 am ---I have the same kind of error with completely new sources !
--- End quote ---
Please specify the error...
BTW: "wxUSleep" is now known as "wxMilliSleep" in wx 2.6+
Zavonen:
--- Quote from: afb on December 02, 2006, 10:40:34 am ---
--- Quote from: Zavonen on December 02, 2006, 10:29:43 am ---I have the same kind of error with completely new sources !
--- End quote ---
Please specify the error...
BTW: "wxUSleep" is now known as "wxMilliSleep" in wx 2.6+
--- End quote ---
Here it is;
[gilles@hpxp trunk]$ make
Making all in src
make[1]: Entering directory `/home/gilles/trunk/src'
Making all in build_tools
make[2]: Entering directory `/home/gilles/trunk/src/build_tools'
Making all in autorevision
make[3]: Entering directory `/home/gilles/trunk/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
*** glibc detected *** free(): invalid next size (normal): 0x0804e320 ***
make[3]: *** [all-local] Abandon
make[3]: Leaving directory `/home/gilles/trunk/src/build_tools/autorevision'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/gilles/trunk/src/build_tools'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/gilles/trunk/src'
make: *** [all-recursive] Erreur 1
________________________________________________________________
Navigation
[0] Message Index
[#] Next page
Go to full version