Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImagePanel.cpp Linux build broken #13

Closed
GoogleCodeExporter opened this issue Apr 11, 2015 · 8 comments
Closed

ImagePanel.cpp Linux build broken #13

GoogleCodeExporter opened this issue Apr 11, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link


 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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Added labels: Milestone-Ardb2.0, Module-DeckBuilder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant