[ptx] [ hugin-Bugs-1535473 ] doesn't compile on linux gcc 4.1. MainFrame.h:52

SourceForge.net noreply at sourceforge.net
Sun Aug 6 18:53:57 BST 2006


Bugs item #1535473, was opened at 2006-08-06 17:53
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=1535473&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: aleppax (ale_proglio)
Assigned to: Nobody/Anonymous (nobody)
Summary: doesn't compile on linux gcc 4.1. MainFrame.h:52

Initial Comment:
An error occurs when I try to compile.

if g++ -DHAVE_CONFIG_H "-I." -I../../src/include
-I../../src/foreign -I../../src/include -I..
-I/usr/local/lib/wx/include/x11univ-ansi-release-2.6
-I/usr/local/include/wx-2.6 -D__WXUNIVERSAL__
-D__WXX11__ -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA    -I/usr/local/include
-DHasPANO -pthread -I/usr/include
-DINSTALL_XRC_DIR=\"/usr/local/share/hugin/xrc\"
-DINSTALL_LOCALE_DIR=\"/usr/local/share/locale\" -g -O2
-MT huginApp.o -MD -MP -MF ".deps/huginApp.Tpo" -c -o
huginApp.o huginApp.cpp; \
then mv -f ".deps/huginApp.Tpo" ".deps/huginApp.Po";
else rm -f ".deps/huginApp.Tpo"; exit 1; fi
../../src/include/hugin/MainFrame.h:52: error: expected
class-name before ‘{’ token
make[3]: *** [huginApp.o] Error 1
make[3]: Leaving directory
`/home/aleppax/Sorgenti/hugin-0.6/hugin/src/hugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/aleppax/Sorgenti/hugin-0.6/hugin/src/hugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/aleppax/Sorgenti/hugin-0.6/hugin/src'
make: *** [all-recursive] Error 1

My system:
Suse linux 10.1, gcc 4.1, 
Host system type : i686-suse-linux

                  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
  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       = -I/usr/local/include -DHasPANO
  LIB_PANO         = -L/usr/local/lib -lpano12
  WX_CXXFLAGS      =
-I/usr/local/lib/wx/include/x11univ-ansi-release-2.6
-I/usr/local/include/wx-2.6 -D__WXUNIVERSAL__
-D__WXX11__ -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DNO_GCC_PRAGMA
  WX_LIBS          = -L/usr/local/lib -pthread
-L/usr/X11R6/lib -lwx_x11univ_xrc-2.6
-lwx_x11univ_qa-2.6 -lwx_x11univ_html-2.6
-lwx_x11univ_adv-2.6 -lwx_x11univ_core-2.6
-lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6
  GTK_CFLAGS       =
  GTK_LIBS         =
  boost_version    = 103301
  BOOST_CPPFLAGS   = -pthread -I/usr/include
  BOOST_LIBS       =
  BOOST_THREAD_LIB = -lboost_thread-mt
  BUILD            = linux
  CPU              = i686


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

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


More information about the ptx mailing list