Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 22-02-2019, 09:22   #1156
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Aviation Weather

Aviation Weather in the USA when equipped with ADS-B and a Universal Access Transceiver (UAT)?

DIY ADS-B: Building the Stratux

Stratux Build Guide

Startux Parts

https://github.com/cyoung/stratux

Stratux Amazon Store

Stratux AHRS Sensors and Fan Controller/Raspberry Pi MPU9250+BMP280

Would Aviation Weather be useful for Coastal cruising?

Perhaps overlay in OpenCPN is difficult, but using one of the Flight programs might be effective?
rgleason is offline   Reply With Quote
Old 22-02-2019, 10:06   #1157
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Aviation Weather

Aviation weather -


Get real-time weather updates with NEXRAD radar, METARs, TAFs, and more - no subscription required.
rgleason is offline   Reply With Quote
Old 04-03-2019, 10:42   #1158
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

I could use a little programming assistance here...
getting

ov50 appveyor.yml is failing 39 erros "macro definition of snprintf conflict" #116


It's probably something simple, I don't see, but it just a step away from being compiled for ov50.
rgleason is offline   Reply With Quote
Old 04-03-2019, 11:16   #1159
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Quote:
Originally Posted by rgleason View Post
I could use a little programming assistance here...
getting

ov50 appveyor.yml is failing 39 erros "macro definition of snprintf conflict" #116


It's probably something simple, I don't see, but it just a step away from being compiled for ov50.

Hi Rick,


Didn't test it, but try removing the snprintf define from src/libaudiofile/config.h


Stelian.
stelian is offline   Reply With Quote
Old 04-03-2019, 14:03   #1160
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Great, what a savior. Thank you Stelian.



Quote:
Originally Posted by stelian View Post
Hi Rick,


Didn't test it, but try removing the snprintf define from src/libaudiofile/config.h


Stelian.
rgleason is offline   Reply With Quote
Old 04-03-2019, 14:33   #1161
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Ok that helped. It started comiling more and had two errors.


I cannot find unistd.h in the working directories. I wonder where I can find it?



Quote:
C:\project\weatherfax_pi\src\libaudiofile\File.cpp (42): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\project\weatherfax_pi\build\weatherfax_pi.vcxpr oj] C:\project\weatherfax_pi\src\libaudiofile\openclos e.cpp(28): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\project\weatherfax_pi\build\weatherfax_pi.vcxpr oj]
rgleason is offline   Reply With Quote
Old 04-03-2019, 14:36   #1162
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

<unistd.h>


https://stackoverflow.com/questions/...ndows-visual-c


A special one for MS Visual Studio? How do you handle that?
rgleason is offline   Reply With Quote
Old 04-03-2019, 14:37   #1163
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Maybe I should comment out line 42 as well?



\libaudiofile\File.cpp (42): fatal error C1083: Cannot open include file: 'unistd.h':
rgleason is offline   Reply With Quote
Old 04-03-2019, 14:38   #1164
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Actually maybe the libaudio library is not included or something?
rgleason is offline   Reply With Quote
Old 06-03-2019, 11:31   #1165
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

Rick,

According to src/libaudiofile/config.h, when building under windows you should have #define HAVE_UNISTD_H 0

And if that is the case, you shouldn't reach the #include <unistd.h> in File.cpp.

The problem is in your commit https://github.com/rgleason/weatherf...0bc1df2d84cbc5

You should have ended the comment tag /* */ on the snprintf line.

Stelian.
stelian is offline   Reply With Quote
Old 06-03-2019, 11:53   #1166
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Yes, that's exactly right, I did not end the comment out... I'm just a little rusty and forgettful! Sorry.
rgleason is offline   Reply With Quote
Old 06-03-2019, 12:08   #1167
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

It got through those errors and now there is something else.
https://ci.appveyor.com/project/rgle...uilds/22878378


Now it's some "post build" event target

<code>
"C:\project\weatherfax_pi\build\package.vcxpro j" (default target) (1) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Pla tforms\Win32\PlatformToolsets\v141_xp\Toolset.targ ets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\project\weatherfax_pi\build\package.vcxproj]


"C:\project\weatherfax_pi\build\package.vcxpro j" (default target) (1) ->
(PostBuildEvent target) ->
EXEC : CPack error : Error when generating package: weatherfax_pi [C:\project\weatherfax_pi\build\package.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Mic rosoft.CppCommon.targets(138,5): error MSB3073: The command "setlocal [C:\project\weatherfax_pi\build\package.vcxproj]
</code>


I must have the appveyor.yml configured wrong somehow?
rgleason is offline   Reply With Quote
Old 06-03-2019, 12:12   #1168
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: WeatherFax ...

This is because: "file INSTALL cannot find "C:/project/weatherfax_pi/buildwin/PVW32Con.exe"

You removed those lines from appveyor.yml:

before_build:
- cd c:\project\weatherfax_pi
- cd buildwin
- ps: Start-FileDownload https://downloads.sourceforge.net/pr...a/PVW32Con.exe
stelian is offline   Reply With Quote
Old 06-03-2019, 12:40   #1169
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

The only things different from pavel's iacfleet_pi appveyor.yml is this


Quote:
- ps: Start-FileDownload https://sourceforge.net/projects/ope...taudio-vc12.7z
- cmd: 7z x -y portaudio-vc12.7z -oc:\project\weatherfax_pi\buildwin

Which is needed for the plugin. The path names have been changed appropriately. Also there were quotes at line 49


Quote:
- path: 'build\*.exe'
which I changed to match closely iacfleet appveyor.yml without the quotes.
Quote:
- path: build\weatherfax_pi*.exe
rgleason is offline   Reply With Quote
Old 06-03-2019, 12:44   #1170
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: WeatherFax ...

Whoops.
I have to think like I am actually compiling it.

Later: Well actually those two lines are in there. I did not delete them, but I've added these commands just before the file install for pvw32con.exe to be sure. I'll try it again in a minute.


Quote:
Originally Posted by stelian View Post
This is because: "file INSTALL cannot find "C:/project/weatherfax_pi/buildwin/PVW32Con.exe"

You removed those lines from appveyor.yml:

before_build:
- cd c:\project\weatherfax_pi
- cd buildwin
- ps: Start-FileDownload https://downloads.sourceforge.net/pr...a/PVW32Con.exe
rgleason is offline   Reply With Quote
Reply

Tags
paracelle


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 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


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


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.