SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: error building Seg3D (Spline Tool branch) Revision: 44884


Chronological Thread 
  • From: Ayla Khan <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: error building Seg3D (Spline Tool branch) Revision: 44884
  • Date: Mon, 14 Feb 2011 16:53:40 -0700

Hi Ramon,

Have a look at the build.sh script in the SCIRun trunk - we ran into some 
problems building wxWidgets on Linux that I think are similar to the problems 
you're having.  I can help if you have questions.

Ayla

On Feb 14, 2011, at 4:39 PM, Ramón Casero Cañas wrote:

> 
> Hi all,
> 
> I have added a menu option to load control points into the Seg3D branch 
> with the Spline Tool
> 
> https://code.sci.utah.edu/svn/cibc/cibc/branches/seg3d_spline_tool/SCIRun
> 
> but the code has been updated since the version I had, so I couldn't commit 
> the changes.
> 
> I have checked out a fresh copy, and tried to build, and the process breaks 
> (see error message below).
> 
> This maybe has to do with the compiler version? Previously, I had to create 
> a patch for Ubuntu 9.10 to force using v3.4 of gcc and g++.
> 
> Ubuntu is currently 10.10, which brings by default gcc v4.4.
> 
> I created a patch back in the day (patch-for-ubuntu-9.10.diff), but it 
> fails with the current source code.
> 
> 
> 
> <ERROR>
> Configured wxWidgets 2.8.9 for `x86_64-unknown-linux-gnu'
> 
>  Which GUI toolkit should wxWidgets use?                 GTK+ 2
>  Should wxWidgets be compiled into single library?       no
>  Should wxWidgets be compiled in debug mode?             no
>  Should wxWidgets be linked as a shared library?         no
>  Should wxWidgets be compiled in Unicode mode?           no
>  What level of wxWidgets compatibility should be enabled?
>                                       wxWidgets 2.4      no
>                                       wxWidgets 2.6      yes
>  Which libraries should wxWidgets use?
>                                       jpeg               sys
>                                       png                sys
>                                       regex              sys
>                                       tiff               sys
>                                       zlib               sys
>                                       odbc               no
>                                       expat              sys
>                                       libmspack          no
>                                       sdl                no
> 
> rm -f 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base-2.8.a
> rm -f 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base_net-2.8.a
> ar rcu 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base-2.8.a
>  baselib_appbase.o baselib_arcall.o baselib_arcfind.o baselib_archive.o 
> baselib_clntdata.o baselib_cmdline.o baselib_config.o baselib_convauto.o 
> baselib_datetime.o baselib_datstrm.o baselib_dircmn.o baselib_dynarray.o 
> baselib_dynlib.o baselib_dynload.o baselib_encconv.o baselib_extended.o 
> baselib_ffile.o baselib_file.o baselib_fileback.o baselib_fileconf.o 
> baselib_filefn.o baselib_filename.o baselib_filesys.o baselib_filtall.o 
> baselib_filtfind.o baselib_fmapbase.o baselib_fs_arc.o baselib_fs_filter.o 
> baselib_hash.o baselib_hashmap.o baselib_init.o baselib_intl.o 
> baselib_ipcbase.o baselib_list.o baselib_log.o baselib_longlong.o 
> baselib_memory.o baselib_mimecmn.o baselib_module.o baselib_mstream.o 
> baselib_object.o baselib_platinfo.o baselib_powercmn.o baselib_process.o 
> baselib_regex.o baselib_stdpbase.o baselib_sstream.o baselib_stopwatch.o 
> baselib_strconv.o baselib_stream.o baselib_string.o baselib_sysopt.o 
> baselib_tarstrm.o baselib_textbuf.o baselib_textfile.o baselib_tokenzr.o 
> baselib_txtstrm.o baselib_uri.o baselib_variant.o baselib_wfstream.o 
> baselib_wxchar.o baselib_xti.o baselib_xtistrm.o baselib_zipstrm.o 
> baselib_zstream.o baselib_baseunix.o baselib_dir.o baselib_dlunix.o 
> baselib_mimetype.o baselib_snglinst.o baselib_stackwalk.o 
> baselib_stdpaths.o baselib_threadpsx.o baselib_event.o baselib_fs_mem.o 
> baselib_msgout.o baselib_utilscmn.o baselib_utilsunx.o
> ar rcu 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base_net-2.8.a
>  netlib_fs_inet.o netlib_ftp.o netlib_http.o netlib_protocol.o 
> netlib_sckaddr.o netlib_sckfile.o netlib_sckipc.o netlib_sckstrm.o 
> netlib_socket.o netlib_url.o netlib_gsocket.o
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/bk-deps
>  g++ -c -o corelib_gsockgtk.o -I.pch/wxprec_corelib -D__WXGTK__   
> -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I/home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/wx/include/gtk2-ansi-release-static-2.8
>  -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread 
> -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing 
> ./src/gtk/gsockgtk.cpp
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/bk-deps
>  g++ -c -o corelib_popupwin.o -I.pch/wxprec_corelib -D__WXGTK__   
> -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I/home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/wx/include/gtk2-ansi-release-static-2.8
>  -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread 
> -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing 
> ./src/gtk/popupwin.cpp
> ranlib 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base_net-2.8.a
> ranlib 
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/libwx_base-2.8.a
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/bk-deps
>  g++ -c -o corelib_region.o -I.pch/wxprec_corelib -D__WXGTK__ 
> -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I/home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/wx/include/gtk2-ansi-release-static-2.8
>  -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread 
> -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing 
> ./src/gtk/region.cpp
> /home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/bk-deps
>  g++ -c -o corelib_renderer.o -I.pch/wxprec_corelib -D__WXGTK__   
> -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -I/home/ramc/secure_data/comlab/SCIRun.dev.seg3d_spline_tool/wxGTK-2.8.9/lib/wx/include/gtk2-ansi-release-static-2.8
>  -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread 
> -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing 
> ./src/gtk/renderer.cpp
> In file included from ./src/gtk/gsockgtk.cpp:21:
> ./include/wx/gsocket.h:40: error: using typedef-name ‘GSocket’ after ‘class’
> /usr/include/glib-2.0/gio/giotypes.h:132: error: ‘GSocket’ has a previous 
> declaration here
> In file included from ./include/wx/gsocket.h:179,
>                 from ./src/gtk/gsockgtk.cpp:21:
> ./include/wx/unix/gsockunx.h:40: error: using typedef-name ‘GSocket’ after 
> ‘class’
> /usr/include/glib-2.0/gio/giotypes.h:132: error: ‘GSocket’ has a previous 
> declaration here
> ./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, gint, 
> GdkInputCondition)’:
> ./src/gtk/gsockgtk.cpp:34: error: ‘struct _GSocket’ has no member named 
> ‘Detected_Read’
> ./src/gtk/gsockgtk.cpp:36: error: ‘struct _GSocket’ has no member named 
> ‘Detected_Write’
> ./src/gtk/gsockgtk.cpp: In member function ‘virtual bool 
> GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
> ./src/gtk/gsockgtk.cpp:56: error: ‘struct _GSocket’ has no member named 
> ‘m_gui_dependent’
> ./src/gtk/gsockgtk.cpp:57: error: ‘struct _GSocket’ has no member named 
> ‘m_gui_dependent’
> ./src/gtk/gsockgtk.cpp: In member function ‘virtual void 
> GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
> ./src/gtk/gsockgtk.cpp:67: error: ‘struct _GSocket’ has no member named 
> ‘m_gui_dependent’
> ./src/gtk/gsockgtk.cpp: In member function ‘virtual void 
> GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
> ./src/gtk/gsockgtk.cpp:72: error: ‘struct _GSocket’ has no member named 
> ‘m_gui_dependent’
> ./src/gtk/gsockgtk.cpp:75: error: ‘struct _GSocket’ has no member named 
> ‘m_fd’
> ./src/gtk/gsockgtk.cpp:83: error: ‘struct _GSocket’ has no member named 
> ‘m_server’
> ./src/gtk/gsockgtk.cpp:90: error: ‘struct _GSocket’ has no member named 
> ‘m_fd’
> ./src/gtk/gsockgtk.cpp: In member function ‘virtual void 
> GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, 
> GSocketEvent)’:
> ./src/gtk/gsockgtk.cpp:98: error: ‘struct _GSocket’ has no member named 
> ‘m_gui_dependent’
> ./src/gtk/gsockgtk.cpp:108: error: ‘struct _GSocket’ has no member named 
> ‘m_server’
> make: *** [corelib_gsockgtk.o] Error 1
> make: *** Waiting for unfinished jobs....
> 
> ***ERROR in build script
> The failed command was:
> make -j4
> </ERROR>
> 
> 
> 
> Best regards,
> 
> Ramon.
> 
> 
> -- 
> Dr. Ramón Casero Cañas
> 
> Computational Biology
> Computing Laboratory
> University of Oxford
> Wolfson Building, Parks Rd
> Oxford OX1 3QD
> 
> tlf     +44 (0) 1865 610737
> web     http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
> photos  http://www.flickr.com/photos/rcasero/




Archive powered by MHonArc 2.6.16.

Top of page