Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-02-2011, 04:46   #31
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
Re: Organizing Nav Objects into Layers

PjotrC.

Is there a patch I can directly use for Vista? Not very good on compiling etc.
I still miss being able to 'lock' the icons.

Tore
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 25-02-2011, 06:19   #32
Registered User

Join Date: Feb 2010
Posts: 619
Re: Organizing Nav Objects into Layers

I've put the Windows executable (1.8MB) for download at

opencpn.exe - 4shared.com - online file sharing and storage - download

Replacing this in the original distribution works for me (Vista).

If RM will crash on first call, remove opencpn.ini and navobj.xml (make a proper backup before starting to test) and it should work again. Of course, I appreciate hints on why it does crash...

Good luck and thanks for feedback.

Piotr
__________________

__________________
PjotrC is offline   Reply With Quote
Old 25-02-2011, 06:35   #33
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
Re: Organizing Nav Objects into Layers

PjotrC

Regret but the patch does not even start OpenCPN but gives error message saying can not start as wxmsw28_aui_vc_custom.dll is missing.???

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 25-02-2011, 07:07   #34
Registered User

Join Date: Feb 2010
Posts: 619
Re: Organizing Nav Objects into Layers

Tore,

There is not much more I can do now... For some reason I cannot build a distribution package, obtaining a failure in post-build processing as follows
Code:
# Run command: "C:/Program Files/NSIS/makensis.exe"
"C:/Users/Tomek/opencpn/build/_CPack_Packages/win32/NSIS/project.nsi"
# Output:
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "C:\Program Files\NSIS\Plugins\*.dll"
 - AdvSplash::show
 - Banner::destroy

......

 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack
!define: "MUI_INSERT_NSISCONF"=""
Changing directory to: "C:\Users\Tomek\opencpn\build\_CPack_Packages\win32\NSIS"
Processing script file: "C:/Users/Tomek/opencpn/build/_CPack_Packages/win32/NSIS/project.nsi"

Invalid command: /*-----------------------------------------------------------------------------------------------------

Error in script "C:/Users/Tomek/opencpn/build/_CPack_Packages/win32/NSIS/project.nsi" on line 1 -- aborting creation process
Not easy, builder's life...

P.
__________________
PjotrC is offline   Reply With Quote
Old 25-02-2011, 07:25   #35
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
Re: Organizing Nav Objects into Layers

PjotrC..

The file which the system ask for wxmsw28u_aui_vc_custom.dll is located BOTH in the main OpenCPN directory as well as in the Windows\systems directory,yet it fails to find it???

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 25-02-2011, 07:28   #36
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,020
Re: Organizing Nav Objects into Layers

Piotr,
from the error message it looks like your exe is built against a non-unicode version of WX libraries to me. The only thing I remember about that is that it was a bit tricky to clean up all the non-unicode build artifacts of WX and switch to unicode to produce a working version. Think that I resolved it by removing the whole WX, installing it again and building strictly just the unicode debug/unicode release version.
With the installer I have no idea, maybe if Netsurfer appears he can tell you what's wrong.

Pavel
__________________
nohal is offline   Reply With Quote
Old 25-02-2011, 07:39   #37
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
Re: Organizing Nav Objects into Layers

Pavel/PjotrC

OK boys..this is not an area for the un-initiated. I have returned to the latest standard version of OpenCPN until you guys manage to create a working Vista executable. Looking forward to future versions.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 27-02-2011, 05:08   #38
Registered User

Join Date: Feb 2010
Posts: 619
Re: Organizing Nav Objects into Layers

I posted a complete source patch to flyspray.

I added a button for layer-wise show/hide of waypoint names (text). Was just wondering, whether to match WPT names visibility to the Show Enc Text... another option.

The default now is that objects in layers are initially not listed in other RM tabs - I think this is the more likely usage, also works much faster.

Enjoy,

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 27-02-2011, 06:46   #39
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: Organizing Nav Objects into Layers

piotr

the patch compiles OK on ubuntu, but can't start opencpn.
I get this message when trying:
Quote:
netlib_connectsock() returns socket on fd 9
Illegal instruction
Thomas
__________________
cagney is offline   Reply With Quote
Old 27-02-2011, 11:48   #40
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 304
Re: Organizing Nav Objects into Layers

Same problem under gentoo
Dirk
__________________
rooiedirk is offline   Reply With Quote
Old 27-02-2011, 12:08   #41
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 304
Re: Organizing Nav Objects into Layers

To be complete here the build log:
Code:
[  0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsapp.c.o
[  0%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpscom.c.o                                               
[  1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmath.c.o                                              
[  1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsmem.c.o                                               
[  1%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsprot.c.o                                              
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsread.c.o                                              
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice.c.o                                            
[  2%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_ser.c.o                                        
[  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsdevice_usb.c.o                                        
[  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsrqst.c.o                                              
[  3%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpssend.c.o                                              
[  5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsserial.c.o                                            
[  5%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsutil.c.o                                              
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbread.c.o                                           
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbsend.c.o                                           
[  6%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/gpsusbcommon.c.o                                         
[  7%] Building C object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper_utils.c.o                                 
[  7%] Building CXX object CMakeFiles/GARMINHOST.dir/src/garmin/jeeps/garmin_wrapper.cpp.o                                   
Linking CXX static library libGARMINHOST.a                                                                                   
[  7%] Built target GARMINHOST                                                                                               
[  7%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea.cpp.o
[  9%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/latlong.cpp.o                                                
[  9%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/long.cpp.o                                                   
[  9%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/nmea0183.cpp.o                                               
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/response.cpp.o                                               
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmb.cpp.o                                                    
[ 10%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/sentence.cpp.o                                               
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/talkerid.cpp.o                                               
[ 11%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rmc.cpp.o                                                    
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hexvalue.cpp.o                                               
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/lat.cpp.o                                                    
[ 12%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/expid.cpp.o                                                  
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/wpl.cpp.o                                                    
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/rte.cpp.o                                                    
[ 14%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdt.cpp.o                                                    
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdg.cpp.o                                                    
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/hdm.cpp.o                                                    
[ 15%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gll.cpp.o                                                    
[ 16%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/vtg.cpp.o                                                    
[ 16%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gga.cpp.o                                                    
[ 16%] Building CXX object CMakeFiles/NMEA0183.dir/src/nmea0183/gsv.cpp.o                                                    
Linking CXX static library libNMEA0183.a                                                                                     
[ 16%] Built target NMEA0183                                                                                                 
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/s52cnsy.cpp.o
[ 18%] Building CXX object CMakeFiles/S57ENC.dir/src/s52plib.cpp.o                                                           
[ 19%] Building CXX object CMakeFiles/S57ENC.dir/src/s52utils.cpp.o                                                          
[ 19%] Building CXX object CMakeFiles/S57ENC.dir/src/s57chart.cpp.o                                                          
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp: In member function 'void s57chart::CreateSENCRecord(OGRFeature*, FILE*, int, S57Reader*)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4793: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4872: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4935: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4936: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4937: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4941: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4942: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4943: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4953: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4954: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4955: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4976: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5015: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5094: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5174: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5175: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5176: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5185: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5186: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5187: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5210: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp: In member function 'void s57chart::CreateSENCVectorEdgeTable(FILE*, S57Reader*)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5242: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5257: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5271: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5281: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp: In member function 'void s57chart::CreateSENCConnNodeTable(FILE*, S57Reader*)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5317: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5326: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:5341: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp: In member function 'int s57chart::BuildRAZFromSENCFile(const wxString&)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:155: warning: 'vee.VE_Element::max_priority' may be used uninitialized in this function
/home/dirk/opencpn/GitOpenCPN/opencpn/src/s57chart.cpp:4295: note: 'vee.VE_Element::max_priority' was declared here
[ 19%] Building CXX object CMakeFiles/S57ENC.dir/src/mygeom.cpp.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/mygeom.cpp: In member function 'int PolyTessGeo::Write_PolyTriGroup(FILE*)':       
/home/dirk/opencpn/GitOpenCPN/opencpn/src/mygeom.cpp:922: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/mygeom.cpp:926: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/mygeom.cpp:931: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
[ 20%] Building C object CMakeFiles/S57ENC.dir/src/tri.c.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tri.c:125: warning: 'cvsid_aw' defined but not used                                
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddffielddefn.cpp.o
[ 20%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfmodule.cpp.o                                               
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfrecord.cpp.o                                               
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfsubfielddefn.cpp.o                                         
[ 22%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddffield.cpp.o                                                
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/myiso8211/ddfutils.cpp.o                                                
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ddfrecordindex.cpp.o                                             
[ 23%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_conv.cpp.o                                                   
[ 24%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_csv.cpp.o                                                    
[ 24%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_dir.cpp.o                                                    
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_error.cpp.o                                                  
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_findfile.cpp.o                                               
[ 25%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_minixml.cpp.o                                                
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_path.cpp.o                                                   
In file included from /usr/include/string.h:642,                                                                             
                 from /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_port.h:161,
                 from /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_conv.h:100,
                 from /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_path.cpp:82:
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'const char* CPLFormFilename(const char*, const char*, const char*)' at /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_path.cpp:449:
/usr/include/bits/string3.h:152: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'const char* CPLFormFilename(const char*, const char*, const char*)' at /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_path.cpp:450:
/usr/include/bits/string3.h:152: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'const char* CPLFormFilename(const char*, const char*, const char*)' at /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_path.cpp:451:
/usr/include/bits/string3.h:152: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'const char* CPLFormFilename(const char*, const char*, const char*)' at /home/dirk/opencpn/GitOpenCPN/opencpn/src/mygdal/cpl_path.cpp:452:
/usr/include/bits/string3.h:152: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_string.cpp.o
[ 27%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cpl_vsisimple.cpp.o                                              
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/cplgetsymbol.cpp.o                                               
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ograssemblepolygon.cpp.o                                         
[ 28%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrcurve.cpp.o                                                   
[ 29%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfeature.cpp.o                                                 
[ 29%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfeaturedefn.cpp.o                                             
[ 29%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrfielddefn.cpp.o                                               
[ 31%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometry.cpp.o                                                
[ 31%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometrycollection.cpp.o                                      
[ 32%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrgeometryfactory.cpp.o                                         
[ 32%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlinearring.cpp.o                                              
[ 32%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlinestring.cpp.o                                              
[ 33%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultilinestring.cpp.o                                         
[ 33%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultipoint.cpp.o                                              
[ 33%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrmultipolygon.cpp.o                                            
[ 35%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrpoint.cpp.o                                                   
[ 35%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrpolygon.cpp.o                                                 
[ 35%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrs57datasource.cpp.o                                           
[ 36%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrlayer.cpp.o                                                   
[ 36%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrs57layer.cpp.o                                                
[ 36%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/ogrutils.cpp.o                                                   
[ 37%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57classregistrar.cpp.o                                          
[ 37%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57featuredefns.cpp.o                                            
[ 38%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/s57reader.cpp.o                                                  
[ 38%] Building CXX object CMakeFiles/S57ENC.dir/src/mygdal/gdal_misc.cpp.o                                                  
Linking CXX static library libS57ENC.a                                                                                       
[ 38%] Built target S57ENC                                                                                                   
[ 38%] i18n [opencpn_el_GR]: Created mo file.
[ 38%] i18n [opencpn_cs_CZ]: Created mo file.                                                                                
[ 38%] i18n [opencpn_da_DK]: Created mo file.                                                                                
[ 38%] i18n [opencpn_de_DE]: Created mo file.                                                                                
[ 38%] i18n [opencpn_es_ES]: Created mo file.                                                                                
[ 38%] i18n [opencpn_fr_FR]: Created mo file.                                                                                
[ 38%] i18n [opencpn_it_IT]: Created mo file.                                                                                
[ 38%] i18n [opencpn_nl_NL]: Created mo file.                                                                                
[ 38%] i18n [opencpn_pl_PL]: Created mo file.                                                                                
[ 38%] i18n [opencpn_ru_RU]: Created mo file.                                                                                
[ 38%] i18n [opencpn_sv_SE]: Created mo file.                                                                                
[ 38%] i18n [opencpn_et_ET]: Created mo file.                                                                                
[ 38%] i18n [opencpn_pt_PT]: Created mo file.                                                                                
[ 38%] i18n [opencpn_pt_BR]: Created mo file.                                                                                
[ 38%] i18n [opencpn_nb_NO]: Created mo file.                                                                                
[ 38%] i18n [opencpn_tr_TR]: Created mo file.                                                                                
[ 38%] i18n [opencpn_fi_FI]: Created mo file.                                                                                
[ 38%] i18n: Done.                                                                                                           
[ 46%] Built target i18n                                                                                                     
[ 46%] Building CXX object CMakeFiles/opencpn.dir/src/chart1.cpp.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/chart1.cpp: In member function 'virtual bool MyApp::OnInit()':                     
/home/dirk/opencpn/GitOpenCPN/opencpn/src/chart1.cpp:1763: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime
/home/dirk/opencpn/GitOpenCPN/opencpn/src/chart1.cpp: In member function 'bool MyFrame::DoChartUpdate()':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/chart1.cpp:6153: warning: suggest parentheses around '&&' within '||'
[ 48%] Building CXX object CMakeFiles/opencpn.dir/src/bbox.cpp.o
[ 48%] Building CXX object CMakeFiles/opencpn.dir/src/ocpn_pixel.cpp.o                                                       
[ 48%] Building CXX object CMakeFiles/opencpn.dir/src/chartdb.cpp.o                                                          
[ 49%] Building CXX object CMakeFiles/opencpn.dir/src/chartdbs.cpp.o                                                         
[ 49%] Building CXX object CMakeFiles/opencpn.dir/src/chartimg.cpp.o                                                         
[ 50%] Building CXX object CMakeFiles/opencpn.dir/src/chcanv.cpp.o                                                           
[ 50%] Building CXX object CMakeFiles/opencpn.dir/src/concanv.cpp.o                                                          
[ 50%] Building C object CMakeFiles/opencpn.dir/src/cutil.c.o                                                                
/home/dirk/opencpn/GitOpenCPN/opencpn/src/cutil.c:112: warning: 'cvsid_aw' defined but not used                              
[ 51%] Building C object CMakeFiles/opencpn.dir/src/georef.c.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/georef.c:87: warning: 'cvsid_aw' defined but not used                              
[ 51%] Building CXX object CMakeFiles/opencpn.dir/src/navutil.cpp.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp: In member function 'int MyConfig::LoadMyConfig(int)':                 
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp:2945: warning: unused variable 'laynum'
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp: In member function 'void MyConfig::ImportGPX(wxWindow*, bool, wxString, bool)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp:4143: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime
[ 51%] Building CXX object CMakeFiles/opencpn.dir/src/routeman.cpp.o
[ 53%] Building CXX object CMakeFiles/opencpn.dir/src/routemanagerdialog.cpp.o                                               
[ 53%] Building CXX object CMakeFiles/opencpn.dir/src/routeprop.cpp.o                                                        
[ 53%] Building CXX object CMakeFiles/opencpn.dir/src/statwin.cpp.o                                                          
[ 54%] Building CXX object CMakeFiles/opencpn.dir/src/tcmgr.cpp.o                                                            
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In constructor 'TCMgr::TCMgr(const wxString&, const wxString&)':        
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:288: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:291: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:297: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:307: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:309: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In constructor 'TCMgr::TCMgr(const wxString&, const wxString&)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:288: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:291: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:297: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:307: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:309: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In constructor 'TCMgr::TCMgr(const wxString&, const wxString&)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:288: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:291: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:297: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:307: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:309: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In member function 'void TCMgr::skipnl(FILE*)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:1391: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In member function 'double TCMgr::blend_tide(time_t, int, int, double)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:2718: warning: array subscript is below array bounds
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp: In member function 'Station_Data* TCMgr::find_or_load_harm_data(IDX_entry*)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/tcmgr.cpp:918: warning: array subscript is below array bounds
[ 54%] Building CXX object CMakeFiles/opencpn.dir/src/thumbwin.cpp.o
[ 54%] Building CXX object CMakeFiles/opencpn.dir/src/options.cpp.o                                                          
[ 55%] Building CXX object CMakeFiles/opencpn.dir/src/wvschart.cpp.o                                                         
[ 55%] Building CXX object CMakeFiles/opencpn.dir/src/about.cpp.o                                                            
[ 57%] Building CXX object CMakeFiles/opencpn.dir/src/ais.cpp.o                                                              
[ 57%] Building CXX object CMakeFiles/opencpn.dir/src/cm93.cpp.o                                                             
[ 57%] Building CXX object CMakeFiles/opencpn.dir/src/pluginmanager.cpp.o                                                    
[ 58%] Building CXX object CMakeFiles/opencpn.dir/src/tinyxml.cpp.o                                                          
[ 58%] Building CXX object CMakeFiles/opencpn.dir/src/tinyxmlerror.cpp.o                                                     
[ 58%] Building CXX object CMakeFiles/opencpn.dir/src/tinyxmlparser.cpp.o                                                    
[ 59%] Building CXX object CMakeFiles/opencpn.dir/src/tinystr.cpp.o                                                          
[ 59%] Building CXX object CMakeFiles/opencpn.dir/src/gpxdocument.cpp.o                                                      
/home/dirk/opencpn/GitOpenCPN/opencpn/src/gpxdocument.cpp: In static member function 'static int GpxDocument::GetRandomNumber(int, int)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/gpxdocument.cpp:131: warning: integer overflow in expression
[ 59%] Building CXX object CMakeFiles/opencpn.dir/src/scrollingdialog.cpp.o
Linking CXX executable opencpn                                                                                               
[ 59%] Built target opencpn                                                                                                  
[ 59%] grib-i18n [el_GR]: Created mo file.
[ 59%] grib-i18n [es]: Created mo file.                                                                                      
[ 59%] grib-i18n [pl_PL]: Created mo file.                                                                                   
/home/dirk/opencpn/GitOpenCPN/opencpn/plugins/grib_pi/po/pl_PL.po:7: warning: header field `Language' still has the initial default value
[ 59%] grib-i18n [da]: Created mo file.
[ 59%] grib-i18n [fi_FI]: Created mo file.                                                                                   
[ 59%] grib-i18n [et]: Created mo file.                                                                                      
[ 59%] grib-i18n [pl]: Created mo file.                                                                                      
[ 59%] grib-i18n [ru]: Created mo file.                                                                                      
[ 59%] grib-i18n [pt_BR]: Created mo file.                                                                                   
[ 59%] grib-i18n [cs]: Created mo file.                                                                                      
[ 59%] grib-i18n [it]: Created mo file.                                                                                      
[ 59%] grib-i18n [nl]: Created mo file.                                                                                      
[ 59%] grib-i18n [fr]: Created mo file.                                                                                      
[ 59%] grib-i18n [de]: Created mo file.                                                                                      
[ 59%] grib-i18n [nb_NO]: Created mo file.                                                                                   
[ 59%] grib-i18n [sv]: Created mo file.                                                                                      
[ 59%] grib-i18n [pt_PT]: Created mo file.                                                                                   
[ 59%] grib-i18n: Done.                                                                                                      
[ 67%] Built target grib-i18n                                                                                                
[ 67%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/grib_pi.cpp.o
[ 67%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/grib.cpp.o                                             
[ 68%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/icons.cpp.o                                            
[ 68%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/GribReader.cpp.o                                       
[ 68%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/GribRecord.cpp.o                                       
[ 70%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/zuFile.cpp.o                                           
[ 70%] Building CXX object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/IsoLine.cpp.o                                          
[ 70%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/bzlib.c.o                                          
[ 71%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/blocksort.c.o                                      
[ 71%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/compress.c.o                                       
[ 72%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/crctable.c.o                                       
[ 72%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/decompress.c.o                                     
[ 72%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/huffman.c.o                                        
[ 74%] Building C object plugins/grib_pi/CMakeFiles/grib_pi.dir/src/bzip2/randtable.c.o                                      
Linking CXX shared library libgrib_pi.so                                                                                     
[ 74%] Built target grib_pi                                                                                                  
[ 74%] dashboard-i18n [el_GR]: Created mo file.
[ 74%] dashboard-i18n [es]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [pl_PL]: Created mo file.                                                                              
[ 74%] dashboard-i18n [da]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [fi_FI]: Created mo file.                                                                              
[ 74%] dashboard-i18n [et]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [pl]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [ru]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [pt_BR]: Created mo file.                                                                              
[ 74%] dashboard-i18n [cs]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [it]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [nl]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [fr]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [de]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [nb_NO]: Created mo file.                                                                              
[ 74%] dashboard-i18n [sv]: Created mo file.                                                                                 
[ 74%] dashboard-i18n [pt_PT]: Created mo file.                                                                              
[ 74%] dashboard-i18n: Done.                                                                                                 
[ 81%] Built target dashboard-i18n                                                                                           
[ 83%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/dashboard_pi.cpp.o
[ 83%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/instrument.cpp.o                             
[ 84%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/compass.cpp.o                                
[ 84%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/dial.cpp.o                                   
[ 84%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/gps.cpp.o                                    
[ 85%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/rudder_angle.cpp.o                           
[ 85%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/speedometer.cpp.o                            
[ 85%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/wind.cpp.o                                   
[ 87%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/depth.cpp.o                                  
[ 87%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/icons.cpp.o                                  
[ 87%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/latlong.cpp.o                       
[ 88%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/long.cpp.o                          
[ 88%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/nmea0183.cpp.o                      
[ 88%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/response.cpp.o                      
[ 89%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/rmb.cpp.o                           
[ 89%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/sentence.cpp.o                      
[ 90%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/talkerid.cpp.o                      
[ 90%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/rmc.cpp.o                           
[ 90%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/hexvalue.cpp.o                      
[ 92%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/lat.cpp.o                           
[ 92%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/expid.cpp.o                         
[ 92%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/wpl.cpp.o                           
[ 93%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/rte.cpp.o                           
[ 93%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/hdt.cpp.o                           
[ 93%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/hdg.cpp.o                           
[ 94%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/hdm.cpp.o                           
[ 94%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/gll.cpp.o                           
[ 94%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/vtg.cpp.o                           
[ 96%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/gga.cpp.o                           
[ 96%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/gsv.cpp.o                           
[ 97%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/dbt.cpp.o                           
[ 97%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/dpt.cpp.o                           
[ 97%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/mtw.cpp.o                           
[ 98%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/mwv.cpp.o                           
[ 98%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/vhw.cpp.o                           
[ 98%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/vwr.cpp.o                           
[100%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/zda.cpp.o                           
[100%] Building CXX object plugins/dashboard_pi/CMakeFiles/dashboard_pi.dir/src/nmea0183/rsa.cpp.o                           
Linking CXX shared library libdashboard_pi.so                                                                                
[100%] Built target dashboard_pi
Where I guess this is the part going wrong:
Code:
[ 51%] Building CXX object CMakeFiles/opencpn.dir/src/navutil.cpp.o
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp: In member function 'int MyConfig::LoadMyConfig(int)':                 
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp:2945: warning: unused variable 'laynum'
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp: In member function 'void MyConfig::ImportGPX(wxWindow*, bool, wxString, bool)':
/home/dirk/opencpn/GitOpenCPN/opencpn/src/navutil.cpp:4143: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime
[ 51%] Building CXX object CMakeFiles/opencpn.dir/src/routeman.cpp.o
Dirk
__________________
rooiedirk is offline   Reply With Quote
Old 27-02-2011, 12:33   #42
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,020
Re: Organizing Nav Objects into Layers

Dirk,
looks quite likely - try to add the c_str() call there the same way as if I was the one to write this code
It should do.
By the way it looks like it's not possible to make MSVC produce this warning at all

The same applies to

Code:
/home/dirk/opencpn/GitOpenCPN/opencpn/src/chart1.cpp:1763: warning: cannot pass objects of non-POD type 'class wxString' through '...'; call will abort at runtime
Pavel
__________________
nohal is offline   Reply With Quote
Old 28-02-2011, 05:39   #43
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 304
Re: Organizing Nav Objects into Layers

Hoi,
I can't find a change with "mb_str()" at all in the patch file. So I did:
As far as my programming knowledge goes (and that is no to far), the error lines are used for writing to the logfile. So I commented out those two lines, and indeed I do get a blank line in the logfile when opening charts.
But when I push the Routemanager btn. chrash.
__________________
rooiedirk is offline   Reply With Quote
Old 28-02-2011, 08:43   #44
Registered User

Join Date: Feb 2010
Posts: 619
Re: Organizing Nav Objects into Layers

Quote:
Originally Posted by rooiedirk View Post
But when I push the Routemanager btn. chrash.
Rooiedirk,

Thanks a lot for your patience...
I did test the layers feature a lot over past days mith many thousands of waypoints, etc. and could not reproduce the initial RM crash. It used never to occur on a fresh configuration (not opencpn.ini and no navobj.xml present). Still, I suspect it was connected to the event handling occuring on choosing a tab in RM notebook.

I attach a different implementation (dynamic Connect, instead of Event_Table), that I believe is safer. It's only a couple of lines to change.

Good luck and thanks again.

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 28-02-2011, 10:55   #45
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 304
Re: Organizing Nav Objects into Layers

Piotr,
Bingo. I only tested with one layer, but it loads and showsup without crashing.
Dirk
__________________

__________________
rooiedirk is offline   Reply With Quote
Reply

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
Organizing the Cats by Performance Sand crab Multihull Sailboats 68 28-02-2011 14:51
Organizing 12vdc Distribution Panel SV Demeter Electrical: Batteries, Generators & Solar 45 12-12-2010 10:20
What Are the Objects that Display . . . Gilletarom OpenCPN 47 08-09-2010 16:01
Are Ten Layers of Fiberglass Strong? goldbeard Construction, Maintenance & Refit 18 14-04-2010 09:05



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02:10.


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.