woodruffr1973 / ardb

Automatically exported from code.google.com/p/ardb
0 stars 1 forks source link

ImagePanel.cpp Linux build broken #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

 I checked out the new version and tried to compile it under Linux and got
the following errors for ImagePanel.cpp (for gtk2-unicode-release-2.6.3 as
well as gtk2-unicode-release-2.6.4):

imagePanel.cpp: In destructor ‘virtual ImagePanel::~ImagePanel()’:
imagePanel.cpp:28: error: ‘class wxImage’ has no member named ‘IsOk’
imagePanel.cpp: In member function ‘void ImagePanel::SetImage(wxString)’:
imagePanel.cpp:42: error: ‘class wxImage’ has no member named ‘IsOk’
imagePanel.cpp: In member function ‘void ImagePanel::OnSize(wxSizeEvent&)’:
imagePanel.cpp:63: error: ‘class wxImage’ has no member named ‘IsOk’
imagePanel.cpp: In member function ‘void 
ImagePanel::OnPaint(wxPaintEvent&)’:
imagePanel.cpp:75: error: ‘class wxImage’ has no member named ‘IsOk’

Original issue reported on code.google.com by sven.hel...@gmail.com on 5 Nov 2007 at 11:13

GoogleCodeExporter commented 9 years ago
That is weird.  What version of wxWindows is installed?  My Windows build is 
version
2.8.x.  But I've just checked the manual and in version 2.6.x the method is 
called
Ok(). grrrrr  They've changed the method name.

Graham.

Original comment by graham.r...@gmail.com on 5 Nov 2007 at 11:24

GoogleCodeExporter commented 9 years ago
I've also just realized that and downloaded version 2.8.6. Will have another 
try with
that version and report back.

Sven.

Original comment by sven.hel...@gmail.com on 5 Nov 2007 at 11:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works with 2.8.6., so it's just a matter of having a 2.8.x version of the 
library
installed. Now I just have to compile a static version of this library (in 
order to
be able to link the ardb executable statically).

Original comment by sven.hel...@gmail.com on 5 Nov 2007 at 12:58

GoogleCodeExporter commented 9 years ago

Original comment by sven.hel...@gmail.com on 5 Nov 2007 at 12:58

GoogleCodeExporter commented 9 years ago
Humm 
Debian etch (stable) uses wxWidgets 2.6.3
Ubuntu Gusty Gibbon 7.10 uses wxWidgets 2.8.3
Fedora 7 uses wxWidgets 2.8.3
OpenSuse  wxWidgets 2.6.1

Do we really need wx 2.8.x ?

Original comment by meshee.k...@gmail.com on 5 Nov 2007 at 7:15

GoogleCodeExporter commented 9 years ago
Sven i add your post where you explain your workaround:

================================================================================
==
Hi,

looks like this gtk 2.8.x business wasn't so bad after all, because I
found out something quite interesting: the compiler errors I got in
the header files of libxml2 were caused somewhere else. Now that I
have gtk 2.8.6 installed (in /opt/libwxGTK-2.8.6/), the libxml2
version of Suse10.2 works again. In my case I can now checkout the
code, run

make_linux.sh

with the following options

--with-wxdir=/opt/libwxGTK-2.8.6
--with-wx-config=/opt/libwxGTK-2.8.6/bin/wx-config

and it will compile and build an executable. Before running it, you
just have to tell the system where to find the wxGTK libraries by
updating your LD_LIBRARY_PATH.

Maybe it will also work under Debian after installing gtk 2.8.x.

Cheers,
Sven
================================================================================
==

Original comment by meshee.k...@gmail.com on 5 Nov 2007 at 7:18

GoogleCodeExporter commented 9 years ago

Original comment by meshee.k...@gmail.com on 14 Nov 2007 at 8:03