LibrePilot Forum

Development => Firmware General => Topic started by: anthropo on January 06, 2018, 03:15:27 pm

Title: Can't compile next on Windows
Post by: anthropo on January 06, 2018, 03:15:27 pm
Hello,

I have double checked all my installation but I have an error compiling Next

mingw32-make[4]: *** No rule to make target 'C:/msys64/mingw64/bin/osgPlugins-3.                                                                                                                                                             5.9/mingw_osgdb_earth.dll', needed by 'C:/msys64/home/anthropo/librepilot/build/                                                                                                                                                             librepilot-gcs_release/lib/librepilot-gcs/osg/osgPlugins-3.5.9/mingw_osgdb_earth                                                                                                                                                             .dll'.  Stop.
mingw32-make[4]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/lib                                                                                                                                                             repilot-gcs_release/src/libs/osgearth'
mingw32-make[3]: *** [Makefile:437: sub-osgearth-make_first-ordered] Error 2
mingw32-make[3]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/lib                                                                                                                                                             repilot-gcs_release/src/libs'
mingw32-make[2]: *** [Makefile:44: sub-libs-make_first-ordered] Error 2
mingw32-make[2]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/lib                                                                                                                                                             repilot-gcs_release/src'
mingw32-make[1]: *** [Makefile:43: sub-src-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/lib                                                                                                                                                             repilot-gcs_release'
mingw32-make: *** [Makefile:308: gcs] Error 2


Thank you for your help
Title: Re: Can't compile next on Windows
Post by: f5soh on January 06, 2018, 04:37:37 pm
There is a osg update in Msys2, not supported yet.
Take a look here (https://forum.librepilot.org/index.php?topic=4044.msg27436#msg27436) how to disable osg.

Latest next binary can be found here (https://drive.google.com/open?id=1GhNh8lSvQeC6rEdg9-RHUq3FMaWj2TTe)
Title: Re: Can't compile next on Windows
Post by: anthropo on January 06, 2018, 05:01:42 pm
Thanks a lot
Title: Re: Can't compile next on Windows
Post by: anthropo on January 29, 2018, 02:07:22 pm
Hello,

still can't compile. Is there a link to download the latest next version every time (windows + .deb for ubuntu) please ?

I applied the recommend changes in Makefile but i have this error :
Code: [Select]
mingw32-make[3]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/librepilot-gcs_release/src/plugins'
mingw32-make[2]: *** [Makefile:130: sub-plugins-make_first-ordered] Error 2
mingw32-make[2]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/librepilot-gcs_release/src'
mingw32-make[1]: *** [Makefile:43: sub-src-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/msys64/home/anthropo/librepilot/build/librepilot-gcs_release'
mingw32-make: *** [Makefile:308: gcs] Error 2

Thank you
Title: Re: Can't compile next on Windows
Post by: f5soh on January 29, 2018, 02:25:55 pm
There is a post in News (https://forum.librepilot.org/index.php?topic=4094.0) section.

Which version of Ubuntu ?
Linux do not have issues for package build.
Title: Re: Can't compile next on Windows
Post by: f5soh on February 14, 2018, 12:06:46 pm
All Ubuntu Linux packages (Trusty, Xenial and Artful) will be available using ppa:librepilot/next repository.
Or downloaded from https://launchpad.net/~librepilot/+archive/ubuntu/next/+packages