Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-09-2015, 15:52   #1
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
opencpn and gtk3

I decided to try using gtk3 which should in theory improve over gtk2.

I found a bunch of minor annoyances, mostly asserts failing, and some weird colors in the dialogs, but opencpn remains completely usable.

Anyone else tried this?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 29-12-2015, 16:28   #2
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Re: opencpn and gtk3

I just tried to use GTK3 on my Debian unstable 64bit. While it builds it fails to start because the resulting binary has both GTK2 and GTK3 symbols. The problematic shared library seems to be libgtk-x11-2.0.so. Interestingly, this is not explicitly listed when the binary is linked.

For now I switched back to GTK2, but I might try again over the next couple of days.
__________________

__________________
nkiesel is offline   Reply With Quote
Old 29-12-2015, 16:57   #3
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: opencpn and gtk3

Sean...
SethDart's Fedora packages for O4.1 are using wxGTK3 for some time already as there is no wxGTK2 in the newest Fedora releases.

Pavel
__________________
nohal is online now   Reply With Quote
Old 29-12-2015, 19:20   #4
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Re: opencpn and gtk3

For the record, my self-compiled opencpn is currently linked against libs from libgtk2.0-0 and libwxgtk3.0-0v5. Note that the latter is wxwidgets 3.0.2+dfsg-1.2 using GTK2.
__________________
nkiesel is offline   Reply With Quote
Old 02-01-2016, 10:30   #5
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
Re: opencpn and gtk3

To my knowledge, wxGTK3 is built with GTK2 on Debian/Ubuntu while it's built with GTK3 on Fedora.

According to https://packages.debian.org/unstable/libwxgtk3.0-0v5
dep: libgtk2

Fedora: wxGTK3-3.0.2-12.fc23.x86_64.rpm | RPM Info | koji
libgtk-3.so.0()(64bit)

BTW, on Fedora, there's a compat-wxGTK3-gtk2 package available. Maybe there's a libwxgtk3-gtk3 package laying somewhere.

You cannot mix dependencies built with gtk2 with others built with gtk3
__________________
SethDart is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN and BU-353S4 and Windows 8 Land an OpenCPN 7 04-06-2013 08:24
Virtual OpenCPN - 'OpenCPN on a Stick' r.fairman OpenCPN 23 16-10-2011 20:51
OpenCpn and GPSD and fakegps deepstar OpenCPN 1 24-04-2011 05:18
OpenCPN 1.3.6 And Betas kerrydeare OpenCPN 1 28-12-2009 03:25
OpenCPN and Atom CPU? amadeus OpenCPN 7 03-11-2009 15:38



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 08:53.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.