Martyc

  • *
  • 14
Re: Windows Build error
« Reply #15 on: April 15, 2016, 12:55:18 am »
Thanks hwh.  :)

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #16 on: April 15, 2016, 12:59:53 am »
Congrats for GPS ;)

Build works fine here.

Update sources with a "git pull", we have now "r594"

Be sure you apply the recent changes from Wiki page:
https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging

Add librepilot mingw repo

Update you Msys env:
Code: [Select]
update-core
pacman -Su

Install updated package list using pacman...

hwh

  • *
  • 1018
Re: Windows Build error
« Reply #17 on: April 15, 2016, 03:05:30 am »
It runs from the build environment but not if installed.   I've left a note for the developer.

I almost never install it, you can run it from the build environment by typing:

build/librepilot-gcs_release/bin/librepilot-gcs.exe


-Hank
« Last Edit: April 15, 2016, 03:24:47 am by hwh »

Martyc

  • *
  • 14
Re: Windows Build error
« Reply #18 on: April 16, 2016, 11:24:54 pm »
Ok just built R594 and i'm still getting the PfdQml.dll problem even running build/librepilot-gcs_release/bin/librepilot-gcs.

zukenj

  • ***
  • 202
Re: Windows Build error
« Reply #19 on: April 21, 2016, 06:39:26 am »
It runs from the build environment but not if installed.   I've left a note for the developer.

I almost never install it, you can run it from the build environment by typing:

build/librepilot-gcs_release/bin/librepilot-gcs.exe


-Hank

I try the install and the .exe on the path, and I get the same error:

The program can't start because libgraphite2.dll is missing from you computer. Try reinstalling the program to fix this problem.

FS-TH9X RC
F450 Clone
Revolution FC
EMAX 2213 935 KV
HK 30A ESC UBEC running BLHeli 14.4
10x4.5 Propellers
DJI Naza clone Ublox M8N GPS

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #20 on: April 21, 2016, 12:20:50 pm »
Update your build, this issue is fixed since 4 days.

Code: [Select]
git pull
make all_clean
make package

zukenj

  • ***
  • 202
Re: Windows Build error
« Reply #21 on: April 21, 2016, 07:29:47 pm »
Thanks.

I will update and compile.

FS-TH9X RC
F450 Clone
Revolution FC
EMAX 2213 935 KV
HK 30A ESC UBEC running BLHeli 14.4
10x4.5 Propellers
DJI Naza clone Ublox M8N GPS

Re: Windows Build error
« Reply #22 on: May 22, 2016, 12:27:31 pm »
Hello,
When compiling I error messages:

compiling moc_OSGTrackballManipulator.cpp
compiling moc_OSGSkyNode.cpp
compiling moc_OSGGeoTransformNode.cpp
compiling moc_OSGEarthManipulator.cpp
compiling moc_OSGGeoTransformManipulator.cpp
mingw32-make[4]: *** No rule to make target 'C:/msys64/mingw64/bin/libhogweed-4-1.dll', needed by 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/bin/libhogweed-4-1.dll'.  Stop.
mingw32-make[4]: *** Waiting for unfinished jobs....
mingw32-make[4]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
Makefile:434: recipe for target 'sub-osgearth-make_first-ordered' failed
mingw32-make[3]: *** [sub-osgearth-make_first-ordered] Error 2
mingw32-make[3]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src/libs'
Makefile:41: recipe for target 'sub-libs-make_first-ordered' failed
mingw32-make[2]: *** [sub-libs-make_first-ordered] Error 2
mingw32-make[2]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src'
Makefile:40: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make[1]: *** [sub-src-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release'
Makefile:273: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2

Apparently missing dll:
"libhogweed-4-1.dll"
You know how I can get it back?

(I checked the directory and do I not find it.)

Thx

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #23 on: May 22, 2016, 06:40:08 pm »
Seems the Msys is not up to date .

Code: [Select]
update-core
pacman -Su

Be sure you use the 32 or 64 shell, not MSYS shell:
https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging#WindowsBuildingandPackaging-Installrequiredpackages

Re: Windows Build error
« Reply #24 on: May 23, 2016, 12:19:25 am »
thank you for the answer. I followed the tutorial but I notice that the update-core command does not work:

$ Update-core
bash: update-core: command not found

$ Pacman -Su
:: Starting core system upgrade ...
  There is nothing to do
:: Start of full upgrade of the system ...
  There is nothing to do

Re: Windows Build error
« Reply #25 on: May 23, 2016, 07:10:28 pm »
Good evening,
I find this:

https://sourceforge.net/p/msys2/tickets/256/

  Apparently ca be 5 pacman version that longer supports the command "update-core".
I tested two other pc with 32bit version too. It's the same.
When updates I see that it can not recover everything. Some do not download.
If I find a solution I will post;)

I test:
https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/
« Last Edit: May 23, 2016, 07:30:26 pm by Maverick268 »

parched

  • *
  • 11
Re: Windows Build error
« Reply #26 on: May 25, 2016, 11:09:20 pm »
  Apparently ca be 5 pacman version that longer supports the command "update-core".

Yes, update core is built into pacman now. So all you need to do is `pacman -Syuu` if that does update some core components it will ask you to close the terminal and do it again

Re: Windows Build error
« Reply #27 on: May 28, 2016, 02:13:51 pm »
Ok, I try several installation tutorial, try on 3 different PCs (2 in 1 W7 and W10).
Pacman tells me that everything is up to date.
During compilation, he always tells me the same error messages:

mingw32-make[4]: *** No rule to make target 'C:/msys64/mingw64/bin/libhogweed-4-1.dll', needed by 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/bin/libhogweed-4-1.dll'.  Stop.
mingw32-make[4]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
Makefile:434: recipe for target 'sub-osgearth-make_first-ordered' failed
mingw32-make[3]: *** [sub-osgearth-make_first-ordered] Error 2
mingw32-make[3]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src/libs'
Makefile:41: recipe for target 'sub-libs-make_first-ordered' failed
mingw32-make[2]: *** [sub-libs-make_first-ordered] Error 2
mingw32-make[2]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release/src'
Makefile:40: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make[1]: *** [sub-src-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/msys64/home/Mathieu/librepilot/build/librepilot-gcs_release'
Makefile:264: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2

I still have the missing libhogweed-4-1.dll.

someone tried to remake a recent installation?
It may be that a packet is outdated or no longer download or missing dll.

Krecik

  • *
  • 7
Re: Windows Build error
« Reply #28 on: May 28, 2016, 05:59:10 pm »
Same here. It looks like we have to wait for a fix.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #29 on: May 28, 2016, 07:53:55 pm »
Should be fixed soon, we start to use automated builds.

Remember this is a Opensource project, you should not always wait fixes :)