Rasberry pi3 XlsxWriter github install



  • Hi
    I have problem when I make install github QtXLsxWriter
    when I make git on terminal.
    It show messege.
    compilation terminated.
    Makefile:602: recipe for target '.obj/xlsxzipwriter.o' failed
    make[2]: *** [.obj/xlsxzipwriter.o] Error 1
    make[2]: Leaving directory '/home/pi/opt/QtXlsxWriter/src/xlsx'
    Makefile:38: recipe for target 'sub-xlsx-make_first' failed
    make[1]: *** [sub-xlsx-make_first] Error 2
    make[1]: Leaving directory '/home/pi/opt/QtXlsxWriter/src'
    Makefile:40: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2
    Please tell me I do something wrong or how to improve.


  • Moderators

    @hannao said in Rasberry pi3 XlsxWriter github install:

    compilation terminated.
    Makefile:602: recipe for target '.obj/xlsxzipwriter.o' failed

    Please post the errors before these lines. Or the whole build log. What you posted does not contain any useful information.



  • xlsxzipwriter.cpp:27:34: fatal error: private/qzipwriter_p.h: No such file or directory
    #include <private/qzipwriter_p.h>
    ^
    compilation terminated.
    Makefile:604: recipe for target '.obj/xlsxzipwriter.o' failed
    make[2]: *** [.obj/xlsxzipwriter.o] Error 1
    make[2]: Leaving directory '/home/pi/Githup/QtXlsxWriter/src/xlsx'
    Makefile:38: recipe for target 'sub-xlsx-make_first' failed
    make[1]: *** [sub-xlsx-make_first] Error 2
    make[1]: Leaving directory '/home/pi/Githup/QtXlsxWriter/src'
    Makefile:40: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2


  • Moderators

    @hannao qzipwriter_p.h is part of QtGui module - did you compile/install it?
    Did you use the correct qmake?



  • 0_1495519886855_Capture.PNG
    I use command follow picture
    I do something wrong?


  • Moderators

    @hannao Can you search for qzipwriter_p.h on your system?



  • @jsulm I am not find this file.
    I think I forget do something such as cross compiling Qt


  • Moderators

    @hannao So, all those "sudo apt-get" calls were on your host PC?
    Well, then it cannot work: you need Qt built for RPi.



  • @jsulm Oh Thanks for your suggestion.


Log in to reply