Cruisers Forum
 


Closed Thread
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-10-2010, 16:35   #256
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Pavel,
Quote:
Originally Posted by nohal View Post
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.
You're certainly right.
But I still do not understand where the error(s) came from!?
All the time (and I have built the package a hundred times during the installer's development) it worked without any problem.
And suddenly I could still build it (without errors) but the generated file is somehow "corrupted" (same problems like JP) - strange/ mysterious .

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 28-10-2010, 01:23   #257
Registered User

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

Hi Dave , Gunther and all

Many thanks for your help

I cloned once more a complete new git sources , cmake build and VC++ build ....
nothing changed
The DLL are placed at the right place (found in the log)

very curious :

the size in release mode :
the opencpn.exe file is 3.6MO whereas the one from the installer is only 1.8MO
the grib_pi_dll file is 1.3MO whereas the one from the installer is only 217KO !!!
the same problem for others dlls
It's worth for debug mode but may be it's normal

Another strange issue : (off course all in release mode)
1)If I put the .exe from my built in the normal cpn environment thus using the dlls coming from the installer , it find its and I have the crash described above
2)but if I put these dlls from the installer in the right place in vc++ environment , thus the same .exe and same dlls as in case 1 above,dlls are not found !
3)if I put the dlls from my built in the normal environment thus using the .exe from the installer , the same crash

Thus there is a problem not only in the dll built but also in the .exe built , otherwise the case 1 should be work as it did until now , and I did that more that hundred times .

.exe + dll both personal built = crash
.exe personnal built + dll from installer = crash (except in vc++ environment dlls are not found)
.exe from installer + dll personal build = crash

I can't try back 2.8.10 wxWindgets , it's no longer available on the site

Dave I'll send you the wrong dll by email

thanks again

Jean Pierre
Ptizef is offline  
Old 28-10-2010, 01:43   #258
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
I can't try back 2.8.10 wxWindgets , it's no longer available on the site
It is still available.
Go to Browse wxWidgets Files on SourceForge.net
and scroll the page down to the folder 'wxMSW' - click on the folder - then you'll find the subfolders for the previous versions.

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 28-10-2010, 05:53   #259
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
thanks Gunther

De-installed wxWidgets 2.8.11 and installed 2.8.10
built Unicode debug , Unicode release , Unicode DLL debug , Inicode DLL release
Deleted opencpn sources folder
Loaded once more the last git
ran cmake
built opencpn

I got exactly the same result and nothing changed (same oddly files size, same warnings and same crash)

Jean Pierre
Ptizef is offline  
Old 28-10-2010, 06:04   #260
Registered User
 
Netsurfer's Avatar

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

one last idea to try ... (if it doesn't work throw your computer out of the window and buy a new one ... )
Quote:
Originally Posted by Ptizef View Post
De-installed wxWidgets 2.8.11 and installed 2.8.10
built Unicode debug , Unicode release , Unicode DLL debug , Inicode DLL release
Uninstall and remove really all files (and also the setting in the PATH variable) of wxWidgets.

Then install wxWidgets 2.8.10 and build only the DLL Unicode Release files!

Try again to build OCPN and compare the file sizes.

This way it went OK for me.

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline  
Old 28-10-2010, 06:30   #261
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Another idea....

Maybe CMake is finding the wrong wxWidgets dlls?
Or, it may be trying to do a static (non-dll) build. That would explain the size growth.

In Visual Studio, please check the project Properties->Linker->Input files.
There you will find the wxWidgets dlls that are to be linked. Are they the same as the ones that get installed by the Installer? (Release mode..)

As Gunther noted, I found bugs in CMake detection of wxWidgets libraries. I had to delete the static wxWidgets libraries and build only the dlls in order to get CMake to find the right stuff.

Dave
bdbcat is online now  
Old 28-10-2010, 08:47   #262
Registered User
 
motorbaad's Avatar

Join Date: Feb 2010
Location: scandinavia
Boat: pilotboat 36
Posts: 30
Hi. No problems running 1026 on XP pro sp 3, but i noticed something odd in turn indicators on the AIS targets. None of these ships are going straight. Not even the target selected. But it shows 0 degrees ROT in the target query label.


motorbaad is offline  
Old 28-10-2010, 08:54   #263
Registered User

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

Quote:
Originally Posted by bdbcat View Post
Another idea....
In Visual Studio, please check the project Properties->Linker->Input files.
There you will find the wxWidgets dlls that are to be linked. Are they the same as the ones that get installed by the Installer? (Release mode..)
Dave
If I do not make mistake , the answer is absolutely no !
you can find attached the dll you well know , being in the installer and those I found in project/properties/linker/entry

I'll try what Gunther proposed

thanks again
Jean Pierre
Attached Thumbnails
Click image for larger version

Name:	dll-installer.jpg
Views:	136
Size:	35.4 KB
ID:	20595   Click image for larger version

Name:	dll-vc++.jpg
Views:	189
Size:	179.2 KB
ID:	20596  

Ptizef is offline  
Old 28-10-2010, 09:19   #264
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
jp....

It seems clear that you are linking to the static wxWidgets libraries.

The static libraries are in {...}/vc_lib/

The dll libraries are in {...}/vc_dll/

Clearly a problem with CMake. It is ignoring the directive in the CMakeLists.txt file

Code:
SET( wxWidgets_USE_STATIC OFF)
I have found it necessary to either:
a. Delete the static libraries entirely ({...}/vc_lib/*)
..or..
b. Run the CMake GUI version, and manually set the wxWidgets_LIB_DIR variable to {...}/vc_dll

Good Luck
Dave
bdbcat is online now  
Old 28-10-2010, 09:54   #265
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
You were right !!
that was the solution . Now it works again

This problem was far under my head and without your help may be I would have
dropped my computer through the window as Gunther suggested
So I'll be able to continue annoying you with my bad small patches .... and off courses try to find what could not be working in opencpn ...

Many thanks again

Jean Pierre
Ptizef is offline  
Old 28-10-2010, 10:41   #266
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by sinbad7 View Post
Thomas.. #247

OK on Vista in Brazil....
Thanks Tore and everyone who answered. I came to the conclusion that this was to complicated. Many new users had a problem finding the logfile on Windows in earlier versions, and now it's getting worse...
I concluded that another approach was necessary and was going to post a feature request, when I found out that Dave already had, a bit stealthy, implemented the feature.
The rest of the story here Installing OpenCPN | Official OpenCPN Homepage

Thanks Dave - good thinking.

Thomas
cagney is offline  
Old 29-10-2010, 06:35   #267
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,472
Thomas....

Oops, sorry I forgot to note the change in Changelog.

I was debugging a Win7Starter Netbook, where the MS search tool is not useful. Got frustrated, and added the pointer to the logfile to the Help box.

Glad you found it

Dave
bdbcat is online now  
Old 29-10-2010, 10:00   #268
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 336
libgps mismatch

Greets:

Was wondering what version of libgps OPCN is currently using. Did a git pull last night to update and the version I have on Ubuntu is 2.94. Upon start you get the typical error message that this version is incompatible however it compiled fine against it.

Best regards and many thanks

/ch
sailias is offline  
Old 29-10-2010, 10:11   #269
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by sailias View Post
Greets:

Was wondering what version of libgps OPCN is currently using. Did a git pull last night to update and the version I have on Ubuntu is 2.94. Upon start you get the typical error message that this version is incompatible however it compiled fine against it.

Best regards and many thanks

/ch
Your version is just fine. It's libgps in itself, that is problematic.
More here.

Thomas
cagney is offline  
Old 29-10-2010, 10:42   #270
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 336
Thanks Thomas, much appreciated.

/ch
sailias is offline  
Closed 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 2881 28-06-2024 02:46
OpenCPN Version 2.1.0 Beta bdbcat OpenCPN 1045 25-06-2010 10:09
OpenCPN Version 1.3.5 Beta Technical bdbcat OpenCPN 544 24-03-2010 10:34

Advertise Here


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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.