|
|
22-02-2019, 11:06
|
#1157
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Aviation Weather
Aviation weather -
Get real-time weather updates with NEXRAD radar, METARs, TAFs, and more - no subscription required.
|
|
|
04-03-2019, 12:16
|
#1159
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: WeatherFax ...
Quote:
Originally Posted by rgleason
|
Hi Rick,
Didn't test it, but try removing the snprintf define from src/libaudiofile/config.h
Stelian.
|
|
|
04-03-2019, 15:03
|
#1160
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Great, what a savior. Thank you Stelian.
Quote:
Originally Posted by stelian
Hi Rick,
Didn't test it, but try removing the snprintf define from src/libaudiofile/config.h
Stelian.
|
|
|
|
04-03-2019, 15:33
|
#1161
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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]
|
|
|
|
04-03-2019, 15:36
|
#1162
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
|
|
|
04-03-2019, 15:37
|
#1163
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Maybe I should comment out line 42 as well?
\libaudiofile\File.cpp (42): fatal error C1083: Cannot open include file: 'unistd.h':
|
|
|
04-03-2019, 15:38
|
#1164
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Actually maybe the libaudio library is not included or something?
|
|
|
06-03-2019, 12:31
|
#1165
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
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.
|
|
|
06-03-2019, 12:53
|
#1166
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
Yes, that's exactly right, I did not end the comment out... I'm just a little rusty and forgettful! Sorry.
|
|
|
06-03-2019, 13:08
|
#1167
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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?
|
|
|
06-03-2019, 13:12
|
#1168
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
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
|
|
|
06-03-2019, 13:40
|
#1169
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
Re: WeatherFax ...
The only things different from pavel's iacfleet_pi appveyor.yml is this
Which is needed for the plugin. The path names have been changed appropriately. Also there were quotes at line 49
which I changed to match closely iacfleet appveyor.yml without the quotes.
Quote:
- path: build\weatherfax_pi*.exe
|
|
|
|
06-03-2019, 13:44
|
#1170
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,996
|
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
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
|
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|