Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CVS seems broken ?
rig0r:
Current CVS doesnt seem to compile:
# ./configure --prefix=/usr/local/codeblocks-cvs --enable-contrib
# make
--- Code: --- g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I../../../src/sdk/wxscintilla/include -I../../../src/sdk/tinyxml -I../../../src/sdk -I../../../src/sdk/as/include -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -g -O2 -O2 -ffast-math -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -MT scriptbindings.lo -MD -MP -MF .deps/scriptbindings.Tpo -c ./bindings/scriptbindings.cpp -fPIC -DPIC -o .libs/scriptbindings.o
bindings/scriptbindings.cpp:15: error: `cbProject' was not declared in this
scope
bindings/scriptbindings.cpp:15: error: `p' was not declared in this scope
--- End code ---
Followed by a bunch of other compile errors.
Running Gentoo/Linux.
Thanks :)
Der Meister:
In this thread mandrav says that currently only CodeBlocks-NewBuild.cbp is up-to-date, thus even the Makefile seems to be outdated. Anyway I got the same errors when trying to build the current CVS-version on Gentoo but using the project file at least these errors don't appear. But I'm still struggling with some problems about <wx/setup.h> :?
rig0r:
Ah. I see I need a post 1.0rc2 Linux CVS binary to be able to build the current CVS version using the new project file. Are there linux CVS binaries available ?
Der Meister:
In fact 1.0RC2 is enough to build the new cvs-version. I have just finished compiling the current cvs-version using a modified CodeBlock-NewBuild.cbp. But I still can't test if it was successfull because it seems that I need an install script like the one the old Makefile provided. But the old one simply doesn't wok because it's quite outdated. Thus if I try to run the just compiled executable I just get an error message saying that libcodeblocks.so cannot be found.
mandrav:
I don't really understand what the problem is here...
You 're talking about linux, so this should be enough:
--- Code: ---./configure --enable-contrib --prefix=/usr
make
sudo make install
--- End code ---
Why the confusion?
Navigation
[0] Message Index
[#] Next page
Go to full version