News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

error compile source code

Started by ced236, December 01, 2006, 08:51:24 PM

Previous topic - Next topic

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


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 !

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 !

Please specify the error...

BTW: "wxUSleep" is now known as "wxMilliSleep" in wx 2.6+
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
________________________________________________________________

ced236

thank you sethjackson for you help  :D