Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 02-04-2023, 10:31   #91
Registered User

Join Date: Apr 2023
Posts: 11
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

And, a copy of the logfile is available.

Lonnie
LonnieTKing is offline   Reply With Quote
Old 02-04-2023, 10:33   #92
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Lonnie...

No need to post this many times. Please check the response in your other thread first.
nohal is offline   Reply With Quote
Old 02-04-2023, 11:11   #93
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,285
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

LonnieTKing..
Let's start from basics.
You've installed OpenCPN. If you start the program what do you see?

There should be tool icons on the left. Not so?

I screen shot would be nice if possible.
Hakan is offline   Reply With Quote
Old 02-04-2023, 12:19   #94
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,021
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by LonnieTKing View Post
Aloha Gilletarom and Hakan:

The situation is simply this: After initially installing 5.6.2, THERE IS NO WAY to install charts.
There is no way to, via the OpenCPN.org website, to download an older version (thinking there might be an issue with 5.6.2 vs anything earlier) and I stumbled on the 5.7.1 beta.
YES, I DID remove the 5.6.2 before installing the 5.7.1. With 5.7.1, there is no Chart Loader tab available when I run the program.
As I wrote in another post, there is NOTHING in any subfolder of my User's folder Library that holds any Plugin or any Chart.

No Chart, No OpenCPN.

No chartdownloader tab in "Options/Charts/" ? Have you installed the plugin and/or activated it in "Options/Plugins" after updating the "Master" catalog?
Gilletarom is offline   Reply With Quote
Old 02-04-2023, 13:11   #95
Registered User

Join Date: Jan 2016
Posts: 125
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by bdbcat View Post
Mattzilla...
What system (Win/Mac, etc) are you running? OpenGL on/off?
Thanks
Dave

Windows 10, open gl enabled.
Mattzilla is offline   Reply With Quote
Old 02-04-2023, 13:28   #96
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by Mattzilla View Post
Windows 10, open gl enabled.

On our two W10 systems we see the black outlines as usual...
bcn is offline   Reply With Quote
Old 02-04-2023, 13:47   #97
Registered User

Join Date: Jan 2016
Posts: 125
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by bcn View Post
On our two W10 systems we see the black outlines as usual...
I just checked again just now and the icons have now changed since we cruised up the coast. Strange but will take it as a win! I did clear the Open GL cache before we left may have done it?
Mattzilla is offline   Reply With Quote
Old 04-04-2023, 01:24   #98
Registered User

Join Date: Feb 2013
Location: Zeeland (NL)
Boat: Hallberg Rassy 43MkII
Posts: 8
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Hi all,
I just compiled Beta_5.7.1_RC1B on a Mac with an M2 CPU.

When loading plug-in's there flavour is "Darwin-wx32:11.4".
The architecture is arm64
The architecture of the o-charts plug-in is x86_64
So the load fails see error below.

When using the link to the precompiled version I see there that OpenCPN is compiled in the x86_64 architecture, so then the plug-in's work.

What is the way forward from here? Do I need to compile for x86_64 or will there be plug-in's available in arm64?

10:15:58.507 ERROR dlunix.cpp:120 Failed to load shared library '/Users/steef/Library/Application Support/OpenCPN/Contents/PlugIns/libo-charts_pi.dylib': dlopen(/Users/steef/Library/Application Support/OpenCPN/Contents/PlugIns/libo-charts_pi.dylib, 0x0002): tried: '/Users/steef/Library/Application Support/OpenCPN/Contents/PlugIns/libo-charts_pi.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/steef/Library/Application Support/OpenCPN/Contents/PlugIns/libo-charts_pi.dylib' (no such file), '/Users/steef/Library/Application Support/OpenCPN/Contents/PlugIns/libo-charts_pi.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

kind regards,
Steef
Stebra is offline   Reply With Quote
Old 04-04-2023, 02:02   #99
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

ARM64 binary of course needs ARM64 plugins. If you insist on running native build on Apple Silicon, you also need to build all the plugins yourself.
The need to prepare native ARM builds for all the third party plugins is one of the main reasons we are not going to provide the native ARM build for macOS in the upcoming 5.8 release and depend on the integrated x86 emulation, which works without any problems.
nohal is offline   Reply With Quote
Old 04-04-2023, 02:42   #100
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 316
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Alec is aware of the need to build x86 plugins on an ARM Mac.
It requires work on ShipDriver but he is busy at present.

Meanwhile, I have to build on an X86 Mac. This splits my work across two systems, which is a hassle and I do not want to take my old X86 Mac to sea.
The only alternative is remote builds but that is tedious and inefficient when debugging.
Antipole is offline   Reply With Quote
Old 04-04-2023, 04:29   #101
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Tony...
I suppose you can build x86 binaries on ARM macOS setting CMAKE_OSX_ARCHITECTURES to x86_64. It works just fine the other way around. The only problem is the added complexity as you also need to cross-compile the dependencies yourself.
nohal is offline   Reply With Quote
Old 04-04-2023, 04:32   #102
Registered User

Join Date: Feb 2013
Location: Zeeland (NL)
Boat: Hallberg Rassy 43MkII
Posts: 8
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by nohal View Post
ARM64 binary of course needs ARM64 plugins. If you insist on running native build on Apple Silicon, you also need to build all the plugins yourself.
The need to prepare native ARM builds for all the third party plugins is one of the main reasons we are not going to provide the native ARM build for macOS in the upcoming 5.8 release and depend on the integrated x86 emulation, which works without any problems.
Thanks for the reply. I do know I need to build plug-in's for arm64, but some are not open source like o-charts.
I only use such charts which is an issue at present.

Also the plug-in manager normally checks on the versions of plug-in's like wxWidget versions so that they match. I found it strange that the architecture is not an item in the compatibility check.
Both the arm64 build and the x86_64 build show up as "Darwin-wx32:11.4" in the compatibility setting.

kind regards,
Steef
Stebra is offline   Reply With Quote
Old 04-04-2023, 04:36   #103
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

o-charts plugin is open source. Only the oexserverd and the SG-Lock driver are not, but that is a separate process, so everything will work just fine.
nohal is offline   Reply With Quote
Old 04-04-2023, 06:02   #104
Registered User

Join Date: Feb 2013
Location: Zeeland (NL)
Boat: Hallberg Rassy 43MkII
Posts: 8
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by nohal View Post
o-charts plugin is open source. Only the oexserverd and the SG-Lock driver are not, but that is a separate process, so everything will work just fine.
Thanks for the info, I wasn't aware.
I got o-chatrs plug-in compiled for arm64, but only the tag v2.0.0.44.
v2.0.0.45 fails on trying to include flatpak which I assume is not possible on MAC.
I left it there since I'm by no means a cmake wizard.

It might be just prejudice but I have the distinct impression that it is a lot faster in zooming in and out then the x86_64 version which was already fast.
Stebra is offline   Reply With Quote
Old 04-04-2023, 06:15   #105
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: OpenCPN Version 5.7.1 Release Candidate 1 (RC1)

Quote:
Originally Posted by Stebra View Post
It might be just prejudice but I have the distinct impression that it is a lot faster in zooming in and out then the x86_64 version which was already fast.
I would expect the native ARM build to be somewhat faster than x86 running on top of Rosetta, but we simply don't have the manpower to make it happen now. Especially as we don't have the hardware and neither the native CI builders are available yet. But I'm pretty sure it will hapen for the next release after 5.8.
nohal is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn


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 Version 5 Beta Release 4.99.1517 (RC1) bdbcat OpenCPN 39 27-03-2019 07:59
OpenCPN Release Candidate Version 3.1.1328 Released bdbcat OpenCPN 86 27-04-2013 03:13
OpenCPN Release Candidate Version 3.1.1405 Released bdbcat OpenCPN 54 16-02-2013 01:30
OpenCPN Version 2.4 Release Candidate 720 bdbcat OpenCPN 51 27-07-2011 23:45
OpenCPN Version 2.4 Release Candidate 714 bdbcat OpenCPN 45 22-07-2011 05:58

Advertise Here


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


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.