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

Celestial Navigation plugin won't work on Mac #43

Open
lazarusblue opened this issue Sep 5, 2021 · 3 comments
Open

Celestial Navigation plugin won't work on Mac #43

lazarusblue opened this issue Sep 5, 2021 · 3 comments

Comments

@lazarusblue
Copy link

Regarding the issue I posted in Cruisers Forum, here is the opencpn.log
opencpn.log

@bdbcat
Copy link

bdbcat commented Sep 6, 2021

So, here is the issue:

10:48:18.331   ERROR dlunix.cpp:162 dlopen(/Applications/OpenCPN.app/Contents/Plugins/celestial_navigation_pi/libcelestial_navigation_pi.dylib, 2): Symbol not found: __ZN12wxWindowBase19SetVirtualSizeHintsEiiii
  Referenced from: /Applications/OpenCPN.app/Contents/Plugins/celestial_navigation_pi/libcelestial_navigation_pi.dylib
  Expected in: flat namespace
 in /Applications/OpenCPN.app/Contents/Plugins/celestial_navigation_pi/libcelestial_navigation_pi.dylib

This means that the plugin needs to be rebuilt to avoid calling this method, (wxWindowBase::SetVirtualSizeHints), deprecated in MacOS wxWidgets libraries.

From the wx docs:

void wxSizer::SetVirtualSizeHints | (  wxWindow *  window | ) |
Deprecated:
    This is exactly the same as FitInside() in wxWidgets 2.9 and later, please replace calls to it with FitInside().


@rgleason
Copy link
Contributor

rgleason commented Nov 8, 2023

Try the current version in PIM. I believe this has been fixed. OP @lazrusblue please close this Issue.

@rgleason
Copy link
Contributor

rgleason commented Nov 8, 2023

@lazarusblue Please close this is fixed.

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

No branches or pull requests

3 participants