Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 29-05-2014, 00:11   #541
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: WeatherFax...

Quote:
Originally Posted by rgleason View Post
Sean,
I tried standalone compile with MSVC cmd window from build directory
after git pull
cmake ..
cmake --build . --config release
and got 41 errors

See attached please
It's because I commented out the tinyxml files in CMakeLists.txt because their symbols conflicted with those in the main program. I think using visual studio you will find you need them after all.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 29-05-2014, 03:47   #542
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 967
Re: WeatherFax...

Mauritius:


Satellite:
http://metservice.intnet.mu/synoptic.../satellite.jpg
Synoptic chart:
http://metservice.intnet.mu/mmsimages/chart.jpg
__________________

__________________
LeaseOnLife is offline   Reply With Quote
Old 29-05-2014, 22:08   #543
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: WeatherFax...

Added these now. I'll try to finish the passage weather ones.

I was thinking maybe having an additional filter based on type.. wind/wave/pressure/imagery/other etc... and also filters based on time could be useful.
__________________
boat_alexandra is offline   Reply With Quote
Old 30-05-2014, 04:14   #544
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 967
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post


I was thinking maybe having an additional filter based on type.. wind/wave/pressure/imagery/other etc... and also filters based on time could be useful.
  • How about a filter for the visible area in OpenCPN?
  • And a way to select multiple (shift-click) / all items in the (top) list.
More tests:


Cheers!


Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 30-05-2014, 20:20   #545
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 967
Re: WeatherFax...

One more for Fiji:
http://www.met.gov.fj/aifs_prods/gms_vis.gif
__________________
LeaseOnLife is offline   Reply With Quote
Old 31-05-2014, 05:24   #546
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Sean Hopefully tonight I'll be able to recompile for win with tinyxml uncommented. As you suggest. Will post it.

By the way, have hd and have copied 1/2 of climatology data so far , will send t



Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 31-05-2014, 05:25   #547
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

To address you gave me.

Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 01-06-2014, 07:54   #548
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 967
Re: WeatherFax...

Current git fails to compile for me (wxwidgets 2.8):
Code:
 Building CXX object CMakeFiles/weatherfax_pi.dir/src/InternetRetrievalDialog.cpp.o
/CODING/PLUGINS/weatherfax_pi/src/InternetRetrievalDialog.cpp: In member function 'bool InternetRetrievalDialog::OpenXML(wxString)':
/CODING/PLUGINS/weatherfax_pi/src/InternetRetrievalDialog.cpp:311:79: error: conversion from 'const char*' to 'wxString' is ambiguous
                                             wxString iurl = h->Attribute("Url");
__________________
LeaseOnLife is offline   Reply With Quote
Old 01-06-2014, 22:53   #549
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: WeatherFax...

Should be fixed for wx-2.8. I have moved to wx-3.0 because this is what people are using on macosx, and it works on all systems, and it allows me to fix asserts etc...
__________________
boat_alexandra is offline   Reply With Quote
Old 03-06-2014, 20:16   #550
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Sean Weatherfax_pi standalone compiled and runs. I've loaded AIS Decoder from the website. Ais Decoder Downloads

Someone on this thread provided a link to a download of AISDecoder for windows that was under a "bin" directory with various lib files. It did not look right for windows so I did not install it. Is that the correct thing to do?
__________________
rgleason is offline   Reply With Quote
Old 03-06-2014, 20:58   #551
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: WeatherFax...

Quote:
Originally Posted by rgleason View Post
Sean Weatherfax_pi standalone compiled and runs.
Could you do a bit of testing, specifically with the internet retrieval of imagery? If there are no more bug reports, I think I will release this version very soon. Also, could you run make package to build an installer?


Quote:
I've loaded AIS Decoder from the website. Ais Decoder Downloads

Someone on this thread provided a link to a download of AISDecoder for windows that was under a "bin" directory with various lib files. It did not look right for windows so I did not install it. Is that the correct thing to do?
There are multiple programs with the same name which may cause confusion. This program has nothing to do with weather fax, it is used for rtl_sdr. I have put a version I compiled on the source Download opencpnplugins from SourceForge.net But I have no idea if it works or not on windows. If it does, it should be possible to use the rtlsdr plugin in windows to receive AIS from a usb dongle (like r820t) and standard VHF antenna.
__________________
boat_alexandra is offline   Reply With Quote
Old 03-06-2014, 21:05   #552
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Whoops, sorry about the AIS decoder (meant for rtldsr_pi)! Ok it was your link. I can try that later.

Here is what I have been doing to make an install package.

Read Compiling - Windows | Official OpenCPN Homepage about

1. Installing NSIS (Unicode) to be able to build install packages
Direct download link: http://code.google.com/p/unsis/downl...2.46.3-Unicode...

2. Due to a bug in NSIS setup you need to run the
C:\Data-Dart\Up-Soft\Navigation\opencpn-git2\buildwin\NSIS_Unicode/CopyNSISUnicodeRegKey.bat as administrator.

3. Using command prompt: cd C:\o-plugin\rtlsdr_pi\build
4. At the command prompt: C:\Program Files (x86)\NSIS\Unicode\makensisw package
- C:\Program is not recognized as an internal or external command

===
From inside NSISW
Select under compile Nsi scripts Window pops up with

Usage:
- File | Load Script...
- Drag the .nsi file into this window
- Right click the .nsi file and choose "Compile NSIS Script"

After a search for "nsi" I find
C:\o-plugin\rtlsdr_pi\buildwin/NSIS.template.in

It is not an *.nsi file but I tried dragging it anyway and that does not work.
I think we need an *.nsi file and there does not appear to be one in this plugin.

The statusbar_pi plugin has a similar file under buildwin
Opening it with notepad++

; CPack install script designed for a nmake build
;--------------------------------
; You must define these values

!define VERSION "@CPACK_PACKAGE_VERSION@"
!define PATCH "@CPACK_PACKAGE_VERSION_PATCH@"
!define INST_DIR "@CPACK_TEMPORARY_DIRECTORY@"

What is an nmake build?
Tried at command prompt in the build directory "nmake build" --which is unrecognized.
Tried nmake package --nmake is not recognized

Is this a pathname problem which requires stuffing more paths into my environment?
What do you think is command is required for windows please?


===
Almost finished loading HD with Climate base data. Including Noaa ENC and RNC and some other stuff too.
__________________
rgleason is offline   Reply With Quote
Old 03-06-2014, 21:12   #553
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

I just tried it from within MSVS++ and there is a selection for BUILD Project.
I just had to find the *.sln file under the build directory, then pick Release from dropdown. Then pick Build Project after doing an initial build.

There was one error:
Code:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
1>  Checking Build System
1>  CMake does not need to re-run because C:/o-plugin/rtlsdr_pi/build/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: rtlsdr-i18n, Configuration: Release Win32 ------
2>  rtlsdr_pi-i18n: Done.
3>------ Build started: Project: rtlsdr_pi, Configuration: Release Win32 ------
3>     Creating library C:/o-plugin/rtlsdr_pi/build/Release/rtlsdr_pi.lib and object C:/o-plugin/rtlsdr_pi/build/Release/rtlsdr_pi.exp
3>  rtlsdr_pi.vcxproj -> C:\o-plugin\rtlsdr_pi\build\Release\rtlsdr_pi.dll
4>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
4>  Build all projects
5>------ Build started: Project: PACKAGE, Configuration: Release Win32 ------
5>EXEC : CPack error : Cannot find NSIS compiler makensis: likely it is not installed, or not in your PATH
5>EXEC : CPack error : Could not read NSIS registry value. This is usually caused by NSIS not being installed. Please install NSIS from NSIS Wiki
5>EXEC : CPack error : Cannot initialize the generator NSIS
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: cd C:\o-plugin\rtlsdr_pi\build
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: C:
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cpack.exe" -C Release --config ./CPackConfig.cmake
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
This was for rtlsdr_pi!
__________________
rgleason is offline   Reply With Quote
Old 03-06-2014, 21:21   #554
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,514
Re: WeatherFax...

You must run "make package" to build the installer. The NSIS.template.in gets converted to the proper install script by nsis by the build system. You should also be able to run the makensis command from a shell, if not, make sure it is in the path.
__________________
boat_alexandra is offline   Reply With Quote
Old 03-06-2014, 21:25   #555
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

In MSVC++ open weatherfax_pi.sln pick release. Build it.
Then highlight INSTALL pick Build INSTALL

Code:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: weatherfax-i18n, Configuration: Release Win32 ------
2>  weatherfax_pi-i18n: Done.
3>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
3>  Build all projects
4>------ Build started: Project: INSTALL, Configuration: Release Win32 ------
4>  -- Install configuration: "Release"
4>  -- Installing: C:/Program Files (x86)/weatherfax_pi/../OpenCPN/plugins/weatherfax_pi.dll
4>  CMake Error at cmake_install.cmake:34 (FILE):
4>    file INSTALL cannot copy file
4>    "C:/o-plugin/weatherfax_pi/build/Release/weatherfax_pi.dll" to "C:/Program
4>    Files (x86)/weatherfax_pi/../OpenCPN/plugins/weatherfax_pi.dll".
4>  
4>  
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 3 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Then highlight PACKAGE and pick Build PACKAGE
Code:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: weatherfax-i18n, Configuration: Release Win32 ------
2>  weatherfax_pi-i18n: Done.
3>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
3>  Build all projects
4>------ Build started: Project: PACKAGE, Configuration: Release Win32 ------
4>EXEC : CPack error : Cannot find NSIS compiler makensis: likely it is not installed, or not in your PATH
4>EXEC : CPack error : Could not read NSIS registry value. This is usually caused by NSIS not being installed. Please install NSIS from http://nsis.sourceforge.net
4>EXEC : CPack error : Cannot initialize the generator NSIS
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: cd C:\o-plugin\weatherfax_pi\build
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: C:
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cpack.exe" -C Release --config ./CPackConfig.cmake
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 3 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
paracelle

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
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 08:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 21:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 22:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 15:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 14:28


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:54.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.