Author Topic: CB SVN rev 4880 compilation error  (Read 3189 times)

Offline once_upon_user

  • Single posting newcomer
  • *
  • Posts: 6
CB SVN rev 4880 compilation error
« on: February 16, 2008, 10:34:12 am »
Hello,

I'm using CB from SVN updating it from time to time, doing make clean, and update then. But for some reason none of recently tried revison compiled. To be more precise I have changed wxGtk to the version 2.8.7  according to manual and executed following instructions (path setting , etc) and during the compilation I receive such an log:

Quote
infopane.cpp: In member function 'void InfoPane::ContextMenu(wxContextMenuEvent&)':
/opt/wx/2.8/include/wx-2.8/wx/gtk/menu.h:100: error: 'virtual wxMenuItem* wxMenu::DoAppend(wxMenuItem*)' is protected
infopane.cpp:195: error: within this context
make[3]: *** [infopane.o] Błąd 1
make[3]: Leaving directory `/home/jacekc/codeblocks/trunk/src/src'
make[2]: *** [all-recursive] Błąd 1
make[2]: Leaving directory `/home/jacekc/codeblocks/trunk/src/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/jacekc/codeblocks/trunk/src'
make: *** [all-recursive] Błąd 1

Thanks in advance for any suggestions,

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: CB SVN rev 4880 compilation error
« Reply #1 on: February 16, 2008, 12:48:34 pm »
You wrote that you do a make clean, does that mean that you use the linux automake/autoconf tools.

If that's the case you should also run the bootstrap-script (./bootstrap) to update the Makefile.in's if the Makefile.am's have changed.

And of course don't forget to run ./configure with the parameters you need after ./bootstrap.

Offline once_upon_user

  • Single posting newcomer
  • *
  • Posts: 6
Re: CB SVN rev 4880 compilation error
« Reply #2 on: February 16, 2008, 01:03:45 pm »
Ma fault, I didn't write precisly. I did everything according to manual I mean wiki page of CB. So after make clean, svn update, bootstrap, configure, and make... make was interrupted by an error I have described in previus post.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: CB SVN rev 4880 compilation error
« Reply #3 on: February 16, 2008, 01:11:45 pm »
Have you tried svn cleanup or to fetch a new clean copy of the source ?

For me it compiles without any problems.

Offline once_upon_user

  • Single posting newcomer
  • *
  • Posts: 6
Re: CB SVN rev 4880 compilation error
« Reply #4 on: February 16, 2008, 02:13:28 pm »
thank! Refetching the Source helped! I have been updating my CB svn copy for a long time , maybe it broke down for some reason.. Anyway thanks

Regards,
« Last Edit: February 16, 2008, 02:15:11 pm by once_upon_user »