seandepagnier / celestial_navigation_pi

celestial navigation plugin for opencpn
17 stars 21 forks source link

DEBUG under MSVC++ works, yet installed in OpenCPN v4.6 Instant Crash #16

Closed rgleason closed 6 years ago

rgleason commented 7 years ago

After compiling debug version and copying it all over to MSVC++ where I could make multiple fixes!

No dependencies. put opencpn.lib v4.2 in build directory.

I have deleted and cloned and compiled again (completed properly), then installed in Opencpn v4.6. (I am using v4.2 Opencpn.lib)

Checked all the installation, the dll location, and cel_nav_pi/data/ etc.

As soon as I touch or click on the Cel_Nav Icon all of OpenCPN instantly disappears!

Very puzzled.

Below is when adding many fixes to Cel_Nav in MSVC++ DEBUG MODE (No problems) celestial-nav-debug-msvc

rgleason commented 7 years ago

I just tested this again, after git fetch and compile on my laptop.

  1. Release version compiles with No Errors, installs, but Opencpn crashes instantly when it is enabled.
  2. Debug version in MS Visual Studio seems to work fine!

Therefore I cannnot give you any information about the bug!!

rgleason commented 7 years ago

This is old, and no longer what happens.

stelian42 commented 6 years ago

This can be closed now, is fixed in main tree.

rgleason commented 6 years ago

I would not call them Miscellaneous!! I'll close this as it is older...