LibrePilot Forum

Development => Firmware General => Topic started by: Lucky on June 15, 2017, 10:22:13 pm

Title: New windows build errors.
Post by: Lucky on June 15, 2017, 10:22:13 pm
Just an FYI

Trying to set up a Windows build environment following these instructions

-> https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging <-

I get this error...

$ pacman -Sy
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
error: failed retrieving file 'librepilot-mingw.db' from download.librepilot.org : The requested URL returned error: 404
 librepilot-mingw is up to date

and then these errors

mingw32-make[2]: Entering directory 'C:/msys64/home/bdiffendaffe/librepilot/build/librepilot-gcs_release'
mingw32-make[2]: *** No rule to make target 'C:/msys64/mingw64/bin/libicuin57.dll', needed by 'C:/msys64/home/bdiffendaffe/librepilot/build/librepilot-gcs_release/bin/libicuin57.dll'.
mingw32-make[2]: *** No rule to make target 'C:/msys64/mingw64/bin/libicudt57.dll', needed by 'C:/msys64/home/bdiffendaffe/librepilot/build/librepilot-gcs_release/bin/libicudt57.dll'.
mingw32-make[2]: *** No rule to make target 'C:/msys64/mingw64/bin/libicuuc57.dll', needed by 'C:/msys64/home/bdiffendaffe/librepilot/build/librepilot-gcs_release/bin/libicuuc57.dll'.

I replaced these lines in ~\librepilot\ground\gcs\copydata.pro

line 91        libicuin57.dll \
line 92        libicudt57.dll \
line 93        libicuuc57.dll \

with
 
line 91        libicuin58.dll \
line 92        libicudt58.dll \
line 93        libicuuc58.dll \

which is what is in ~\librepilot\build\librepilot-gcs_release\bin

and it seemed to build fine.

Not sure if the first error is anything important??

Lucky
 
Title: Re: New windows build errors.
Post by: f5soh on June 15, 2017, 11:36:06 pm
You get the error because Msys upgraded the Qt package to 5.9 version

Take a look here:
https://bitbucket.org/librepilot/librepilot/pull-requests/437/lp-531-adds-support-for-qt-590/diff
Title: Re: New windows build errors.
Post by: Lucky on June 18, 2017, 06:53:54 am
You guys are already on it.
Awesome!
Title: Re: New windows build errors.
Post by: octavvian on June 26, 2017, 05:37:51 pm
Hi, so there is a resolution for that problem? "Error2"
Thanks.
A link with the latest build will be fine too...
Title: Re: New windows build errors.
Post by: f5soh on June 26, 2017, 05:48:37 pm
You should update the sources using git command and retrieve latest next branch version.
Title: Re: New windows build errors.
Post by: octavvian on June 26, 2017, 06:10:21 pm
I did, I reinstall everything following "https://librepilot.atlassian.net/wiki/display/LPDOC/Developer+Manual"
Every went well until the last few line +(error2).
Title: Re: New windows build errors.
Post by: octavvian on June 26, 2017, 06:42:08 pm
I tried "Lucky's" fix and it worked....
just 1 warning:
  Generating version information for language "0000-TradChinese" without standard key "FileVersion"

Title: Re: New windows build errors.
Post by: octavvian on June 26, 2017, 06:53:49 pm
OFF topic: One more, on 16.09  - WS281x Led worked just fine, but since next - dead
no more support or user fault.
Appreciated.