Cruisers Forum
 


Join CruisersForum Today

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 27-10-2010, 12:34   #241
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Jean Pierre,
Quote:
Originally Posted by Ptizef View Post
Windows Vista
I loaded new Git beta 1025 and built it .
latest version should be 1026. Maybe that's the reason for your problem?

Gunther
__________________

__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 27-10-2010, 12:56   #242
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
sorry , my finger don't push the right key !
It's the beta 1026

Jean Pierre
__________________

__________________
Ptizef is offline  
Old 27-10-2010, 13:33   #243
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Jean Pierre,
Quote:
Originally Posted by Ptizef View Post
sorry , my finger don't push the right key !
It's the beta 1026
OK, no problem ... .

Do you have the problem also with the ready compiled version?

I had a similiar problem. I had to delete my wxWidget (2.8.11) installation, reinstall it and build the DLL Unicode Release files again.

After this the build worked OK for me.

Have you tried wxWidgets 2.9.1?
If so, this may be the cause ...!

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 27-10-2010, 14:08   #244
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Gunther
Thanks for the answer
First I have no problem with the ready compiled version and I take the opportunity to congratulate on your excellent installer .
second I've already re-installed wxWindget 2.8.11 and re-built it completely (DLL Unicode debug/release and Unicode debug/release ... ) did not try 2.9
I've re-loaded git two hours ago and rebuilt cmake
Opencpn build works fine in both debug and release mode but :
the debug version do not run at all . I get each time the crash attached
The release version run fine but as soon as I enable one of the plugins , the crash occur as soon as I click on the tool icon or on the plugin icon . I have to deactivate manually the plugin in the config file .
Attached Thumbnails
Click image for larger version

Name:	crash.jpg
Views:	72
Size:	172.1 KB
ID:	20576  
__________________
Ptizef is offline  
Old 27-10-2010, 14:11   #245
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
I would like some feedback from windows users on different systems if this expression leads to the log&ini file directory. Works for me on an XP. From a command line or in run :
Quote:
%ALLUSERSPROFILE%\Application Data\opencpn
Thomas
__________________
cagney is offline  
Old 27-10-2010, 14:32   #246
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Hi Thomas

OK on VISTA

Jean Pierre
__________________
Ptizef is offline  
Old 27-10-2010, 14:39   #247
Registered User
 
Rik-lu's Avatar

Join Date: May 2010
Location: Luxembourg
Boat: HR40
Posts: 196
Images: 2
not on an german xp


__________________
Hi from Rik
Rik-lu is offline  
Old 27-10-2010, 15:01   #248
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Quote:
Originally Posted by cagney View Post
I would like some feedback from windows users on different systems if this expression leads to the log&ini file directory. Works for me on an XP. From a command line or in run :
Jepp, but doesn't work on Win 7.
And should also not be OK for Vista.

See http://en.wikipedia.org/wiki/Environment_variable#User_management_variables

Quote:
%AllUsersProfile% (%PROGRAMDATA% for Windows Vista, Windows 7)
The %AllUsersProfile%(%PROGRAMDATA%) variable expands to the full path to the All Users profile directory. This profile contains resources and settings that are used by all system accounts. Shortcut links copied to the All Users' Start menu or Desktop folders will appear in every user's Start menu or Desktop, respectively.
Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 27-10-2010, 15:28   #249
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Jean Pierre,

in about.cpp, line 62, make this change:

from:
wxString str_version_date(VERSION_DATE, wxConvUTF8);

to:
wxString str_version_date;

Then rebuild, and try debug again.

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 27-10-2010, 15:28   #250
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Thomas.. #247

OK on Vista in Brazil....
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline  
Old 27-10-2010, 16:45   #251
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
windows built

Many thanks Gunther
After the change and re-built , I can run debug , but I get many warnings and at the end a crash
See shots attached :
plugin1 , I had just select a plugin
plugin2 ,after clicking to continue
plugin3 , after clicking to continue , the pluging GRIB have been selected , but the corresponding icon is not displayed , the place is empty
plugin4 , the crash if I click on the tool box icon or if I try to start a plugin

In the release mode I have no warning but the same crash

Regards
Jean Pierre
Attached Thumbnails
Click image for larger version

Name:	plugin1.jpg
Views:	65
Size:	205.2 KB
ID:	20581   Click image for larger version

Name:	plugin2.jpg
Views:	65
Size:	251.0 KB
ID:	20582  

Click image for larger version

Name:	plugin3.jpg
Views:	71
Size:	244.0 KB
ID:	20583   Click image for larger version

Name:	plugin4.jpg
Views:	64
Size:	167.0 KB
ID:	20584  

__________________
Ptizef is offline  
Old 27-10-2010, 16:53   #252
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Jean Pierre,

the first error you had on debug which could be temporarily fixed by changing the line in about.cpp is exactly the same error I had, too.
And the fix is from Dave.

So maybe he can help you.

I solved the problem by uninstalling all wxWidgets installations/files and going back to version 2.8.10 (wxMSW-2.8.10-Setup.exe).

@Dave
As Jean Pierre now has the same problem as I maybe there is something "wrong"? But Pavel tested version 2.8.11 and he had no problems ...!
All very "strange" ...

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 27-10-2010, 16:58   #253
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
jp....

I think the problem is with the PlugIns, obviously.

In the Visual Studio environment, ocpn uses relative path names to find the PlugIns. The PlugIn location changes depending on Debug or Release mode.
This behavior is "built-in" to wxWidgets.

I think ocpn may be loading some older invalid PlugIn which is not compatible with 1026.

Check the logfile. It will tell you where the PlugIn directory is located. On my XP system, it looks like this:

Code:
5:33:42 PM: PlugInManager searching for PlugIns in location E:\opencpn_cmake2008\plugins

So, you need to build the PlugIn targets individually, and then move the dll's to the right place to be found at runtime, separately for Debug and Release.

It would be helpful to me if you could save and send me a copy of the invalid PlugIn. Maybe I can learn to recognize the invalidity, and refuse to load it.

I hope this helps
Dave
__________________
bdbcat is offline  
Old 27-10-2010, 17:02   #254
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Jean Pierre,
Some warnings in Debug are pretty normal and can be ignored, but I haven't seen the ones you have before.
What is your directory structure? Are you sure you are loading the freshly built plug-in dlls?

Pavel
__________________
nohal is offline  
Old 27-10-2010, 17:11   #255
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Quote:
Originally Posted by Netsurfer View Post
But Pavel tested version 2.8.11 and he had no problems ...!
All very "strange" ...
I now routinely build against 2.8.11 and there is no problem at all so the version of WX should really not be the cause of the problem.

Pavel
__________________

__________________
nohal is offline  
Closed Thread

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
Beta Test / Technical bdbcat OpenCPN 2072 Yesterday 18:48
OpenCPN Version 2.1.0 Beta bdbcat OpenCPN 1045 25-06-2010 11:09
OpenCPN Version 1.3.5 Beta Technical bdbcat OpenCPN 544 24-03-2010 11:34



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 15:34.


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.