Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-08-2012, 03:02   #46
Registered User

Join Date: Aug 2012
Location: Germany
Boat: Sailboat Sea Mini
Posts: 3
Re: VDR Plugin

I tried to install DVR on my Linux Laptop . Its not anough to put the libvdr into the directory /usr/local/lib/opencpn/ ,where the dashboard also is. Knows anybody what is to do?
__________________

__________________
Uwe_Georg is offline   Reply With Quote
Old 06-08-2012, 04:46   #47
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: VDR Plugin

Quote:
Originally Posted by Uwe_Georg View Post
I tried to install DVR on my Linux Laptop . Its not anough to put the libvdr into the directory /usr/local/lib/opencpn/ ,where the dashboard also is. Knows anybody what is to do?
Please publish your logfile.
Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 06-08-2012, 06:05   #48
Registered User

Join Date: Aug 2012
Location: Germany
Boat: Sailboat Sea Mini
Posts: 3
Re: VDR Plugin

Hello Thomas,
nice form you to have a look at the part of the PluginManager of my logfile:

09:52:44 GMT-1: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so
09:52:44 GMT-1: Error: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so: undefined symbol: _ZN17opencpn_plugin_1613RenderOverlayER4wxDCP15Plu gIn_ViewPort
09:52:44 GMT-1: PlugInManager: Cannot load library: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so

Best regards
Uwe
__________________
Uwe_Georg is offline   Reply With Quote
Old 06-08-2012, 06:42   #49
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: VDR Plugin

Quote:
Originally Posted by Uwe_Georg View Post
Hello Thomas,
nice form you to have a look at the part of the PluginManager of my logfile:

09:52:44 GMT-1: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so
09:52:44 GMT-1: Error: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so: undefined symbol: _ZN17opencpn_plugin_1613RenderOverlayER4wxDCP15Plu gIn_ViewPort
09:52:44 GMT-1: PlugInManager: Cannot load library: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so

Best regards
Uwe
I need to see a whole session of your logfile. I have no idea what version of OpenCPN etc. you are using, but you obviously have an incompatible version of VDR.
Thomas
__________________
cagney is offline   Reply With Quote
Old 06-08-2012, 06:49   #50
Registered User

Join Date: Aug 2012
Location: Germany
Boat: Sailboat Sea Mini
Posts: 3
Re: VDR Plugin

Hi Thomas,
here is the entire logfile:
09:52:43 GMT-1: 2012-08-06
09:52:43 GMT-1: -------Starting opencpn-------
09:52:43 GMT-1: Version 2.5.0 Build 2011-07-26
09:52:43 GMT-1: MemoryStatus: mem_total: 249 mb, mem_initial: 28 mb
09:52:43 GMT-1: SData_Locn is /usr/local/share/opencpn/
09:52:43 GMT-1: Using existing Config_File: /root/.opencpn/opencpn.conf
09:52:43 GMT-1: Setting Viewpoint Lat/Lon 51.7262, 8.7519
09:52:43 GMT-1: Setting Ownship Lat/Lon 51.7402, 8.7539
09:52:43 GMT-1: System default Language: de_DE
09:52:43 GMT-1: Opencpn language set to: de_DE
09:52:43 GMT-1: Using s57data in /usr/local/share/opencpn/s57data
09:52:43 GMT-1: Using Tide/Current data from: /usr/local/share/opencpn/tcdata/
09:52:43 GMT-1: Setting Viewpoint Lat/Lon 51.7262, 8.7519
09:52:43 GMT-1: Setting Ownship Lat/Lon 51.7402, 8.7539
09:52:43 GMT-1: NMEA Data Source is....Serial:/dev/ttyPS0
09:52:43 GMT-1: AIS Data Source is....None
09:52:43 GMT-1: Using WVSChart datafile: /usr/local/share/opencpn/wvsdata/wvs43.dat
09:52:44 GMT-1: NMEA AutoPilot Port is....None
09:52:44 GMT-1: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
09:52:44 GMT-1: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so
09:52:44 GMT-1: Error: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so: undefined symbol: _ZN17opencpn_plugin_1613RenderOverlayER4wxDCP15Plu gIn_ViewPort
09:52:44 GMT-1: PlugInManager: Cannot load library: /usr/local/lib/opencpn/libvdr_i386_pi16_v03_pi.so
09:52:44 GMT-1: ChartDB Cache policy: Max open chart limit is 20.
09:52:44 GMT-1: Loading chart db version: V016
09:52:44 GMT-1: Chartdb: Chart directory list follows
09:52:44 GMT-1: Chart directory #0: /root/my-documents/Seekarten/Lippesee
09:52:44 GMT-1: Chart directory #1: /root/my-documents/Seekarten/CM93
09:52:44 GMT-1: GPS Watchdog Timeout is: 6 sec.
09:52:44 GMT-1: Initializing Chart /root/my-documents/Seekarten/CM93/03300120/F/03490169.F
09:52:44 GMT-1: CM93Composite Chart Root is /root/my-documents/Seekarten/CM93/
09:52:44 GMT-1: Loaded CM93 Dictionary from /root/my-documents/Seekarten/CM93/
09:52:44 GMT-1: Loading CM93 cell /root/my-documents/Seekarten/CM93/03900000/B/04200000.B
09:52:46 GMT-1: NMEA input device open failed: /dev/ttyPS0
09:53:02 GMT-1: PlugInManager: Deactivating PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
09:53:02 GMT-1: opencpn::MyFrame exiting cleanly.
09:53:02 GMT-1: PlugInManager: UnLoading PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
09:53:02 GMT-1: PlugInManager: UnLoading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
09:53:02 GMT-1: LOGBOOK: 2012-08-06 08:53:02 UTC OFF: Lat 51.74020 Lon 8.75390
09:53:02 GMT-1: opencpn::MyApp exiting cleanly...

10:05:02 GMT-1:


best regards
Uwe
__________________
Uwe_Georg is offline   Reply With Quote
Old 06-08-2012, 06:56   #51
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: VDR Plugin

OK!
You are using OpenCPN 2.5.0.
The VDR plugin version you are using, requires OpenCPN 3.0.2.
Please upgrade. Make sure to renew the other plugins from the plugin download page at opencpn.org.
Thomas
__________________
cagney is offline   Reply With Quote
Old 17-03-2013, 03:21   #52
Registered User

Join Date: Mar 2013
Location: Tallinn, Estonia
Posts: 12
Re: VDR Plugin

Hi!

Some issues with translation into estonian: translation will not show up! Plugin - vdr_pi 2.4.506, OpenCPN - 3.2.0 Build 2013-02-26.
What am I doing wrong? Plugin is in plugin's folder, translation in it's folder.

Any suggestions?
__________________
Highlander_et is offline   Reply With Quote
Old 09-09-2013, 19:46   #53
Registered User
 
rgleason's Avatar

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

Tracker VOTING for Plugins has been enabled by Serge. Please VOTE in Tracker for all Plugin projects (upper right dropdown) for the Feature requests you'd like. Also please do make comments and add Feature Requests and Bug Reports. You'll need to register or log in to Vote, add items and make comments.

Tracker VOTING.
VDR
__________________
rgleason is online now   Reply With Quote
Old 23-12-2014, 18:20   #54
Registered User
 
rgleason's Avatar

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

Recent git fetch of VDR, to compile standalone on Windows 7


Build FAILED.

Code:
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj" (default target) (3) ->
(Link target) ->
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: bool __thiscall wxAuiManager::DetachPane(class wxWindow *)"  (__imp_?DetachPane@wxAuiManager@@QAE_NPAVwxWindow@@@Z) referenced in  function "public: virtual bool __thiscall vdr_pi::DeInit(void)"  (?DeInit@vdr_pi@@UAE_NXZ) 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: void __thiscall wxAuiManager::Update(void)"  (__imp_?Update@wxAuiManager@@QAEXXZ) referenced in function "public:  virtual void __thiscall vdr_pi::OnToolbarToolCallback(int)"  (?OnToolbarToolCallback@vdr_pi@@UAEXH@Z)  [C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: bool __thiscall wxAuiManager::AddPane(class wxWindow *,class  wxAuiPaneInfo const &)"  (__imp_?AddPane@wxAuiManager@@QAE_NPAVwxWindow@@ABVwxAuiPaneInfo@@@Z)  referenced in function "public: virtual void __thiscall  vdr_pi::OnToolbarToolCallback(int)"  (?OnToolbarToolCallback@vdr_pi@@UAEXH@Z) 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall wxAuiPaneInfo::~wxAuiPaneInfo(void)"  (__imp_??1wxAuiPaneInfo@@QAE@XZ) referenced in function "public: virtual  void __thiscall vdr_pi::OnToolbarToolCallback(int)"  (?OnToolbarToolCallback@vdr_pi@@UAEXH@Z) 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall wxAuiPaneInfo::wxAuiPaneInfo(class wxAuiPaneInfo  const &)" (__imp_??0wxAuiPaneInfo@@QAE@ABV0@@Z) referenced in  function "public: virtual void __thiscall  vdr_pi::OnToolbarToolCallback(int)"  (?OnToolbarToolCallback@vdr_pi@@UAEXH@Z) 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class wxAuiPaneInfo & __thiscall wxAuiPaneInfo::Dockable(bool)" (__imp_?
Dockable@wxAuiPaneInfo@@QAEAAV1@_N@Z) referenced in function "public: virtual vo
id __thiscall vdr_pi::OnToolbarToolCallback(int)" (?OnToolbarToolCallback@vdr_pi
@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  vdr_pi.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall wxAuiPaneInfo::wxAuiPaneInfo(void)" (__imp_??0wxAuiPaneInfo@@
QAE@XZ) referenced in function "public: virtual void __thiscall  vdr_pi::OnToolbarToolCallback(int)"  (?OnToolbarToolCallback@vdr_pi@@UAEXH@Z) 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
  C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\Release\vdr_pi.dll : fatal error LNK1120: 7 unresolved externals 
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build\vdr_pi.vcxproj]
  
    0 Warning(s)
    8 Error(s)
Then deleted vdr_pi and did a new git clone
Code:

C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi>cd build

Then copied opencpn3-2-2.lib to build\openpn.lib

C:\Data-Dart\Up-Soft\Navigation\o-plugin\vdr_pi\build>cmake ..
-- Building for: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** 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/bin/msgmerge.exe
CMake Error at CMakeLists.txt:77 (ADD_DEPENDENCIES):
  add_dependencies called with incorrect number of arguments

-- Configuring incomplete, errors occurred!


__________________
rgleason is online now   Reply With Quote
Old 23-12-2014, 18:44   #55
Registered User

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

Rick...
This plug-in does not support out of the tree build, https://github.com/SethDart/vdr_pi/pull/2 is not merged.

Pavel
__________________
nohal is online now   Reply With Quote
Old 24-12-2014, 09:42   #56
Registered User
 
rgleason's Avatar

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

Sorry forgot about the pull. Will do that. It worked last time i think. Thanks

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is online now   Reply With Quote
Old 24-12-2014, 11:02   #57
Registered User
 
rgleason's Avatar

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

From your local standalone plugins compile directory
git clone git://github.com/nohal/vdr_pi.git n-vdr_pi


Pavel and SethDart are in some discussion about how best to handle opncpn_plugin.h
https://github.com/SethDart/vdr_pi/pull/2

Refer to Pavel's commit here, SethDart has not yet made this necessary change
https://github.com/nohal/vdr_pi/comm...c52d66ac45dd6e

Then make this change
C:\Data-Dart\Up-Soft\Navigation\o-plugin\n-vdr_pi\cmake\PluginConfigure.cmake
Line 51 add "aui" to
-SET(wxWidgets_USE_LIBS base core net xml html adv)
+SET(wxWidgets_USE_LIBS base core net xml html adv aui)

Then copy the correct version of opencpn.lib into the build directory.
I used opencpn3-2-2.lib because the plugin is API 1.06

Compiles under Windows7 as standalone. Also made executable with NSIS setup.
cmake ..
cmake --build .
cmake --build . --config release
cpack

vdr_pi-0.3-ov3.2.2-win32.exe resulted
will upload to Opencpn Beta File Thingie, but it is just a new way to compile and install the plugin, so there are no differences in use.

__________________
rgleason is online now   Reply With Quote
Old 13-01-2015, 16:27   #58
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 553
Re: VDR Plugin Sampling Rate

Is it possible to change the sampling rate of the VDR Plugin?

If using the plugin on a long passage it would be desirable to specify when the NMEA data is sampled to avoid excessive data storage.

Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 13-01-2015, 19:17   #59
Registered User
 
rgleason's Avatar

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

Paul,

I think VDR 0.3 needs this feature in the recorder. There are no preferences in the current VDR recorder.
This is the Tracker Feature List OpenCPN::Tracker pi - Voyage Data Recorder: Tasklist

Which does not include your good suggestion. May I suggest that adding it to tracker would be a very good idea?
__________________
rgleason is online now   Reply With Quote
Old 13-01-2015, 19:50   #60
Registered User
 
rgleason's Avatar

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

Stashed previous changes \n-vdr_pi\cmake\PluginConfigure.cmake and git pull. It compiled and ran ok.
__________________

__________________
rgleason is online now   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 18:15.


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.