Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 20-06-2018, 06:30   #901
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 201
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by Schnapsy View Post
After sending my previous message, I change the settings in O from the French language to the English language and ....

IT WORKS !

You have seen right, Peter, the problem is the settings (french vs uk).
However, the rounding is done to the second decimal (0.28 => 0.30) but it is a simulation of consumption, so it is not too important.

But how to solve this configuration problem ?

The rounding problem is a bug, solved in v1.3006.
I have to look into the locale problem. I tried to setup my computer to locale Netherlands as it seems also to set the comma i.s.o. decimal point, but on this Imac computer I don't see the problem.
I keep on looking.


Peter
__________________

ptulp is offline   Reply With Quote
Old 03-07-2018, 02:56   #902
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,942
Re: Logbook Konni for OpenCPN

So what's a good way to get the latest version onto a raspberry pi? It didn't like the amd64 deb (no surprise).
Looks like it needs a full opencpn compile to get the plugin to compile as well? Unless someone has a .deb file they could share?

Latest in the repository is V.2024

pi@openplotter:~/temp $ apt-cache policy opencpn-plugin-logbookkonni
opencpn-plugin-logbookkonni:
Installed: 1.2024-0~xenial1
Candidate: 1.2024-0~xenial1
Version table:
*** 1.2024-0~xenial1 500
500 Index of /opencpn/opencpn/ubuntu xenial/main armhf Packages
100 /var/lib/dpkg/status
__________________

conachair is online now   Reply With Quote
Old 03-07-2018, 04:18   #903
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,942
Re: Logbook Konni for OpenCPN

OK, actually reading the compile intructions on git, looks like you can compile just the logbook >
https://github.com/ptulp/LogbookKonni_pi

So I downloaded >
sudo git clone https://github.com/ptulp/LogbookKonni_pi.git LogbookKonni_pi

Didn;t work first time grumpy about wxwidgets so from another thread >
New Plugin NmeaConvertor

Quote:
sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev
and added the line in CMakeList.txt>
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

cmake seems to work OK but build looks like it hangs >>

Quote:
pi@openplotter:~/compile/LogbookKonni_pi/build $ sudo cmake ..
-- *** Staging to build logbookkonni_pi ***
-- Found OpenGL...
-- Lib: /usr/lib/arm-linux-gnueabihf/libGLU.so/usr/lib/arm-linux-gnueabihf/libGL.so
-- Include: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/compile/LogbookKonni_pi/build
pi@openplotter:~/compile/LogbookKonni_pi/build $ sudo cmake --build .
[ 0%] logbookkonni_pi_Languages.zip: Done.
[ 28%] Built target logbookkonni_pi_Languages.zip
[ 28%] logbookkonni_pi-i18n: Done.
[ 56%] Built target logbookkonni-i18n
[ 56%] Building CXX object CMakeFiles/logbookkonni_pi.dir/src/LogbookDialog.cpp.o
/home/pi/compile/LogbookKonni_pi/src/LogbookDialog.cpp: In destructor ‘virtual LogbookDialog::~LogbookDialog()’:
/home/pi/compile/LogbookKonni_pi/src/LogbookDialog.cpp:2490:12: warning: deleting object of polymorphic class type ‘Maintenance’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
delete maintenance; //still a warning with Mac OS C Xcode here: "Delete called on 'Maintenance' that has virtual functions but non-virtual destructor"
^~~~~~~~~~~
Any ideas anyone?

Thanks, great plugin
conachair is online now   Reply With Quote
Old 03-07-2018, 04:52   #904
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,942
Re: Logbook Konni for OpenCPN

I was too hasty, forgot the Pi can take forever to compile and look dead as it does



[100%] Built target logbookkonni_pi

Just need to find the file now....
conachair is online now   Reply With Quote
Old 03-07-2018, 05:29   #905
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,942
Re: Logbook Konni for OpenCPN

Quote:
Originally Posted by conachair View Post
I was too hasty, forgot the Pi can take forever to compile and look dead as it does



[100%] Built target logbookkonni_pi

Just need to find the file now....
Up and running, just copy the file>
/home/pi/compile/LogbookKonni_pi/build/liblogbookkonni_pi.so

to >

/usr/lib/opencpn

(After backing up the older version in there just in case)
conachair is online now   Reply With Quote
Old 10-07-2018, 06:38   #906
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 326
Re: Logbook Konni for OpenCPN

How to build under CPN 4.99 (windows)?
__________________

Baikal is offline   Reply With Quote
Reply

Tags
opencpn

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
Logbook Plug-in SethDart OpenCPN 98 10-01-2013 11:47
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.