News:

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

Main Menu

CB SVN rev 4880 compilation error

Started by once_upon_user, February 16, 2008, 10:34:12 AM

Previous topic - Next topic

once_upon_user

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,

Jenna

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.

once_upon_user

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.

Jenna

Have you tried svn cleanup or to fetch a new clean copy of the source ?

For me it compiles without any problems.

once_upon_user

#4
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,