[Debian-med-packaging] Bug#749487: Help (Was: Bug#749487: ginkgocadx: Please update to use wxwidgets3.0)

Olly Betts olly at survex.com
Tue Jun 17 07:59:24 UTC 2014


On Tue, Jun 17, 2014 at 09:08:44AM +0200, Andreas Tille wrote:
> I can confirm this an that the build process runs quite far using wx3.0.
> However, I'm running into a build error which I do not feel able to
> cope with:
> 
> ...
> [ 93%] Building CXX object cadxcore/CMakeFiles/CADxCore.dir/VTKInria3D/wxVTK/wxVTKRenderWindowInteractor.cpp.o
> cd /tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/obj-x86_64-linux-gnu/cadxcore && /usr/bin/c++   -DAPIEXPORT -DCURL_STATICLIB -DGINKGO_ARCH_x86_64 -DGINKGO_BUILD=\"34\" -DGINKGO_CODENAME=\"\" -DGINKGO_REVISION=1367 -DGINKGO_VERSION=\"3.6.1\" -DHAVE_CONFIG_H -DINTERNET_DIST -DLINUX -DMONOLITIC -DUSE_SYSTEM_SQLITE -DUSING_EXTENSIONS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -fPIC -pthread  -Wno-deprecated  -ftemplate-depth-50 -Wall -Wno-deprecated -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I/usr/include/InsightToolkit/Review/Statistics -I/usr/include/InsightToolkit/Review -I/usr/include/InsightToolkit/Utilities/vxl/core -I/usr/include/InsightToolkit/Utilities/vxl/vcl -I/usr/include/InsightToolkit/Utilities/vxl/v3p/netlib -I/usr/include/InsightToolkit/Utilities -I/usr/include/InsightToolkit/Utilities/itkExtHdrs -I/usr/include/InsightToolkit/Utilities/nifti/znzlib -I/usr/include/InsightToolkit/Utilities/nifti/niftilib -I/usr/include/InsightToolkit/Utilities/expat -I/usr/include/InsightToolkit/Utilities/DICOMParser -I/usr/include/InsightToolkit/Utilities/NrrdIO -I/usr/include/InsightToolkit/Utilities/MetaIO -I/usr/include/InsightToolkit/SpatialObject -I/usr/include/InsightToolkit/Numerics/NeuralNetworks -I/usr/include/InsightToolkit/Numerics/FEM -I/usr/include/InsightToolkit/IO -I/usr/include/InsightToolkit/Numerics -I/usr/include/InsightToolkit/Common -I/usr/include/InsightToolkit/BasicFilters -I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/CADxCore -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/vtk -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/itk -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/wx -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/wx/VTK -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/VTKInria3D -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/VTKInria3D/wxVTK -I/usr/include/jsoncpp -I/tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/../lib/Linux-x86_64/libcurl-7.28.1/include -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/usr/include/vtk-5.8 -I/usr/include/gdcm-2.4 -I/usr/include/dcmtk/config -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmimgle -I/usr/include/dcmtk/dcmjpeg -I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmpstat -I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmsr -I/usr/include/dcmtk/dcmtls -I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/CADxCore.dir/VTKInria3D/wxVTK/wxVTKRenderWindowInteractor.cpp.o -c /tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/VTKInria3D/wxVTK/wxVTKRenderWindowInteractor.cpp
> /tmp/buildd/ginkgocadx-3.6.1.1367.34+dfsg/src/cadxcore/VTKInria3D/wxVTK/wxVTKRenderWindowInteractor.cpp:153:36: fatal error: wx/gtk/private/win_gtk.h: No such file or directory
>  #include <wx/gtk/private/win_gtk.h>
>                                     ^

This seems to be a private header which is no longer installed by wx3.0:

commit bbd92d1dbea02db8c28e9c17bfacc0563d855b25
Author: Václav Slavík <vslavik at fastmail.fm>
Date:   Fri Feb 22 13:24:05 2008 +0000

    moved win_gtk.h header to wx/gtk/private, it's for internal use only
    
    git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Looking at the ginkgocadx sources from unstable, it looks to me like it's
using this to get at underlying GTK objects.

> Any help is really appreciated.  Feel free to do a team upload if you
> manage a successful build.

I can take a look if you send me a link to get your WIP source tree
from.

Cheers,
    Olly



More information about the Debian-med-packaging mailing list