On Thu, 2010-10-14 at 03:36 -0500, Dale Beams wrote: > Dependency added in wiki: libwxbase2.8-dev for hugin section >
Hugin chokes on build. I've been unable to locate the issue, but am still trying. I've not yet began to dig into the cpp files yet. Dale --- [ 61%] Built target calibrate_lens [ 62%] Built target test_lensFunc [ 63%] Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/ImageCache.cpp.o In file included from /usr/include/wx-2.8/wx/window.h:23, from /usr/include/wx-2.8/wx/toplevel.h:21, from /usr/include/wx-2.8/wx/frame.h:19, from /usr/include/wx-2.8/wx/generic/splash.h:17, from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/cursor.h: In constructor ‘wxBusyCursorSuspender::wxBusyCursorSuspender()’: /usr/include/wx-2.8/wx/cursor.h:65: error: ‘wxIsBusy’ was not declared in this scope /usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ has not been declared /usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’: /usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ was not declared in this scope /usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ has not been declared In file included from /usr/include/wx-2.8/wx/window.h:26, from /usr/include/wx-2.8/wx/toplevel.h:21, from /usr/include/wx-2.8/wx/frame.h:19, from /usr/include/wx-2.8/wx/generic/splash.h:17, from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’: /usr/include/wx-2.8/wx/region.h:251: error: invalid use of incomplete type ‘struct wxRegion’ /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’ /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Subtract(const wxRect&)’: /usr/include/wx-2.8/wx/region.h:256: error: invalid use of incomplete type ‘struct wxRegion’ /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’ /usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Xor(const wxRect&)’: /usr/include/wx-2.8/wx/region.h:261: error: invalid use of incomplete type ‘struct wxRegion’ /usr/include/wx-2.8/wx/gdicmn.h:38: error: forward declaration of ‘struct wxRegion’ In file included from /usr/include/wx-2.8/wx/toplevel.h:21, from /usr/include/wx-2.8/wx/frame.h:19, from /usr/include/wx-2.8/wx/generic/splash.h:17, from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/window.h: At global scope: /usr/include/wx-2.8/wx/window.h:82: error: field ‘font’ has incomplete type /usr/include/wx-2.8/wx/window.h:85: error: field ‘colFg’ has incomplete type /usr/include/wx-2.8/wx/window.h:89: error: field ‘colBg’ has incomplete type /usr/include/wx-2.8/wx/window.h:920: error: ‘wxUpdateUIEvent’ has not been declared /usr/include/wx-2.8/wx/window.h:1116: error: ‘wxSysColourChangedEvent’ has not been declared /usr/include/wx-2.8/wx/window.h:1117: error: ‘wxInitDialogEvent’ has not been declared /usr/include/wx-2.8/wx/window.h:1118: error: ‘wxMouseEvent’ has not been declared /usr/include/wx-2.8/wx/window.h:1133: error: ‘WXWidget’ does not name a type /usr/include/wx-2.8/wx/window.h:1135: error: ‘WXWidget’ has not been declared /usr/include/wx-2.8/wx/window.h:1230: error: field ‘m_cursor’ has incomplete type /usr/include/wx-2.8/wx/window.h:1231: error: field ‘m_font’ has incomplete type /usr/include/wx-2.8/wx/window.h:1232: error: field ‘m_backgroundColour’ has incomplete type /usr/include/wx-2.8/wx/window.h:1233: error: field ‘m_foregroundColour’ has incomplete type /usr/include/wx-2.8/wx/window.h:1240: error: field ‘m_updateRegion’ has incomplete type /usr/include/wx-2.8/wx/window.h:562: error: ‘wxNavigationKeyEvent’ has not been declared /usr/include/wx-2.8/wx/window.h: In member function ‘const wxRegion& wxWindowBase::GetUpdateRegion() const’: /usr/include/wx-2.8/wx/window.h:761: error: ‘m_updateRegion’ was not declared in this scope /usr/include/wx-2.8/wx/window.h: In member function ‘wxRegion& wxWindowBase::GetUpdateRegion()’: /usr/include/wx-2.8/wx/window.h:762: error: ‘m_updateRegion’ was not declared in this scope /usr/include/wx-2.8/wx/window.h: In member function ‘const wxCursor& wxWindowBase::GetCursor() const’: /usr/include/wx-2.8/wx/window.h:850: error: ‘m_cursor’ was not declared in this scope /usr/include/wx-2.8/wx/window.h: In member function ‘wxWindow* wxWindowBase::GetGrandParent() const’: /usr/include/wx-2.8/wx/window.h:1547: error: invalid use of incomplete type ‘struct wxWindow’ /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’ In file included from /usr/include/wx-2.8/wx/frame.h:19, from /usr/include/wx-2.8/wx/generic/splash.h:17, from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/toplevel.h: At global scope: /usr/include/wx-2.8/wx/toplevel.h:119: error: invalid use of incomplete type ‘struct wxWindow’ /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’ /usr/include/wx-2.8/wx/toplevel.h:238: error: ‘wxCloseEvent’ has not been declared /usr/include/wx-2.8/wx/toplevel.h:239: error: ‘wxSizeEvent’ has not been declared /usr/include/wx-2.8/wx/toplevel.h:246: error: ‘wxActivateEvent’ has not been declared /usr/include/wx-2.8/wx/toplevel.h:249: error: ‘wxUpdateUIEvent’ has not been declared /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual bool wxTopLevelWindowBase::IsActive()’: /usr/include/wx-2.8/wx/toplevel.h:183: error: ‘FindFocus’ was not declared in this scope /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual bool wxTopLevelWindowBase::IsVisible() const’: /usr/include/wx-2.8/wx/toplevel.h:235: error: ‘IsShown’ was not declared in this scope /usr/include/wx-2.8/wx/toplevel.h: In member function ‘virtual void wxTopLevelWindowBase::DoGetScreenPosition(int*, int*) const’: /usr/include/wx-2.8/wx/toplevel.h:273: error: ‘DoGetPosition’ was not declared in this scope In file included from /usr/include/wx-2.8/wx/generic/splash.h:17, from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/frame.h: At global scope: /usr/include/wx-2.8/wx/frame.h:53: error: expected class-name before ‘{’ token In file included from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/generic/splash.h:37: error: invalid use of incomplete type ‘struct wxFrame’ /usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of ‘struct wxFrame’ /usr/include/wx-2.8/wx/generic/splash.h:48: error: ‘wxCloseEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:49: error: ‘wxTimerEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:59: error: ‘wxTimer’ does not name a type /usr/include/wx-2.8/wx/generic/splash.h:71: error: invalid use of incomplete type ‘struct wxWindow’ /usr/include/wx-2.8/wx/utils.h:51: error: forward declaration of ‘struct wxWindow’ In file included from /usr/include/wx-2.8/wx/splash.h:15, from /home/user/src/hugin/hugin.hg/src/hugin1/panoinc_WX.h:55, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:29, from /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:27: /usr/include/wx-2.8/wx/generic/splash.h:75: error: ‘wxPaintEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:76: error: ‘wxEraseEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:77: error: ‘wxMouseEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:78: error: ‘wxKeyEvent’ has not been declared /usr/include/wx-2.8/wx/generic/splash.h:84: error: field ‘m_bitmap’ has incomplete type /usr/include/wx-2.8/wx/generic/splash.h: In member function ‘void wxSplashScreenWindow::SetBitmap(const wxBitmap&)’: /usr/include/wx-2.8/wx/generic/splash.h:80: error: ‘m_bitmap’ was not declared in this scope /usr/include/wx-2.8/wx/generic/splash.h: In member function ‘wxBitmap& wxSplashScreenWindow::GetBitmap()’: /usr/include/wx-2.8/wx/generic/splash.h:81: error: ‘m_bitmap’ was not declared in this scope /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp: In function ‘wxImage imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’: /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:1029: error: return type ‘struct wxImage’ is incomplete /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:1029: error: new declaration ‘void imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’ /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.h:47: error: ambiguates old declaration ‘wxImage imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’ /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:1036: error: invalid use of incomplete type ‘struct wxImage’ /usr/include/wx-2.8/wx/bitmap.h:26: error: forward declaration of ‘struct wxImage’ /home/user/src/hugin/hugin.hg/src/hugin1/base_wx/ImageCache.cpp:1039: error: invalid use of incomplete type ‘struct wxImage’ /usr/include/wx-2.8/wx/bitmap.h:26: error: forward declaration of ‘struct wxImage’ make[2]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/ImageCache.cpp.o] Error 1 make[1]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/all] Error 2 make: *** [all] Error 2 -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx