Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 31-01-2015, 08:34   #121
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

OK,
i have installed cmake & mingw, copy all the files in a folder

https://github.com/seandepagnier/rtlsdr_pi

start the cmake gui. my source folder is the "main" folder, and where is the binaries folder? the same or the buildwin folder?

when i generate, i have an error

Quote:
CMake Error at C:/cmake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
C:/cmake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
C:/cmake/share/cmake-3.1/Modules/FindwxWidgets.cmake:870 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/PluginConfigure.cmake:63 (FIND_PACKAGE)
CMakeLists.txt:19 (INCLUDE)
the_muck is offline   Reply With Quote
Old 31-01-2015, 09:27   #122
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: New rtlsdr Plugin

if you are using mingw, you are going to need to compile wxWidgets from source as well as opencpn
seandepagnier is offline   Reply With Quote
Old 31-01-2015, 10:35   #123
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

mmm ok, but i think that is to much for me.

i have installed Downloads - wxWidgets with the windows installer, now the error is wxWidgets_LIB_DIR-NOTFOUND

Quote:
Use CMAKE GUI tool to configure OpenCPN to verify that wxWidgets_LIB_DIR points to the {root}/lib/vc_dll directory.
i have no /lib/vc_dll directory . but i think here is not the best point to talk over it. So i stop at this point.

best regards Malte
the_muck is offline   Reply With Quote
Old 31-01-2015, 12:41   #124
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,529
Images: 2
Re: New rtlsdr Plugin

The muck and Sean. I need to compile this again don't I? Back at computer in 2 days.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 31-01-2015, 16:16   #125
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: New rtlsdr Plugin

Quote:
Originally Posted by the_muck View Post
mmm ok, but i think that is to much for me.

i have installed Downloads - wxWidgets with the windows installer, now the error is wxWidgets_LIB_DIR-NOTFOUND



i have no /lib/vc_dll directory . but i think here is not the best point to talk over it. So i stop at this point.

best regards Malte
Yes, so far no one has tried to mix visual studio wxwidgets with mingw opencpn. I'm not saying it's not possible, but it's new territory and I have no interest.

It shouldn't be difficult if you follow the steps here:
Compiling Windows MinGW | Official OpenCPN Homepage

I will do my best to help if I can. Otherwise you have to use visual studio to compile the plugin.
seandepagnier is offline   Reply With Quote
Old 31-01-2015, 17:44   #126
hph
Registered User

Join Date: Jan 2015
Posts: 5
Re: New rtlsdr Plugin

Quote:
Originally Posted by rgleason View Post
The software plugin does run in windows Opencpn 3.2 , I do not know if it works properly as I have not ordered a dongle yet. Why specifically, boat_alexandra do you think your plugin is linux only?
Hi,
No luck in finding the OpenCPN windows 8.1 plug in for rtlsdr AIS dongle.
Please Advise.
Appreciated.
hph is offline   Reply With Quote
Old 31-01-2015, 17:53   #127
hph
Registered User

Join Date: Jan 2015
Posts: 5
Re: New rtlsdr Plugin

Quote:
Originally Posted by boat_alexandra View Post
Can this even work on windows? Please report results. So far I think its safe to say this plugin is linux only
Hi,
Try to get AIS working with th DVB-T+DAB_FM USB dongle on OpenCPN.
Done the zadig installation.
But can't find the OpenCPN Windows plug in RTLSDR.
Is there anybody out there able to link me to the relevant windows plug in?
That would be great.
Cheers
Peter
hph is offline   Reply With Quote
Old 01-02-2015, 01:21   #128
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

http://www.cruisersforum.com/forums/...ml#post1242779

follow this link to the beta Plugins...



for compiling, there are more than 20 steps to do before i can compile . So i try my best but i jump form one problem to the next an need a lot of time.

So i followed this steps: Compiling - Windows | Official OpenCPN Homepage

I go to the rtlsdr_pi-master folder and make build folder, start the CMake GUI,

Quote:
source code C:/rtlsdr_pi-master
binaries C:/rtlsdr_pi-master/build
Klick generate and use "Visual Studio 2010"... error becomes, i have to tell where is lib/vc_dll... again and i think it works.

Quote:
*** Building rtlsdr_pi ***
*** Staging to build rtlsdr_pi ***
Found OpenGL...
Lib: glu32opengl32
Include:
Install Prefix: C:/Program Files (x86)/rtlsdr_pi
Configuring done
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

Generating done
than i start the Visual Express console, go to the folder C:/rtlsdr_pi-master/build.

Compiling Standalone Plugins and building Install Packages | Official OpenCPN Homepage last Point

Quote:
cmake ..
cmake --build .
cmake --build . --config release
cpart
cmake works, "cmake --build ." ends with errors and warnings, something with "wxGLContext", "wxProcess".

best regards Malte
Attached Thumbnails
Click image for larger version

Name:	rtl_sdr.PNG
Views:	241
Size:	44.9 KB
ID:	96362   Click image for larger version

Name:	rtl_sdr2.PNG
Views:	227
Size:	89.7 KB
ID:	96363  

the_muck is offline   Reply With Quote
Old 01-02-2015, 02:58   #129
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: New rtlsdr Plugin

The plugin is not verified to work on windows.

You can test your dongle easily with this:
Download opencpnplugins from SourceForge.net

Once it is proven to work, we can post a download package.

You must compile from source for windows, then you can determine if the plugin works. Most likely it does.
seandepagnier is offline   Reply With Quote
Old 01-02-2015, 05:57   #130
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

it is possible to become more informations how aisdecoder.exe work?

for rtl_fm.exe i found this Rtl_fm Guide: Updates for rtl_fm overhaul
the_muck is offline   Reply With Quote
Old 01-02-2015, 07:45   #131
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: New rtlsdr Plugin

Quote:
Originally Posted by the_muck View Post
it is possible to become more informations how aisdecoder.exe work?
You could read the source code.
seandepagnier is offline   Reply With Quote
Old 01-02-2015, 08:06   #132
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

Thanks here i found some more informations.

Index of /downloads
AIS Decoder - beta release
the_muck is offline   Reply With Quote
Old 01-02-2015, 08:43   #133
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

sorry, but i tried a bit more...

Quote:
@echo off
start rtl_fm -d1 -f 161975000 -p 0 -s 48k
start aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -l -f /dev/stdin
with -d and -l, i think i must see some thing like

Quote:
Level on ch 0:
in the Terminal?
Attached Thumbnails
Click image for larger version

Name:	rtl_sdr.PNG
Views:	258
Size:	38.6 KB
ID:	96384  
the_muck is offline   Reply With Quote
Old 01-02-2015, 18:33   #134
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: New rtlsdr Plugin

can you pipe the output from rtl_fm into aisdecoder? It may only be possible if you use a bash shell.

Alternately specify a file for rtl_fm to save to, and pass the file to aisdecoder to decode
seandepagnier is offline   Reply With Quote
Old 02-02-2015, 01:07   #135
Registered User

Join Date: Jan 2015
Posts: 23
Re: New rtlsdr Plugin

i have installed cygwin, when i run this command

Quote:
rtl_fm -d1 -f 161975000 -p 0 -s 48k | aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -l -f /dev/stdin
i have one level massage...

when i pipe it to a file i must restart aisdecoder to decode the new data.
Attached Thumbnails
Click image for larger version

Name:	data2.PNG
Views:	230
Size:	12.9 KB
ID:	96413   Click image for larger version

Name:	data.PNG
Views:	227
Size:	25.3 KB
ID:	96414  

the_muck 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
Logbook Konni for OpenCPN konni OpenCPN 1128 15-05-2022 11:25
OpenCPN Release Candidate Version 3.1.1411 Released bdbcat OpenCPN 48 24-02-2013 06:59
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 15:00.


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.