Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-03-2017, 05:16   #406
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

Sure it might be before the povl table fixes. But weve had this problem before.
__________________

__________________
rgleason is offline   Reply With Quote
Old 04-04-2017, 11:15   #407
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

RE: Opencpn CRASH upon entry of second FIX.

Sean, I went back as far as I had saved celestial_navigation_pi and they all had that problem. So then I compiled the current one as DEBUG and copied the dll and data directories over to MS VS++ and tried the plugin in Debug mode.

I was able to enter many FIXES. There was no error or problem whatsoevere. So where does that leave us? See attached.

I think I am going to try a fresh download again. Then see.
Attached Thumbnails
Click image for larger version

Name:	Celestial-Nav-DEBUG-MSVC.png
Views:	29
Size:	345.0 KB
ID:	144671  
__________________

__________________
rgleason is offline   Reply With Quote
Old 05-04-2017, 04:10   #408
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

No, a fresh download did not fix it. The plugin complies with no errors, It installs and can be enabled. This time as soon as I touch the cel_nav icon, Opencpn fails, poof disappears off the screen. Its wierd.

What opencpn.lib should be used? I don't believe there are any deoendencies. What would cause such a sudden failure (no windows notice or searching for a solution). Why such an error when it compiles with no errors and installs, and the debug version works?
__________________
rgleason is offline   Reply With Quote
Old 05-04-2017, 04:13   #409
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

Sean any suggestions? Find version that works? Compare?
__________________
rgleason is offline   Reply With Quote
Old 10-05-2017, 12:53   #410
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

Sean the celnav plugin works when used in debug mode with MSVC++ but does NOT work as release version in windows. It crashes opencpn.
__________________
rgleason is offline   Reply With Quote
Old 14-08-2017, 07:54   #411
Registered User

Join Date: Aug 2017
Posts: 2
Re: Celestial Navigation Plugin Redux

Quote:
Originally Posted by rgleason View Post
Sean the celnav plugin works when used in debug mode with MSVC++ but does NOT work as release version in windows. It crashes opencpn.
Dont know if you have found the problem or not, but posting my experience when having same problem on unrelated code.

Long time ago, but there were several posts on the internet about this.
It is not the fault of your program, but has to do with the linking.

From what I remember the linker was including some lib/dll that would be left out of the release link.

About all that i remember of it.
__________________
Nicor is offline   Reply With Quote
Old 14-08-2017, 10:08   #412
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

Nicor

So you're suggesting that with the standalone version when compiled for windows, there is some lib missing, either in the paths or in the files that is automatically a part of the Msvc++ compile

So next we need to determine which lib it is and how to fix the standalone compilation.

Thanks, for your suggestion.
__________________
rgleason is offline   Reply With Quote
Old 14-08-2017, 10:10   #413
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,447
Re: Celestial Navigation Plugin Redux

It would be nice to identify & fix this problem
__________________
rgleason is offline   Reply With Quote
Old 14-08-2017, 10:23   #414
Registered User

Join Date: Aug 2017
Posts: 2
Re: Celestial Navigation Plugin Redux

https://stackoverflow.com/questions/...-otherwise-not

That post is from 7 years ago, about the same time i ran into same problem.
Don't remember that post.

After thinking about it for a tad, I still think it was the linker doing/not doing something...

Start with that link first and work and work from there.

I do hope u find the problem
__________________

__________________
Nicor is offline   Reply With Quote
Reply

Tags
celestial navigation, navigation

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
Logbook Konni for OpenCPN konni OpenCPN 823 07-06-2017 09:32
Google Earth Plugin r.fairman OpenCPN 417 15-02-2015 11:15
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 20:24.


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.