Lucky

  • *
  • 12
New windows build errors.
« 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
 
Lucky

f5soh

  • *****
  • 4572
    • LibrePilot
Re: New windows build errors.
« Reply #1 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

Lucky

  • *
  • 12
Re: New windows build errors.
« Reply #2 on: June 18, 2017, 06:53:54 am »
You guys are already on it.
Awesome!
Lucky

Re: New windows build errors.
« Reply #3 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...

f5soh

  • *****
  • 4572
    • LibrePilot
Re: New windows build errors.
« Reply #4 on: June 26, 2017, 05:48:37 pm »
You should update the sources using git command and retrieve latest next branch version.

Re: New windows build errors.
« Reply #5 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).

Re: New windows build errors.
« Reply #6 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"


Re: New windows build errors.
« Reply #7 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.