[ptx] [ hugin-Bugs-1533270 ] hugin-0.6 compilation failures

SourceForge.net noreply at sourceforge.net
Wed Aug 2 17:13:53 BST 2006


Bugs item #1533270, was opened at 2006-08-03 01:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550441&aid=1533270&group_id=77506

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: William Brodie-Tyrrell (wfbrodie)
Assigned to: Nobody/Anonymous (nobody)
Summary: hugin-0.6 compilation failures

Initial Comment:
On gentoo, manually building the 0.6 release:

hugin is configured as follows. Please verify that this
configuration
matches your expectations.

Host system type : i686-pc-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=no             
Static libraries --enable-static=yes            
JPEG             --with-jpeg=           have_jpeg  = yes
PNG              --with-png=            have_png   = yes
TIFF             --with-tiff=           have_tiff  = yes
ZLIB             --with-zlib=           have_zlib  = yes
PANO             --with-pano=           have_pano  = yes
BOOST            --with-boost=          have_boost = yes
Unicode          --with-unicode=no
Debug enabled?   no
compile GUI programs hugin and nona_gui:    yes

Options used to compile and link:
  PREFIX           = /usr/local/stow/hugin-0.6
  VERSION          = 0.6
  CC               = gcc
  CFLAGS           = -g -O2
  CPPFLAGS         = 
  DEFS             = -DHAVE_CONFIG_H
  LDFLAGS          = 
  LIBS             = 
  CXX              = g++
  CXXFLAGS         = -g -O2
  JPEG_FLAGS       = -DHasJPEG
  LIB_JPEG         = -ljpeg
  PNG_FLAGS        = -DHasPNG
  LIB_PNG          = -lpng
  TIFF_FLAGS       = -DHasTIFF
  LIB_TIFF         = -ltiff
  ZLIB_FLAGS       = -DHasZLIB
  LIB_ZLIB         = -lz
  PANO_FLAGS       = -DHasPANO
  LIB_PANO         = -lpano12
  WX_CXXFLAGS      = -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES
  WX_LIBS          = -pthread -lwx_gtk2-2.4
-lwx_gtk2_xrc-2.4
  GTK_CFLAGS       = -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
  GTK_LIBS         = -Wl,--export-dynamic -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
  boost_version    = 103301
  BOOST_CPPFLAGS   = -pthread -I/usr/include
  BOOST_LIBS       = 
  BOOST_THREAD_LIB = -lboost_thread-gcc-mt
  BUILD            = linux
  CPU              = i686

and then:

In file included from
../../src/include/hugin/huginApp.h:29,
                 from huginApp.cpp:35:
../../src/include/hugin/MainFrame.h:203: error: ISO C++
forbids declaration of `wxHtmlHelpController' with no type
../../src/include/hugin/MainFrame.h:203: error:
expected `;' before '*' token

which can be fixed by adding:
#include "wx/html/helpctrl.h"
to the top of MainFrame.h or some other more
appropriate place.

then:

ImageCenter.cpp: In constructor
`ImgCenter::ImgCenter(wxWindow*)':
ImageCenter.cpp:108: error: no matching function for
call to `wxButton::wxButton(ImgCenter* const,
<anonymous enum>)'
/usr/include/wx/wx/wx/gtk/button.h:39: note: candidates
are: wxButton::wxButton(const wxButton&)
/usr/include/wx/wx/wx/gtk/button.h:47: note:          
      wxButton::wxButton(wxWindow*, wxWindowID, const
wxString&, const wxPoint&, const wxSize&, long int,
const wxValidator&, const wxString&)
/usr/include/wx/wx/wx/gtk/button.h:41: note:          
      wxButton::wxButton()
ImageCenter.cpp:111: error: no matching function for
call to `wxButton::wxButton(ImgCenter* const,
<anonymous enum>)'
/usr/include/wx/wx/wx/gtk/button.h:39: note: candidates
are: wxButton::wxButton(const wxButton&)
/usr/include/wx/wx/wx/gtk/button.h:47: note:          
      wxButton::wxButton(wxWindow*, wxWindowID, const
wxString&, const wxPoint&, const wxSize&, long int,
const wxValidator&, const wxString&)
/usr/include/wx/wx/wx/gtk/button.h:41: note:          
      wxButton::wxButton()
m


I think that's using wx-2.4 headers.  I have a wx-2.6
directory and if I fiddle symlinks in /usr/include so
that it looks in there, I get *loads* of compilation
errors due to #error directives in the hugin source.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550441&aid=1533270&group_id=77506


More information about the ptx mailing list