← Back to team overview

hugin-devs team mailing list archive

[Bug 679534] Re: Compiling error

 

With the non-english error messages this is difficult to read. Please
use

export LANG=C ; make

Probably fixed by now. Compiled just fine here.

** Changed in: hugin
   Importance: Undecided => Low

** Changed in: hugin
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/679534

Title:
  Compiling error

Status in Hugin - Panorama Tools GUI:
  Fix Released

Bug description:
  I use 32bits Ubuntu 9.04. And I have installed all dependencies (libwxbase2.8-dev and the rest) of Hugin. But when I execute "make" have this compiling error:

miguel@miguel-portatil:~/Escritorio/hugin-2010.0.0$ make
[  0%] 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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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’ no se declaró en este ámbito
/usr/include/wx-2.8/wx/cursor.h:67: error: ‘wxBusyCursor’ no se ha declarado
/usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:72: error: ‘wxIsBusy’ no se declaró en este ámbito
/usr/include/wx-2.8/wx/cursor.h:74: error: ‘wxBusyCursor’ no se ha declarado
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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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: el campo ‘font’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:85: error: el campo ‘colFg’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:89: error: el campo ‘colBg’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:920: error: ‘wxUpdateUIEvent’ no se ha declarado
/usr/include/wx-2.8/wx/window.h:1108: error: ‘wxSysColourChangedEvent’ no se ha declarado
/usr/include/wx-2.8/wx/window.h:1109: error: ‘wxInitDialogEvent’ no se ha declarado
/usr/include/wx-2.8/wx/window.h:1110: error: ‘wxMouseEvent’ no se ha declarado
/usr/include/wx-2.8/wx/window.h:1125: error: ‘WXWidget’ no nombra a un tipo
/usr/include/wx-2.8/wx/window.h:1127: error: ‘WXWidget’ no se ha declarado
/usr/include/wx-2.8/wx/window.h:1222: error: el campo ‘m_cursor’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:1223: error: el campo ‘m_font’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:1224: error: el campo ‘m_backgroundColour’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:1225: error: el campo ‘m_foregroundColour’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:1232: error: el campo ‘m_updateRegion’ tiene tipo de dato incompleto
/usr/include/wx-2.8/wx/window.h:562: error: ‘wxNavigationKeyEvent’ no se ha declarado
/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’ no se declaró en este ámbito
/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’ no se declaró en este ámbito
/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’ no se declaró en este ámbito
/usr/include/wx-2.8/wx/window.h: In member function ‘wxWindow* wxWindowBase::GetGrandParent() const’:
/usr/include/wx-2.8/wx/window.h:1539: 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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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’ no se ha declarado
/usr/include/wx-2.8/wx/toplevel.h:239: error: ‘wxSizeEvent’ no se ha declarado
/usr/include/wx-2.8/wx/toplevel.h:246: error: ‘wxActivateEvent’ no se ha declarado
/usr/include/wx-2.8/wx/toplevel.h:249: error: ‘wxUpdateUIEvent’ no se ha declarado
/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’ no se declaró en este ámbito
/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’ no se declaró en este ámbito
/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’ no se declaró en este ámbito
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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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/miguel/Escritorio/hugin-2010.0.0/src/hugin1/panoinc_WX.h:55,
                 from /home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:28,
                 from /home/miguel/Escritorio/hugin-2010.0.0/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’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:49: error: ‘wxTimerEvent’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:59: error: ‘wxTimer’ no nombra a un tipo
/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’
/usr/include/wx-2.8/wx/generic/splash.h:75: error: ‘wxPaintEvent’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:76: error: ‘wxEraseEvent’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:77: error: ‘wxMouseEvent’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:78: error: ‘wxKeyEvent’ no se ha declarado
/usr/include/wx-2.8/wx/generic/splash.h:84: error: el campo ‘m_bitmap’ tiene tipo de dato incompleto
/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’ no se declaró en este ámbito
/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’ no se declaró en este ámbito
/home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.cpp: In function ‘wxImage imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’:
/home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.cpp:1029: error: el tipo de devolución ‘struct wxImage’ es un tipo de dato incompleto
/home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.cpp:1029: error: declaración nueva ‘void imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’
/home/miguel/Escritorio/hugin-2010.0.0/src/hugin1/base_wx/ImageCache.h:46: error: hace ambigua la declaración antigua ‘wxImage imageCacheEntry2wxImage(boost::shared_ptr<HuginBase::ImageCache::Entry>)’
/home/miguel/Escritorio/hugin-2010.0.0/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/miguel/Escritorio/hugin-2010.0.0/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
miguel@miguel-portatil:~/Escritorio/hugin-2010.0.0$