News:

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

Main Menu

build problem (svn 5892)

Started by Zini, October 29, 2009, 02:22:32 PM

Previous topic - Next topic

Zini

I am trying to build svn rev 5892 from source. Ubuntu 9.04, 64 bit. libwxgtk2.8-0 (version 2.8.10.1-1)

./bootstrap
./configure --with-contrib-plugins=all
make

Error:

g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include\mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr/local\"" -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp
app.cpp: In member function 'void CodeBlocksApp::OnAppActivate(wxActivateEvent&)':
app.cpp:1251: error: invalid use of incomplete type 'struct wxFlatNotebook'
./editormanager.h:30: error: forward declaration of 'struct wxFlatNotebook'

Any help?

Jenna

Did you run ./bootstrap before ./configure ... ?

Zini


stahta01

Please verify you got a good SVN checkout; I just checked them files and we are now using wxAuiNotebook instead of wxFlatNotebook.

What was the SVN URL you used?

You might try a completely new checkput to empty folder.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Zini

The new checkout into an empty folder did it. Thanks!

Apparently something got messed up while updating the old checkout. Still a strange error ...