Author Topic: error compile source code  (Read 4684 times)

ced236

  • Guest
error compile source code
« on: December 01, 2006, 08:51:24 pm »
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
« Last Edit: December 01, 2006, 08:56:50 pm by ced236 »

sethjackson

  • Guest
Re: error compile source code
« Reply #1 on: December 01, 2006, 08:55:12 pm »
Those sources are soooooooooooooooooo old. Checkout from SVN. ;)

http://www.codeblocks.org/source_code.shtml

Zavonen

  • Guest
Re: error compile source code
« Reply #2 on: December 02, 2006, 10:29:43 am »
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.

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: error compile source code
« Reply #3 on: December 02, 2006, 10:40:34 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

  • Guest
Re: error compile source code
« Reply #4 on: December 03, 2006, 09:43:08 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

  • Guest
Re: error compile source code
« Reply #5 on: December 03, 2006, 01:27:19 pm »
thank you sethjackson for you help  :D