Thread 'BOINC Manager fails to compile against the latest wxgtk libraries'

Message boards : BOINC Manager : BOINC Manager fails to compile against the latest wxgtk libraries
Message board moderation

To post messages, you must log in.

AuthorMessage
Enricus

Send message
Joined: 22 Mar 07
Posts: 1
Message 8993 - Posted: 22 Mar 2007, 18:08:36 UTC

Hi! Yesterday I tried to compile the CVS version of BOINC and found that it fails to compile against wxgtk version 2.8.0.1. So, the graphical output is disabled. Another user of the PKGBUILD (like gentoo's ebuilds) i was using confirmed this. The output i get from make is:

g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched -pthread -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__ -I../wizards -fPIC -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched -pthread -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../wizards -march=i686 -O2 -pipe -I/usr/include -I/usr/include/openssl -pthread -MT boinc_gui-MainFrame.o -MD -MP -MF .deps/boinc_gui-MainFrame.Tpo -c -o boinc_gui-MainFrame.o `test -f 'MainFrame.cpp' || echo './'`MainFrame.cpp
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T)':
MainFrame.cpp:628: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::DeleteNotebook()':
MainFrame.cpp:671: warning: possible problem detected in invocation of delete operator:
MainFrame.cpp:662: warning: 'pImageList' has incomplete type
/usr/include/wx-2.8/wx/generic/listctrl.h:16: warning: forward declaration of 'struct wxImageList'
MainFrame.cpp:671: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewProjects*]':
MainFrame.cpp:592: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewWork*]':
MainFrame.cpp:593: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewTransfers*]':
MainFrame.cpp:594: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewMessages*]':
MainFrame.cpp:595: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewStatistics*]':
MainFrame.cpp:596: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
MainFrame.cpp: In member function 'bool CMainFrame::CreateNotebookPage(T) [with T = CViewResources*]':
MainFrame.cpp:597: instantiated from here
MainFrame.cpp:623: error: invalid use of undefined type 'struct wxImageList'
/usr/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of 'struct wxImageList'
make[2]: *** [boinc_gui-MainFrame.o] Error 1
make[2]: Leaving directory `/home/enr1x/Sources/boinc/BOINC/boinc/src/boinc-build/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/enr1x/Sources/boinc/BOINC/boinc/src/boinc-build'
make: *** [all] Error 2

Hope this can help to any debugging purposes. Thanks!
ID: 8993 · Report as offensive

Message boards : BOINC Manager : BOINC Manager fails to compile against the latest wxgtk libraries

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.