Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-01-2015, 16:20   #61
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: VDR Plugin

Trying not to sound too dumb, but where would this opencpn.lib file be located? Compiling on Ubuntu 14.04 with OpenCPN 4.0 fails with the following errors:


CMake Error at CMakeLists.txt:57 (INCLUDE):
include called with wrong number of arguments. Include only takes one
file.


-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
CMake Error at CMakeLists.txt:83 (INSTALL):
install TARGETS given no LIBRARY DESTINATION for shared library target
"vdr_pi".
__________________

__________________
LeoA is offline   Reply With Quote
Old 26-01-2015, 16:26   #62
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: VDR Plugin

Quote:
Originally Posted by LeoA View Post
Trying not to sound too dumb, but where would this opencpn.lib file be located?
In your build folder if you are building my "packaging" branch on Windows. In your case nowhere, it is irrelevant.
Quote:
Compiling on Ubuntu 14.04 with OpenCPN 4.0 fails with the following errors:


CMake Error at CMakeLists.txt:57 (INCLUDE):
include called with wrong number of arguments. Include only takes one
file.


-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
CMake Error at CMakeLists.txt:83 (INSTALL):
install TARGETS given no LIBRARY DESTINATION for shared library target
"vdr_pi".
This leads us to the big question: Aren't you trying to build SethDart's master out of the OpenCPN source tree? It looks like you are.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 26-01-2015, 16:52   #63
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: VDR Plugin

Trying to build this: git clone git://github.com/nohal/vdr_pi.git n-vdr_pi in the plugin folder of my OpenCPN build directory
__________________
LeoA is offline   Reply With Quote
Old 26-01-2015, 16:59   #64
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: VDR Plugin

Which branch? In which directory you are when you run "make"?


Sent from my iPhone using Cruisers Sailing Forum
__________________
nohal is offline   Reply With Quote
Old 26-01-2015, 17:04   #65
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: VDR Plugin

Trying to build here ~/OpenCPN/plugins/n-vdr_pi/build/ Can't get past cmake ../
__________________
LeoA is offline   Reply With Quote
Old 26-01-2015, 17:09   #66
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: VDR Plugin

Leo...
To do that, you MUST be building the packaging branch, not the master. I'm pretty sure it is not the case...
You can can check it by looking at the output of
Code:
git branch -av
Pavel
__________________
nohal is offline   Reply With Quote
Old 26-01-2015, 17:20   #67
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: VDR Plugin

That returns
leoaln@leoaln-Stylistic-ST5112:~/OpenCPN/plugins/n-vdr_pi/build$ git branch -av
* master a09080c v0.3 Upgrade to new API
remotes/origin/HEAD -> origin/master
remotes/origin/master a09080c v0.3 Upgrade to new API
remotes/origin/packaging b97d10d Update translations

I have compiled several other plugins in their own build directories, but have been unable to do anything with the vdr and sar plugins. These two both return the same errors. Which
branch should I be building and where?
__________________
LeoA is offline   Reply With Quote
Old 26-01-2015, 18:32   #68
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: VDR Plugin

Leo...
VDR upstream did not merge https://github.com/SethDart/vdr_pi/pull/2 into the master, you MUST switch to my packaging branch if you want to build it independently of the main OpenCPN tree (that is what you are doing)
Code:
git checkout packaging
SAR plugin is not actively maintained and out-of-the tree build is not implemented for it at all.
Just out of curiosity, why don't you use the standard plugin packages available for download?

Pavel
__________________
nohal is offline   Reply With Quote
Old 26-01-2015, 19:48   #69
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: VDR Plugin

I have always compiled OpenCPN and ubuntu dpkg does not recognize opencpn is installed. Force installing plugins with dpkg does not work. the light turned on with your last post and I recompiled OpenCPN with the vdr_pi files in the plugin directory and it is now working. Thanks for your patience.
Leo


















i
__________________
LeoA is offline   Reply With Quote
Old 21-11-2015, 14:19   #70
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: VDR Plugin

Help!
I have been trying to test recent plugins with O v4.1.1108 using VDR. VDR hangs up every time and O crashes. Tried disabling all plugins, still crashes. Then tried to recompile VDR with the most recent opencpn.lib for yesterdays version 4.1.1108 and both of these repositories fail:
https://github.com/nohal/vdr_pi
https://github.com/SethDart/vdr_pi


Quote:
C:\Users\Rick\Documents\GitHub\o-plugin\n-vdr_pi\build>git branch -va
* master a09080c v0.3 Upgrade to new API
remotes/SethDart/master a09080c v0.3 Upgrade to new API
remotes/origin/HEAD -> origin/master
remotes/origin/master a09080c v0.3 Upgrade to new API
remotes/origin/packaging 66d55b1 Merge branch 'packaging' of github.com:nohal/vdr_pi into packaging

C:\Users\Rick\Documents\GitHub\o-plugin\n-vdr_pi\build>cmake -T v120_xp ..
-- Building for: Visual Studio 12 2013
-- *** Building vdr_pi ***
CMake Error at CMakeLists.txt:57 (INCLUDE):
include called with wrong number of arguments. include() only takes one
file.

-- Found Gettext: C:/Program Files (x86)/Poedit/GettextTools/bin/msgmerge.exe
CMake Error at CMakeLists.txt:77 (ADD_DEPENDENCIES):
add_dependencies called with incorrect number of arguments

-- Configuring incomplete, errors occurred!
See also "C:/Users/Rick/Documents/GitHub/o-plugin/n-vdr_pi/build/CMakeFiles/CMakeOutput.log".
Also there is no information in the log file from today's date!
It would be very helpful (and necessary) if we could get these repos fixed so we can compile, or if we could get a version of VDR which works!

Can't test anything!

Thank you.
Rick

PS: The v4.1.x version on the website does not work either!! it fails every time and causes O to halt. I've tried installing and using it twice! No dice. Without this tool I can provide no feedback on many many plugins.
__________________
rgleason is online now   Reply With Quote
Old 22-11-2015, 07:05   #71
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: VDR Plugin

Right under my nose:

VDR Plugin

I have to use nohal/vdr Packaging branch!!!

git checkout packaging

It compiled with most current opencpn.lib. Nov 20,2015
Now I am going to try it with TDan's v4.1.1108 because Nmea has been failing on everything tried.
__________________
rgleason is online now   Reply With Quote
Old 21-03-2016, 17:53   #72
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: VDR Plugin

The VDR Player seems to have a memory leak or to use an extraordinary amount of memory for some reason, which I think has been causing 4.2.1 to crash when doing tests with Grib files and VDR playing.

I don't quite know how to isolate this to be sure about it, but my recent experience seems to point at VDR. Can anyone confirm this? It will run a small nmea file for awhile then Opencpn seems to crash.

I'd been using VDRplayer with Launcher which was quite convenient and did not tax Opencpn at alll, but Launcher is now unusable because of the menus. So now trying VDR I am finding these crashes.

I would also like the vdrplayer to permit the user to move the player bar forward (or back) to be able to control what part of the the nmea file is being played.
Attached Thumbnails
Click image for larger version

Name:	VDR-Memory-Issue-perhaps.png
Views:	65
Size:	131.2 KB
ID:	121161  
__________________
rgleason is online now   Reply With Quote
Old 22-03-2016, 05:59   #73
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: VDR Plugin

Using OpenCPN 4.2.0 and VDR_pi with a 3mb Hartmut-netherlands.txt nmea file, the plugin worked fine all the way through, with Opencpn memory not exceeding 130mb and CPU not exceeding 2%.

So I don't think VDR is the problem anymore.
__________________
rgleason is online now   Reply With Quote
Old 25-10-2016, 11:09   #74
Registered User

Join Date: Oct 2016
Posts: 3
Re: VDR Plugin

I'm looking for some development information on the AIS sentence output from this plugin. I see that this plugin writes coded AIS sentences to the .nmea file. I'm wondering if anyone knows a way to access decoded AIS sentence information. Maybe there's a way to get the coded AIS sentence and decode it? I'm working on a few mods to this program.

Any thoughts on this?
__________________
sailor121 is offline   Reply With Quote
Old 25-10-2016, 11:22   #75
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: VDR Plugin

Yes, there is a way to get the "coded" messages and decode them.
I suppose you already know what AIS is and how the encoding of the NMEA sentences it uses works (If not, start your quest at AIVDM/AIVDO protocol decoding)
To understand the OpenCPN implementation, you may start to read https://github.com/OpenCPN/OpenCPN/b...IS_Decoder.cpp and ask when you have some less general questions.
If all you want is to see content of a single message, you may use for example AIS Online Decoder. AIVDM & AIVDO NMEA Messages

Pavel
__________________

__________________
nohal 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
Plugin: DashBoard SethDart OpenCPN 470 24-08-2016 21:34
BSB 4 PlugIn bdbcat OpenCPN 93 20-02-2016 04:41
Logbook Plug-in SethDart OpenCPN 98 10-01-2013 12:47
Chartwork Plugin mario f OpenCPN 10 29-03-2012 20:21
Plugin Documentation cagney OpenCPN 0 17-05-2011 11:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:23.


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.