jochene

  • *
  • 73
    • Modellheliflieger
Windows Build error
« on: March 29, 2016, 09:09:18 pm »
Hello,

minGW64 is all new

The last git und now error by build.

........................
C:/msys64/home/asd/librepilot/ground/gcs/src/libs/eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.h:201:1: note: in expansion of macro 'EIGEN_MAKE_SCALAR_CWISE_UNARY_OP'
 EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator>=,  std::greater_equal)
 ^
In file included from C:/msys64/mingw64/include/c++/5.3.0/bits/stl_function.h:1128:0,
                 from C:/msys64/mingw64/include/c++/5.3.0/string:48,
                 from C:/msys64/mingw64/include/c++/5.3.0/random:40,
                 from C:/msys64/mingw64/include/c++/5.3.0/bits/stl_algo.h:66,
                 from C:/msys64/mingw64/include/c++/5.3.0/algorithm:62,
                 from C:/msys64/mingw64/include/QtCore/qglobal.h:85,
                 from C:/msys64/home/asd/librepilot/ground/gcs/src/libs/extensionsystem/extensionsystem_global.h:32,
                 from C:/msys64/home/asd/librepilot/ground/gcs/src/libs/extensionsystem/pluginmanager.h:32,
                 from C:/msys64/home/asd/librepilot/ground/gcs/src/plugins/config/configgadgetwidget.h:30,
                 from C:/msys64/home/asd/librepilot/ground/gcs/src/plugins/config/configgadgetwidget.cpp:28:
C:/msys64/mingw64/include/c++/5.3.0/backward/binders.h:143:11: note: declared here
     class binder2nd
           ^
Makefile:2364: recipe for target 'configgadgetwidget.o' failed
mingw32-make[4]: *** [configgadgetwidget.o] Error 1
mingw32-make[4]: Leaving directory 'C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/src/plugins/config'
Makefile:519: recipe for target 'sub-config-make_first' failed
mingw32-make[3]: *** [sub-config-make_first] Error 2
mingw32-make[3]: Leaving directory 'C:/msys64/home/asd/librepilot/build/librepilot-gcs_release/src/plugins'
Makefile:127: recipe for target 'sub-plugins-make_first-ordered' failed
mingw32-make[2]: *** [sub-plugins-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:269: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2

Can you help?

Thank you
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #1 on: March 29, 2016, 09:12:01 pm »
Know issue, just wait.

you are using qt5.6 and sources are not updated yet.

jochene

  • *
  • 73
    • Modellheliflieger
Re: Windows Build error
« Reply #2 on: March 30, 2016, 05:47:53 pm »
OK,

thank you
Gruß
Jochen
---------------------------------------------------------------------------------
Wer Rechtschreibfehler findet darf diese auch behalten.
---------------------------------------------------------------------------------

Re: Windows Build error
« Reply #3 on: April 11, 2016, 10:13:21 am »
Hi guys i've a problem to build a gcs when i type a mingw32-make all sdk instructions won't work error say command not found.
What's happened?but i follow step by step of procedure.
Tnx to anyone can help me.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #4 on: April 11, 2016, 10:49:31 am »
Look like you miss some step.

Check if binary is present on this path:
C:\Dir_where_you_install_msys\mingw32\bin

Re: Windows Build error
« Reply #5 on: April 11, 2016, 11:00:29 pm »
It's a screenshot of error...can you help me??? Tnx

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #6 on: April 11, 2016, 11:52:01 pm »
Redo install from scratch, i don't understand why there is two paths in your screenshot.

Console error is text, you can do copy paste instead of take a picture...

Re: Windows Build error
« Reply #7 on: April 12, 2016, 05:09:39 am »
Ok that's all


$ mingw32-make.exe all_sdk_install
Makefile:33: C:/msys64/home/Salvatore: No such file or directory
Makefile:33: razza/librepilot/make/functions.mk: No such file or directory
Makefile:132: C:/msys64/home/Salvatore: No such file or directory
Makefile:132: razza/librepilot/make/tools.mk: No such file or directory
Makefile:238: C:/msys64/home/Salvatore: No such file or directory
Makefile:238: razza/librepilot/flight/Makefile: No such file or directory
Makefile:294: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:260: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:342: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:294: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
/usr/bin/sh: --: opzione non valida
Uso:    /usr/bin/sh [opzione lunga GNU] [opzione] ...
        /usr/bin/sh [opzione lunga GNU] [opzione] file-script ...
Opzioni lunghe GNU:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
        --wordexp
Opzioni di shell:
        -ilrsD or -c command or -O shopt_option         (invocation only)
        opzione -abefhkmnptuvxBCHP oppure -o
Makefile:371: C:/msys64/home/Salvatore: No such file or directory
Makefile:371: razza/librepilot/package/.mk: No such file or directory
Makefile:379: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:342: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:382: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:379: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:389: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:382: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:400: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:389: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:406: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:400: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:523: warning: overriding recipe for target 'C:/msys64/home/Salvatore'
Makefile:406: warning: ignoring old recipe for target 'C:/msys64/home/Salvatore'
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
Makefile:522: target 'C:/msys64/home/Salvatore' given more than once in the same                                                                                                                 rule
mingw32-make: *** No rule to make target 'razza/librepilot/package/.mk'.  Stop.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Windows Build error
« Reply #8 on: April 12, 2016, 11:06:28 am »
Which shell do you use exactly ?

Still something weird between "Salvatore" and "razza"


Re: Windows Build error
« Reply #9 on: April 12, 2016, 03:51:42 pm »
Salvatore razza is the user folder.
Salvatore razza/librepilot i thing mingw32 have problem with ling name folder or is a black magic on mt pc.

hwh

  • *
  • 1018
Re: Windows Build error
« Reply #10 on: April 12, 2016, 03:56:29 pm »
Your home directory name has a space or non-ascii character in it, that's not allowed in unix/msys.

It looks like it's "C:/msys64/home/Salvatore razza/".  Rename it to something without a space. "C:/msys64/home/Salvatore/" maybe?

Re: Windows Build error
« Reply #11 on: April 12, 2016, 05:03:55 pm »
now al go on the right way....stay tuned for update.....thank you for your pacience

Re: Windows Build error
« Reply #12 on: April 12, 2016, 08:13:53 pm »
Wowwww next branch is out now and i2c auxmag are online....thank you for your helping....tnx boss

Martyc

  • *
  • 14
Re: Windows Build error
« Reply #13 on: April 15, 2016, 12:21:39 am »
OK, i managed to complete the windows build yesterday and created LibrePilot-15.09+r552-gd3f150f_x86_64.exe
It also installs ok, however when starting up libre pilot the app states it is missing libgraphite2.dll. I fixed this as i found a copy in the source files and placed it in system32 and was able to continue,
But alas the program then states it cannot load PfdQml.dll as a module it depend on is missing and i do not know which module.
Fortunately Libre pilot still continues to load and is usable without it.

These issues may be a problem wiith missed dependencies when constructing the package, but i don't know for sure.
Any how i have been able to use this build on my quad and successfully got my external mag and GPS to work and managed to fly with GPS assist and position hold which i have been trying to achieve for ages  ;D ;D ;D ;D

hwh

  • *
  • 1018
Re: Windows Build error
« Reply #14 on: April 15, 2016, 12:51:13 am »
Some more changes for the feature PfdQml.dll is related to were merged in today.  I don't know yet if any of them fix your problem but I'm compiling a copy of the current next on windows as I type.  I'll post here again either way to let you know.  If today's changes don't fix it I'll let the person working on it know.

And congratulations on getting the GPS modes working :)