Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CVS changes

(1/5) > >>

mandrav:
Some things have changed in CVS:

[*] Code::Blocks is now using the GNU build system (autoconf/automake), at least for non-windows platforms :D
[*] All provided makefiles are now gone :shock:
[*] Many doc files have been moved from src/ to the top-level folder (COPYING, AUTHORS, etc)
[/list]

Well, how does Code::Blocks build now?
I will update the relevant README files but until I do, here goes:

Windows
Download latest stable Code::Blocks if you don't already have it (shame on you!)
Open with it the CodeBlocks.cbp (wx2.4) or CodeBlocks.wx2.6.cbp (wx2.6) project file, edit the project's custom variables (to point to your wx installation) and build it.

Unix
The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.
Then just do the usual stuff:

--- Code: ---mkdir -p build/release
cd build/release
../../configure
make
sudo make install

--- End code ---

or


--- Code: ---mkdir -p build/debug
cd build/debug
../../configure --enable-debug
make
sudo make install

--- End code ---

Use 'configure --help' to see what things you can enable/disable.

With that said, it works for me but I 'd like to know if people are having problems with it.

takeshimiya:
Reporting in from Debian (SimpleMepis 3.3.1), wx2.6.1, NonUnicode, Code::Blocks HEAD.

It stops at make with errors: Makefile:429: .deps/Managers.Plo: No such file or directory and so on.

BTW, what is a ".Plo"?

See the attached file.

[attachment deleted by admin]

mandrav:
Sorry about that. There are a couple of files missing. I will add them ASAP.

I forgot to add: the build system is not yet complete. The make 'install' and 'uninstall' targets work. What doesn't work yet is 'clean', 'dist' and 'distclean'. Don't try those because it will erase files from your working copy!!!

mandrav:
Done, missing files added :)

grv575:
running ./bootstrap:

--- Code: ---aclocal:configure.in:147: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:147: error: possibly undefined macro: AM_PATH_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
root:/usr/src/codeblocks# wx-config --prefix
/opt/wx/2.6

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version