Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-09-2015, 14:52   #1
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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?
seandepagnier is offline   Reply With Quote
Old 29-12-2015, 15:28   #2
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 83
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, 15:57   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
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 offline   Reply With Quote
Old 29-12-2015, 18:20   #4
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 83
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, 09:30   #5
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
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 Search this Thread
Search this Thread:

Advanced Search
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 07:24
Virtual OpenCPN - 'OpenCPN on a Stick' r.fairman OpenCPN 23 16-10-2011 19:51
OpenCpn and GPSD and fakegps deepstar OpenCPN 1 24-04-2011 04:18
OpenCPN 1.3.6 And Betas kerrydeare OpenCPN 1 28-12-2009 02:25
OpenCPN and Atom CPU? amadeus OpenCPN 7 03-11-2009 14:38

Advertise Here


All times are GMT -7. The time now is 22:33.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.