Author Topic: build problem (svn 5892)  (Read 3827 times)

Offline Zini

  • Multiple posting newcomer
  • *
  • Posts: 64
build problem (svn 5892)
« on: October 29, 2009, 02:22:32 pm »
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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: build problem (svn 5892)
« Reply #1 on: October 29, 2009, 03:57:40 pm »
Did you run ./bootstrap before ./configure ... ?

Offline Zini

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: build problem (svn 5892)
« Reply #2 on: October 29, 2009, 04:04:06 pm »
Yes, I did.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: build problem (svn 5892)
« Reply #3 on: October 29, 2009, 04:50:32 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Zini

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: build problem (svn 5892)
« Reply #4 on: October 29, 2009, 04:56:52 pm »
The new checkout into an empty folder did it. Thanks!

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