Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-11-2012, 18:29   #121
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by ChuckSK View Post
Freddie

Try adding #include <wx/dcgraph.h> at instrument.h line 40.

Chuck
Thanks, Chuck that fixed those problems.
Now here is I think the last problem, in pluginmanager.cpp at line 1534 I get this error. Here is the Xcode window with the error.

Thanks,
Freddie
Attached Thumbnails
Click image for larger version

Name:	pluginmanager.cpp error.jpg
Views:	75
Size:	409.8 KB
ID:	49767  
__________________

__________________
sbfreddie is offline   Reply With Quote
Old 15-11-2012, 19:04   #122
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Beta Version 3.1.1105 Released

Freddie

Replace pluginmanager.cpp line 1534 with
gFrame->GetEventHandler()->AddPendingEvent( Nevent );

Chuck
__________________

__________________
ChuckSK is offline   Reply With Quote
Old 15-11-2012, 19:40   #123
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by ChuckSK View Post
Freddie

Replace pluginmanager.cpp line 1534 with
gFrame->GetEventHandler()->AddPendingEvent( Nevent );

Chuck
Thanks again Chuck,
And the fun just continues.
Here is the next problem in datastream.cpp at line 457:

Thanks,
Freddie
Attached Thumbnails
Click image for larger version

Name:	Datastream.cpp Error.jpg
Views:	66
Size:	405.9 KB
ID:	49769  
__________________
sbfreddie is offline   Reply With Quote
Old 16-11-2012, 06:16   #124
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN Beta Version 3.1.1105 Released

hello,

Quote:
Originally Posted by Ptizef View Post
Crash BSB:
After more tests, I am now almost sure it has nothing to do with groups , and nothing with my set of charts
I found a process which leads each time to a crash and the same on both my Vista notebook and my small XP net book :
1) unload all chart and delete all groups to start with a clean empty chart DB
2) zoom out enough to display a zone greater than the charts you will load
3) load a directory containing BSB 3 charts
4) zoom in until getting blue chart bares
5) open a chart (clinking on a bare)
6) zoom out and drag to put the chart out of the screen
7) try clicking and zooming over another chart

The crash is very close !

JP
Sorry but trying this ... No crash !

But ... I have 3 sofwares running :
- Firefox,
- Thunderbird,
- openCPN using many BSB 3 charts

A long time, a very long time .. a very very long time was necessary to go from OpenCPN to Firefox ... And when I try to shutdown OpenCN ... A long time was necessary and OpenCPN do not shutdown completetly !!

So i use Ctrl/Alt/del for shutdown OpenCPN.

Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 16-11-2012, 09:23   #125
Registered User

Join Date: Mar 2010
Location: Wandering around North America
Boat: Defever 43 - Gray Hawk
Posts: 602
Re: OpenCPN Beta Version 3.1.1105 Released

I had a crash yesterday using 3.1.1105 on XP with Canadian BSB charts and the plugin but I have no idea how to replicate it. I was in Active Pass with it running about 3 knots with a BC ferry coming up my ass and another one meeting me. I was trying to give them both as much room as I could and right in the middle of everything lost OCPN. So I was mainly concerned with keeping moving, not troubleshooting software.
__________________
bobofthenorth is offline   Reply With Quote
Old 16-11-2012, 09:29   #126
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Beta Version 3.1.1105 Released

Freddie

Try this at datastream.cpp line 457.

calculated_checksum ^= static_cast<unsigned char> (*i);

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 16-11-2012, 09:49   #127
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Beta Version 3.1.1105 Released

Until now I tested with directories containing many charts
I just tried a directory with only 2 charts I choose randomly but enough distant to can see only one at a time on the screen.
Result : I got as many crashes I wanted
I tried to take a video attached
JP
Attached Files
__________________
Ptizef is offline   Reply With Quote
Old 16-11-2012, 12:54   #128
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by ChuckSK View Post
Freddie

Try this at datastream.cpp line 457.

calculated_checksum ^= static_cast<unsigned char> (*i);

Chuck
Thanks again for fixing this last problem for the build. Now I am having problems with the linking. It appears that the linker can't find the lib gobject-2.0. Could you please tell me which package to install that contains the library gobject-2.0? I use homebrew to install the dependencies but I'm not sure which package object-2.0 is part of.

Thanks,
Freddie
Attached Thumbnails
Click image for larger version

Name:	Linking OpenCPN problem.jpg
Views:	68
Size:	425.7 KB
ID:	49818  
__________________
sbfreddie is offline   Reply With Quote
Old 16-11-2012, 13:54   #129
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: OpenCPN Beta Version 3.1.1105 Released

Freddie

Sorry, I am a Windows guy. That error is beyond my limited knowledge.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 16-11-2012, 19:39   #130
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: OpenCPN Beta Version 3.1.1105 Released

Freddie

might be it is a fault of homebrew, macports is another solution.
gobject is part of glib.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 16-11-2012, 21:18   #131
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by CarCode View Post
Freddie

might be it is a fault of homebrew, macports is another solution.
gobject is part of glib.

Gerhard
Thanks, Gerhard.
I did some digging and did find the gobject-2.0.dylib in /usr/local/lib which is a pointer to the dylib in /usr/local/Cellar/glib/2.32.4/lib.
So my system does have gobject installed however Xcode linker (Clang) can't seem to find it. So I have to figure out how to get Xcode to find it.

Thanks,
Freddie
__________________
sbfreddie is offline   Reply With Quote
Old 17-11-2012, 15:47   #132
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
Re: OpenCPN Beta Version 3.1.1105 Released

ChuckSK...

Thanks for the rapid response to sbFreddie's Mac build issues. They all look good to me, and not requiring Mac conditional build. All soon pushed to github.

Unfortunately, I cannot "Think different" at the moment, since my Hackintosh died....

Freddie, let me know what you find out about gobject.dylib. I'll get that included too, if it makes sense.....

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 17-11-2012, 16:02   #133
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
Re: OpenCPN Beta Version 3.1.1105 Released

Thomas...

GPSD....

Works fine for me on 12.04.

Starting gpsd:

$gpsd /dev/ttyS0

O->Connections:
Protocol: Network/GPSD
Address: localhost
Port: 2947

Works fine, with no fiddling required. I see good NMEA messages in the debug window. There will be nothing in the log...Maybe there should be?

Anyone else able to try gpsd?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 17-11-2012, 17:11   #134
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: OpenCPN Beta Version 3.1.1105 Released

Quote:
Originally Posted by bdbcat View Post
ChuckSK...

Thanks for the rapid response to sbFreddie's Mac build issues. They all look good to me, and not requiring Mac conditional build. All soon pushed to github.

Unfortunately, I cannot "Think different" at the moment, since my Hackintosh died....

Freddie, let me know what you find out about gobject.dylib. I'll get that included too, if it makes sense.....

Thanks
Dave
Dave:
I think we'll need a conditional find package for Glib (gobject is part of Glib). I searched the Cmake install script and did not find a find package command for Glib. It appears that Ubuntu & most of the other Linux like systems automatically install the library Glib. However as usual Mac OS X does not. I have tried several things in Xcode to convince it to look in /usr/local/lib for the gobject dylib but it is not cooperating.

Thanks,
Freddie
__________________
sbfreddie is offline   Reply With Quote
Old 17-11-2012, 19:17   #135
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
Re: OpenCPN Beta Version 3.1.1105 Released

jp...

Thanks for the info. With two widely spaced BSB charts of different scales, on Windows only, I has able to reproduce the crash you reported. The root cause was clearly an "over-optimization" of the logic, leading to an invalid screen region. Only crashes on Windows, not linux, and this is clear from reading the wxWidgets sources. Nothing to do with Groups.

Solution is now available on github master.

Dave

p.s.
bobofthenorth: This could have happened to you recently, too. Sorry, glad you zigged and they zagged.
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

Tags
opencpn

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:31.


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.