LibrePilot Forum
International Forums => Deutsch => Topic started by: jochene on February 12, 2016, 09:38:39 am
-
Hallo,
nachdem ich mich erstmal vom CC3D-Heli verabschiedet habe, habe ich nun versucht das teil in einen Quad zu packen, natürlich mit der neuesten Soft.
Da fangen bei mal mal wie in der Vergangenheit auch schon die kleinen bis großen Probleme an.
Nach der alten Anleitung https://librepilot.atlassian.net/wiki/pages/viewpage.action?pageId=5668926 funktioniert es bei mir nicht, da von den Scripten kein QT mehr installiert wird.
Nach der neuen Anleitung https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging funktioniert es bei mir auch nicht, da kein OSD und OSDearth installiert wird. Auch ist eine Installation mit "mingw32-make osd_install" u.s.w nicht möglich.
Ohne OSD/Earth bricht der Kompeliervorgang nach ein paar Minuten mit Fehler ab, da "OSD/Earth fehlt.
Ich habe es sowohl mit der 32-bit als auch mit der 64-bit Version probiert.
Sitze hier immer länger frustriert vor dem PC als im Keller oder mit einem Grinsen auf dem Flugplatz.
Irgendwie verzeifel ich an den Proggern. Wie soll man dieses Projekt unterstützen, wenn man noch nicht mal Testversionen auch Testen kann?
Vielleicht stehe ich aber auch auf dem Schlauch und habe ein Knoten im Hirn.
Wie klappt das Kompelieren bei Euch?
Danke
-
gerade nochmal probiert.
Das wäre die Fehlermeldung
...................................
cp -f "C:/msys64/mingw64/bin/libosgUtil.dll" "C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/bin/libosgUtil.dll"
cp -f "C:/msys64/mingw64/bin/libosgViewer.dll" "C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/bin/libosgViewer.dll"
cp -f "C:/msys64/mingw64/bin/libosgVolume.dll" "C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/bin/libosgVolume.dll"
cp -f "C:/msys64/mingw64/bin/libosgWidget.dll" "C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/bin/libosgWidget.dll"
mingw32-make[4]: *** No rule to make target 'C:/msys64/mingw64/bin/osgPlugins-3.5.1/mingw_osgdb_3dc.dll', needed by 'C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/lib/librepilot-gcs/osg/osgPlugins-3.5.1/mingw_osgdb_3dc.dll'. Stop.
mingw32-make[4]: Leaving directory 'C:/msys64/home/asd/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/asd/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/asd/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/asd/librepilot/build/librepilot-gcs_release'
Makefile:272: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2
Vielleicht könnt Ihr was damit anfangen.
Danke
-
Not OSD but osG
OSG installed using pacman ?
For 32bit:
pacman -S --needed mingw-w64-i686-OpenSceneGraph
or 64bit:
pacman -S --needed mingw-w64-x86_64-OpenSceneGraph
64 or 32bit refers to shell used, not host.
-
Hello,
sorry , that was a clerical me. I " osg " actually tried.
----------------------
Tried it again today. Even after the patch is not working yet , unfortunately.
$ git pull
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 14 (delta 10), reused 0 (delta 0)
Entpacke Objekte: 100% (14/14), Fertig.
Von https://bitbucket.org/librepilot/librepilot
3fe5d1f..b978556 next -> origin/next
Aktualisiere 3fe5d1f..b978556
Fast-forward
ground/gcs/src/app/main.cpp | 2 ++
make/3rdparty/osgearth/osg-3.5.1.patch | 13 +++++++++++++
2 files changed, 15 insertions(+)
create mode 100644 make/3rdparty/osgearth/osg-3.5.1.patch
----------------------
----------------------
After "pacman -S --needed mingw-w64-x86_64-OpenSceneGraph"
asd@ASD01 MINGW64 ~/librepilot
$ pacman -S --needed mingw-w64-x86_64-OpenSceneGraph
Warnung: mingw-w64-x86_64-OpenSceneGraph-3.4.0-1 ist aktuell -- Überspringe
Es gibt nichts zu tun
----------------------
----------------------
asd@ASD01 MINGW64 ~/librepilot
$ mingw32-make osg_install
WARNING not found (make osg_install), using system PATH
WARNING not found (make osgearth_install), using system PATH
CLEAN
VERIFY downloads
C:/msys64/home/asd/librepilot/make/tools.mk:816: recipe for target 'osg_install' failed
mingw32-make: *** [osg_install] Error 6
----------------------
----------------------
asd@ASD01 MINGW64 ~/librepilot
$ mingw32-make all_sdk_version
WARNING not found (make osg_install), using system PATH
WARNING not found (make osgearth_install), using system PATH
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288]
MakeNSIS v2.46-Unicode - Copyright 1995-2009 Contributors
MesaOpenGL vXX
/usr/bin/sh: C:/msys64/home/asd/librepilot/tools/gtest-1.7.0/configure: No such file or directory
C:/msys64/home/asd/librepilot/make/tools.mk:770: recipe for target 'gtest_version' failed
mingw32-make: [gtest_version] Error 1 (ignored)
uncrustify 0.60
Doxygen 1.8.3.1
----------------------
Than you
-
Hi,
On windows we now use msys2 provided OSG.
So make sure that:
- you have no osg or osgearth related directories in ./tools and ./downloads directories
- get the latest OpenSceneGraph package (3.5.1) by updating the msys2 packages as described in section III here : https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/
The switch to msys2 is work in progress and is not yet fully complete...
-
Edit: Too slow :)
The 'mingw32-make osg_install' is not used anymore for windows, you can erase the old dir osg* under ./tools
Warnung: mingw-w64-x86_64-OpenSceneGraph-3.4.0-1 ist aktuell -- Überspringe
Your OSG Msys2 package is outdated, should be 3.5.1 version
Go to https://msys2.github.io/ and look step 5 and 6 for update.
The last commit with osg patch only applies to Osx, for windows osg comes now from pacman package already compiled.
-
Hello,
have just done all updates.
It worked. Super, perfect.
For one who is not familiar with such software it is complicated process.
Have I set to the update page and a link will in future regularly perform an update.
Will now now trying this installation on my PC in the basement also to perform.
Many many thanks for your great support .
-
Hello,
today again a new error.
MinGW is currently.
/usr/bin/sh: Zeile 1: 4704 Segmentation fault C:/msys64/home/asd/librepilot/build/uavobjgenerator/uavobjgenerator.exe -flight C:/msys64/home/asd/librepilot/flight/../shared/uavobjectdefinition C:/msys64/home/asd/librepilot/flight/..
C:/msys64/home/asd/librepilot/flight/Makefile:253: recipe for target 'flight_uavobjects' failed
mingw32-make: *** [flight_uavobjects] Error 139
What can i do?
-
Do a
mingw32-make all_clean
first ?
-
Hello,
i have make
"mingw32-make clean"
With "mingw32-make all_clean"
The same
/usr/bin/sh: Zeile 1: 7924 Segmentation fault C:/msys64/home/asd/librepilot/build/uavobjgenerator/uavobjgenerator.exe -flight C:/msys64/home/asd/librepilot/flight/../shared/uavobjectdefinition C:/msys64/home/asd/librepilot/flight/..
C:/msys64/home/asd/librepilot/flight/Makefile:253: recipe for target 'flight_uavobjects' failed
mingw32-make: *** [flight_uavobjects] Error 139
-
mingw32-make all_sdk_version
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288]
MakeNSIS v2.46-Unicode - Copyright 1995-2009 Contributors
MesaOpenGL vXX
/usr/bin/sh: C:/msys64/home/asd/librepilot/tools/gtest-1.7.0/configure: No such file or directory
C:/msys64/home/asd/librepilot/make/tools.mk:774: recipe for target 'gtest_version' failed
mingw32-make: [gtest_version] Error 1 (ignored)
uncrustify 0.60
Doxygen 1.8.3.1
---------------------------------------
asd@ASD01 MINGW64 ~/librepilot
$ git pull
Already up-to-date.
------------------------------------------
asd@ASD01 MINGW64 ~/librepilot
$ update-core
==> Update package databases...
:: Synchronisiere Paketdatenbanken...
mingw32 ist aktuell
mingw64 ist aktuell
msys ist aktuell
==> Checking if there are critical packages to upgrade.
==> No updates for core packages.
---------------------------------
asd@ASD01 MINGW64 ~/librepilot
$ pacman -Su
:: Starte vollständige Systemaktualisierung...
Es gibt nichts zu tun
---------------------------------------------------
asd@ASD01 MINGW64 ~/librepilot
$ pacman -Sy
:: Synchronisiere Paketdatenbanken...
mingw32 ist aktuell
mingw64 ist aktuell
msys ist aktuell
-
Hi,
Please edit Makefile and add -v at the end of line 143.
That line should look like this with the edir:
UAVOBJGENERATOR := $(BUILD_DIR)/uavobjgenerator/uavobjgenerator.exe -v
Then run make again (with the V=1 option) and let us know the output.
Please attach full build log.
Another thing: what happens if you run only "make all_fw" ?
-
Hi,
with "make all_fw" the same error.
with "UAVOBJGENERATOR := $(BUILD_DIR)/uavobjgenerator/uavobjgenerator.exe -v" in the make-file.
asd@ASD01 MINGW64 ~/librepilot
$ mingw32-make package
C:/msys64/mingw64/bin/mingw32-make -f Makefile.Release
compiling ../../ground/uavobjgenerator/main.cpp
compiling ../../ground/uavobjgenerator/uavobjectparser.cpp
compiling ../../ground/uavobjgenerator/generators/generator_io.cpp
compiling ../../ground/uavobjgenerator/generators/java/uavobjectgeneratorjava.cpp
compiling ../../ground/uavobjgenerator/generators/flight/uavobjectgeneratorflight.cpp
compiling ../../ground/uavobjgenerator/generators/gcs/uavobjectgeneratorgcs.cpp
compiling ../../ground/uavobjgenerator/generators/matlab/uavobjectgeneratormatlab.cpp
compiling ../../ground/uavobjgenerator/generators/python/uavobjectgeneratorpython.cpp
compiling ../../ground/uavobjgenerator/generators/wireshark/uavobjectgeneratorwireshark.cpp
compiling ../../ground/uavobjgenerator/generators/generator_common.cpp
linking uavobjgenerator.exe
C:/msys64/mingw64/bin/mingw32-make -f Makefile.Release
mingw32-make[2]: Nothing to be done for 'first'.
/usr/bin/sh: Zeile 1: 2592 Segmentation fault C:/msys64/home/asd/librepilot/build/uavobjgenerator/uavobjgenerator.exe -V -flight C:/msys64/home/asd/librepilot/flight/../shared/uavobjectdefinition C:/msys64/home/asd/librepilot/flight/..
C:/msys64/home/asd/librepilot/flight/Makefile:253: recipe for target 'flight_uavobjects' failed
mingw32-make: *** [flight_uavobjects] Error 139
-
Just in time, i have make a new update from MinGW and now run it.
Top