Cruisers Forum
 


Reply
  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 16-03-2023, 10:46   #2821
Registered User

Join Date: Dec 2010
Location: oxnard, california
Boat: stich and glue, 19 ft wherry row/sail
Posts: 35
Re: Beta Test / Technical

Hello Cruisers Forum

Not sure if I am missing a prerequiste, but would appreciate any guidance

I am trying to compile OpenCPN from git on fedora fc38 (beta)

https://github.com/OpenCPN/OpenCPN.git

When running make -n I get the following error.

CMakeFiles/opencpn.dir/src/glTextureManager.cpp.o.d -o CMakeFiles/opencpn.dir/src/glTextureManager.cpp.o -c /usr/local/src/OpenCPN/src/glTextureManager.cpp
make[2]: *** No rule to make target 'libs/observable/lib_OBSERVABLE.a', needed by 'opencpn'. Stop.
make[2]: Leaving directory '/usr/local/src/OpenCPN/build'
make[1]: *** [CMakeFiles/Makefile2:758: CMakeFiles/opencpn.dir/all] Error 2
make[1]: Leaving directory '/usr/local/src/OpenCPN/build'
make: *** [Makefile:159: all] Error 2
[pstan@amd-east build]$
oystercatcher is offline   Reply With Quote
Old 16-03-2023, 10:51   #2822
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,251
Re: Beta Test / Technical

You are not missing any dependency. What is your motivation to run "make -n", which does not actually build anything?
nohal is offline   Reply With Quote
Old 16-03-2023, 13:47   #2823
Registered User

Join Date: Dec 2010
Location: oxnard, california
Boat: stich and glue, 19 ft wherry row/sail
Posts: 35
Re: Beta Test / Technical

Thanks for the reply Nohal

cmake no error messages
I am including the result from make



[ 37%] Building CXX object CMakeFiles/opencpn.dir/src/mbtiles.cpp.o
/usr/lib64/ccache/c++ -DHAVE_WEBVIEW -DMG_ENABLE_OPENSSL -DNDEBUG -DRAPIDJSON_HAS_STDSTRING=1 -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__OCPN_USE_GLEW__ -D__WXGTK3__ -D__WXGTK__ -DocpnUSE_GL -DocpnUSE_GLSL -DocpnUSE_SVG -Dopencpn_EXPORTS -DwxUSE_WEBVIEW=1 -I/usr/local/src/OpenCPN/build/include -I/usr/local/src/OpenCPN/include -I/usr/include/libexif -I/usr/local/src/OpenCPN/libs/observable/include -I/usr/local/src/OpenCPN/libs/ssl_sha1/include -I/usr/local/src/OpenCPN/libs/picosha2 -I/usr/local/src/OpenCPN/libs/mongoose/include -I/usr/local/src/OpenCPN/build/_deps/rapidjson_src-src/include -I/usr/local/src/OpenCPN/libs/mDNS/include -I/usr/include/libusb-1.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/local/src/OpenCPN/libs/SQLiteCpp/include -I/usr/local/src/OpenCPN/libs/wxcurl/include -I/usr/local/src/OpenCPN/libs/serial/include -I/usr/local/src/OpenCPN/libs/libtess2/Include -I/usr/local/src/OpenCPN/libs/sound/include -I/usr/local/src/OpenCPN/libs/wxJSON/include -I/usr/local/src/OpenCPN/libs/geoprim/src -I/usr/local/src/OpenCPN/libs/s52plib/src -I/usr/local/src/OpenCPN/libs/pugixml -I/usr/local/src/OpenCPN/libs/N2KParser/include -I/usr/local/src/OpenCPN/libs/nmea0183/src -I/usr/local/src/OpenCPN/libs/iso8211/include -I/usr/local/src/OpenCPN/libs/gdal/include -I/usr/local/src/OpenCPN/libs/garmin/jeeps -I/usr/local/src/OpenCPN/libs/texcmp/squish -I/usr/local/src/OpenCPN/libs/texcmp/lz4 -I/usr/local/src/OpenCPN/libs/mipmap/include -I/usr/local/src/OpenCPN/libs/lz4/src -I/usr/local/src/OpenCPN/libs/easywsclient -I/usr/local/src/OpenCPN/libs/wxservdisc -isystem /usr/lib64/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -pthread -D__WXGTK3__ -O2 -g -DNDEBUG -std=gnu++14 -DPREFIX=\"/usr/local\" -Wall -Wno-unused -fexceptions -rdynamic -fno-strict-aliasing -Wno-deprecated-declarations -pthread -MD -MT CMakeFiles/opencpn.dir/src/mbtiles.cpp.o -MF CMakeFiles/opencpn.dir/src/mbtiles.cpp.o.d -o CMakeFiles/opencpn.dir/src/mbtiles.cpp.o -c /usr/local/src/OpenCPN/src/mbtiles.cpp
In file included from /usr/local/src/OpenCPN/src/mbtiles.cpp:60:
/usr/local/src/OpenCPN/include/mbtiles.h:37:6: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
37 | enum class MBTilesType : std::int8_t { BASE, OVERLAY };
| ~~~~ ^~~~~
| -----
/usr/local/src/OpenCPN/include/mbtiles.h:37:12: error: use of enum ‘MBTilesType’ without previous declaration
37 | enum class MBTilesType : std::int8_t { BASE, OVERLAY };
| ^~~~~~~~~~~
/usr/local/src/OpenCPN/include/mbtiles.h:37:24: error: expected unqualified-id before ‘:’ token
37 | enum class MBTilesType : std::int8_t { BASE, OVERLAY };
| ^
/usr/local/src/OpenCPN/include/mbtiles.h:38:6: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
38 | enum class MBTilesScheme : std::int8_t { XYZ, TMS };
| ~~~~ ^~~~~
| -----
/usr/local/src/OpenCPN/include/mbtiles.h:38:12: error: use of enum ‘MBTilesScheme’ without previous declaration
38 | enum class MBTilesScheme : std::int8_t { XYZ, TMS };
| ^~~~~~~~~~~~~
/usr/local/src/OpenCPN/include/mbtiles.h:38:26: error: expected unqualified-id before ‘:’ token
38 | enum class MBTilesScheme : std::int8_t { XYZ, TMS };
| ^
/usr/local/src/OpenCPN/include/mbtiles.h:142:3: error: ‘MBTilesType’ does not name a type
142 | MBTilesType m_Type;
| ^~~~~~~~~~~
/usr/local/src/OpenCPN/include/mbtiles.h:143:3: error: ‘MBTilesScheme’ does not name a type
143 | MBTilesScheme m_Scheme;
| ^~~~~~~~~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp: In member function ‘virtual InitReturn ChartMBTiles::Init(const wxString&, ChartInitFlag)’:
/usr/local/src/OpenCPN/src/mbtiles.cpp:495:9: error: ‘m_Type’ was not declared in this scope
495 | m_Type = wxString(colValue, wxConvUTF8).Upper().IsSameAs("OVERLAY")
| ^~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp:496:24: error: ‘MBTilesType’ has not been declared
496 | ? MBTilesType::OVERLAY
| ^~~~~~~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp:497:24: error: ‘MBTilesType’ has not been declared
497 | : MBTilesType::BASE;
| ^~~~~~~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp:499:9: error: ‘m_Scheme’ was not declared in this scope
499 | m_Scheme = wxString(colValue, wxConvUTF8).Upper().IsSameAs("XYZ")
| ^~~~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp:500:26: error: ‘MBTilesScheme’ has not been declared
500 | ? MBTilesScheme::XYZ
| ^~~~~~~~~~~~~
/usr/local/src/OpenCPN/src/mbtiles.cpp:501:26: error: ‘MBTilesScheme’ has not been declared
501 | : MBTilesScheme::TMS;
| ^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/opencpn.dir/build.make:653: CMakeFiles/opencpn.dir/src/mbtiles.cpp.o] Error 1
make[2]: Leaving directory '/usr/local/src/OpenCPN/build'
make[1]: *** [CMakeFiles/Makefile2:758: CMakeFiles/opencpn.dir/all] Error 2
make[1]: Leaving directory '/usr/local/src/OpenCPN/build'
make: *** [Makefile:159: all] Error 2
[pstan@amd-east build]$
oystercatcher is offline   Reply With Quote
Old 16-03-2023, 14:01   #2824
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,251
Re: Beta Test / Technical

I don't have any machine with GCC 13 at hand, but you may try adding this to line 31 in include/mbtiles.h:

Code:
#include <cstdint>
nohal is offline   Reply With Quote
Old 17-03-2023, 05:05   #2825
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,251
Re: Beta Test / Technical

I've provisioned a FC38 VM and fixed one more missing include, now the build is passing without problems on this system with current master codebase.
nohal is offline   Reply With Quote
Old 17-03-2023, 08:00   #2826
Registered User

Join Date: Dec 2010
Location: oxnard, california
Boat: stich and glue, 19 ft wherry row/sail
Posts: 35
Re: Beta Test / Technical

Many thanks nohal for the fix

I did another git clone this morning (california time) and the build completes.

list of prereqs for fedora fc38

sudo dnf install \
git \
cmake \
rpm-build \
gcc-c++ \
elfutils-devel \
elfutils-libelf-devel \
libstdc++-devel \
libcurl-devel \
libexif-devel \
libsndfile-devel \
libunarr-devel \
gtk3-devel \
wxGTK3-devel \
wxsvg-devel \
mesa-libGL-devel \
mesa-libGLU-devel \
gettext \
sqlite-devel \
bzip2-devel \
portaudio-devel \
tinyxml-devel \
expat-devel \
systemd-devel \
libusb1-devel \
libarchive-devel \
glew \
glew-devel \
jasper \
jasper-devel \
redhat-lsb-core
oystercatcher is offline   Reply With Quote
Old 04-07-2023, 22:28   #2827
Registered User

Join Date: Jul 2016
Location: Oulu, Finland
Boat: Beresford Tugboat, Model 1943, 80ft
Posts: 4
Re: Beta Test / Technical

I think I may have found a bug in OpenCPN windows version 5.8.4 or S63 plugin version 1.19.00 with windows 11.

I made a fresh install and tried to add some S63 maps and found this on opencpn.log:

Code:
07:55:46.024 MESSAGE s63_pi.cpp:2858 Building eSENC 314/371

07:55:46.027 MESSAGE s63chart.cpp:247 C:\Users\evatanen\AppData\Local\opencpn\plugins\s63_pi\OCPNsenc.exe  -l  -i "E:\temp\NZ S63\base\ENC_ROOT\WS\WS504125\1\0\WS504125.000" -o "C:\ProgramData\opencpn\\s63\s63SENC\WS504125.ehdr" -p WS50412520240731D5A8CC93CAD319D067E83C325C6C058432C5FC0BCC3A25C5,0,1,NZ, -u A2A3E67A5E0AD7FFF36925683147 -e 6E7BFC8B -r "C:\Program Files (x86)\OpenCPN\s57data" -g "C:\ProgramData\opencpn\s63\s63charts\NZ\WS504125.os63" -z "C:\Users\evatanen\AppData\Local\opencpn\plugins\s63_pi.dll"
07:55:46.027 MESSAGE s63_pi.cpp:2858 

07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: Executing...
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: Building ehdr...
07:55:46.208 MESSAGE s63chart.cpp:277     for WS504125.000
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: Cell decrypted OK.
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: Cell decompressed OK.
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: ENC update number is   0
07:55:46.208 MESSAGE s63chart.cpp:277 
07:55:46.208 MESSAGE s63chart.cpp:277 
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: ehdr built OK: C:\ProgramData\opencpn\\s63\s63SENC\WS504125.ehdr
07:55:46.208 MESSAGE s63chart.cpp:277 OCPNsenc: Exit.
07:55:46.208 MESSAGE s63chart.cpp:277 
07:55:46.209 MESSAGE s63_pi.cpp:2858    Info: eSENC file does not exist.
Two backslashes in the path! And I don't know where I could fix this. Is this a bug?

I'm not 100% sure if this right place to report this, but at least I tried to find it

EDIT!

Found the same issue on my laptop.
Win10
OpenCPN 5.6.2
S63 -plugin 1.17.12
evatanen is offline   Reply With Quote
Old 12-07-2023, 10:32   #2828
Registered User

Join Date: Nov 2010
Location: cruising the world
Boat: Cross 46 Trimaran 'Migration'
Posts: 239
Re: Beta Test / Technical

Quote:
Originally Posted by Sifaka View Post
Bonjour,
Quel est le lien pour télécharger les cartes opencpn merci

Aussi ici: https://thechartlocker.com
__________________
svMigration.com
TheChartLocker.com
bbalan is offline   Reply With Quote
Old 23-07-2023, 23:08   #2829
Registered User

Join Date: May 2012
Posts: 1,243
Re: Beta Test / Technical

OpenCPN 5.8.4, Windows 10
Activate a route.
The NMEA 0183 APB sentence is not generated. In OpenCPN 5.6.2 it was generated. Is this a bug or am I missing something in the configuration?

Mike
Rasbats is offline   Reply With Quote
Old 24-07-2023, 03:55   #2830
Registered User

Join Date: Mar 2011
Posts: 764
Re: Beta Test / Technical

Hi Mike,

Just downloaded your latest Shipdriver.

First of all, if I just supply my own NMEA 183 input and activate a route, or goto a waypoint, OpenCPN generates RMB, APB & XTE sentences.

Instead of using my input and using Shipdriver in Auto mode (ie. just select a heading & speed), if I activate a route or goto a waypoint, OpenCPN generates the RMB, APB & XTE sentences.

If on the other hand I use Shipdriver to "Follow" a route, then it appears that no RMB, APB or XTE sentences are generated.

It's interesting that when you use Shipdriver to "Follow", ie.Select a Route, Shipdriver does activate subsequent legs, however OpenCPN does not display the Active Leg dialog.

Attached screenshots of both OpenCPN and the Connection Settings.

Here is the dump when I provide the NMEA 183 input and a route is activated.
Code:
D:\code\powershell> ./serial-listen.ps1
$ECRMB,A,0.001$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
$ECRMB,A,0.000,L,,,3802.502,S,14436.691,E,9.996,31.781,0.000,V,A*50
$ECAPB,A,A,0.000,L,N,V,V,31.781,T,,31.781,T,31.781,T*3F
$ECXTE,A,A,0.000,L,N*4F
I'll email separately some comments re Shipdriver.
Attached Thumbnails
Click image for larger version

Name:	forum-10.png
Views:	49
Size:	47.7 KB
ID:	278614   Click image for larger version

Name:	forum-11.png
Views:	49
Size:	74.9 KB
ID:	278616  

stevead is offline   Reply With Quote
Old 24-07-2023, 04:29   #2831
Registered User

Join Date: May 2012
Posts: 1,243
Re: Beta Test / Technical

The tarballs for ShipDriver with alarms was hidden by another build. A new empty commit from master branch has put them back in:
https://cloudsmith.io/~opencpn/repos...lpha/packages/

Mike
Rasbats is offline   Reply With Quote
Old 24-07-2023, 06:21   #2832
Registered User

Join Date: Feb 2011
Posts: 1,135
Re: Beta Test / Technical

The last version 684-0+653........ is crashing all the time with Windows 10.
Have a good day.
P_Dub is offline   Reply With Quote
Old 24-07-2023, 08:55   #2833
Registered User

Join Date: Mar 2011
Posts: 764
Re: Beta Test / Technical

Same behaviour seen with Shipdriver version -3.3.0+1342.48e0e13

No RMB, APB,XTE sentences when "Follow" route is selected.
stevead is offline   Reply With Quote
Old 24-07-2023, 11:17   #2834
Registered User

Join Date: May 2012
Posts: 1,243
Re: Beta Test / Technical

P_Dub ...

Having trouble finding the version you are using. Is this from the catalog or imported from a tarball?

Mike
Rasbats is offline   Reply With Quote
Old 24-07-2023, 11:35   #2835
Registered User

Join Date: Feb 2011
Posts: 1,135
Re: Beta Test / Technical

Cloudsmith.
Have a good day.
P_Dub is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


All times are GMT -7. The time now is 05:52.


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.