SCI Seg3D Mailing List

Text archives Help


[Seg3D] ubuntu 11.10 build error in Seg3D_1.12_20090930


Chronological Thread 
  • From: Ramón Casero Cañas <rcasero@gmail.com>
  • To: "seg3d@sci.utah.edu" <seg3d@sci.utah.edu>
  • Subject: [Seg3D] ubuntu 11.10 build error in Seg3D_1.12_20090930
  • Date: Wed, 18 Jan 2012 17:26:02 +0000


Hi,

I keep having trouble building Seg3D. Not too sure whether this is a problem just with my system.

I downloaded the source code Seg3D_1.12_20090930_linux.tgz from

http://www.sci.utah.edu/download/seg3d/1.12.html

I'm trying to build with

$ ./build.sh --seg3d-only

I get some minor compilation errors that may be due to gcc 4.6, e.g. a missing #include <cstdlib>, which are easy to fix. However, then I get the following error from a double declaration of "GSocket", one from system package glib2.0-dev (a dependency of libgtk2.0-dev), and the other in wxGTK-2.8.9 downloaded and compiled by build.sh

/home/ramc/secure_data/comlab/Seg3D_1.12_20090930/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/Seg3D_1.12_20090930/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/x86_64-linux-gnu/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/x86_64-linux-gnu/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
In file included from ./src/gtk/gsockgtk.cpp:21:0:
./include/wx/gsocket.h:40:7: error: using typedef-name ‘GSocket’ after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:141:47: error: ‘GSocket’ has a previous declaration here
In file included from ./include/wx/gsocket.h:179:0,
                 from ./src/gtk/gsockgtk.cpp:21:
./include/wx/unix/gsockunx.h:40:7: error: using typedef-name ‘GSocket’ after ‘class’
/usr/include/glib-2.0/gio/giotypes.h:141:47: error: ‘GSocket’ has a previous declaration here
./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(gpointer, gint, GdkInputCondition)’:
./src/gtk/gsockgtk.cpp:34:13: error: ‘GSocket’ has no member named ‘Detected_Read’
./src/gtk/gsockgtk.cpp:36:13: error: ‘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:11: error: ‘GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:57:27: error: ‘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:16: error: ‘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:33: error: ‘GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:75:15: error: ‘GSocket’ has no member named ‘m_fd’
./src/gtk/gsockgtk.cpp:83:42: error: ‘GSocket’ has no member named ‘m_server’
./src/gtk/gsockgtk.cpp:90:35: error: ‘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:33: error: ‘GSocket’ has no member named ‘m_gui_dependent’
./src/gtk/gsockgtk.cpp:108:42: error: ‘GSocket’ has no member named ‘m_server’
make: *** [corelib_gsockgtk.o] Error 1

***ERROR in build script
The failed command was:
make


Best regards,

Ramon.

--
Dr. Ramón Casero Cañas

Computational Biology
Department of Computer Science
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 610737
web     http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
photos  http://www.flickr.com/photos/rcasero/



Archive powered by MHonArc 2.6.16.

Top of page