Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Yocto SDK standard headers issue

Yocto SDK standard headers issue

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
yoctoinclude pathqtcreator
2 Posts 1 Posters 971 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sebastienc
    wrote on last edited by
    #1

    Hello,

    I am trying to configure QtCreator to use my Yocto toolchain. To generate the Yocto SDK I added inherit populate_sdk_qt5 in my image recipe and used the command populate_sdk.

    But when I build my application with the generated yocto g++ compiler, I get this error :

    /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore/qglobal.h:45:12: fatal error: type_traits: No such file or directory
    
     #  include <type_traits>
    
                ^~~~~~~~~~~~~
    

    Yet the type_traits header is in sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/c++/8.3.0/type_traits

    This is the strace output of the command echo "#include <type_traits>" | strace -f ${CXX} -E -x c++ -o /dev/null - :

    ....
    getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
    setrlimit(RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", X_OK) = 0
    stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", {st_mode=S_IFREG|0755, st_size=5203128, ...}) = 0
    lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", {st_mode=S_IFREG|0755, st_size=5203128, ...}) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", X_OK) = 0
    stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", {st_mode=S_IFREG|0755, st_size=5203128, ...}) = 0
    lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/arm-linux-gnueabihf-g++", {st_mode=S_IFREG|0755, st_size=5203128, ...}) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/specs", R_OK) = -1 ENOENT (No such file or directory)
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/specs", R_OK) = -1 ENOENT (No such file or directory)
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/lib/arm-linux-gnueabihf/8.3.0/specs", R_OK) = -1 ENOENT (No such file or directory)
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/lib/specs", R_OK) = -1 ENOENT (No such file or directory)
    access("/lib/gcc/arm-linux-gnueabihf/specs", R_OK) = -1 ENOENT (No such file or directory)
    stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../libexec/gcc/arm-linux-gnueabihf/8.3.0/cc1plus", {st_mode=S_IFREG|0755, st_size=180509904, ...}) = 0
    access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../libexec/gcc/arm-linux-gnueabihf/8.3.0/cc1plus", X_OK) = 0
    vfork(strace: Process 32060 attached
     <unfinished ...>
    [pid 32060] execve("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../libexec/gcc/arm-linux-gnueabihf/8.3.0/cc1plus", ["/opt/qtsdk-Guinault-2020.03/sysr"..., "-E", "-quiet", "-iprefix", "/opt/qtsdk-Guinault-2020.03/sysr"..., "-isysroot", "/opt/qtsdk-Guinault-2020.03/sysr"..., "-D_GNU_SOURCE", "-", "-o", "/dev/null", "-mthumb", "-mfpu=neon", "-mfloat-abi=hard", "-mtls-dialect=gnu", "-march=armv7-a+simd"], [/* 102 vars */] <unfinished ...>
    [pid 32059] <... vfork resumed> )       = 32060
    [pid 32059] wait4(32060,  <unfinished ...>
    [pid 32060] <... execve resumed> )      = 0
    [pid 32060] brk(NULL)                   = 0x326c000
    [pid 32060] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    [pid 32060] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] fstat(3, {st_mode=S_IFREG|0644, st_size=110392, ...}) = 0
    [pid 32060] mmap(NULL, 110392, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f38cdda5000
    [pid 32060] close(3)                    = 0
    [pid 32060] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
    [pid 32060] fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cdda3000
    [pid 32060] mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f38cd999000
    [pid 32060] mprotect(0x7f38cd99c000, 2093056, PROT_NONE) = 0
    [pid 32060] mmap(0x7f38cdb9b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f38cdb9b000
    [pid 32060] close(3)                    = 0
    [pid 32060] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832
    [pid 32060] fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0
    [pid 32060] mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f38cd695000
    [pid 32060] mprotect(0x7f38cd798000, 2093056, PROT_NONE) = 0
    [pid 32060] mmap(0x7f38cd997000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f38cd997000
    [pid 32060] close(3)                    = 0
    [pid 32060] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
    [pid 32060] fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
    [pid 32060] mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f38cd2f6000
    [pid 32060] mprotect(0x7f38cd48b000, 2097152, PROT_NONE) = 0
    [pid 32060] mmap(0x7f38cd68b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f38cd68b000
    [pid 32060] mmap(0x7f38cd691000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f38cd691000
    [pid 32060] close(3)                    = 0
    [pid 32060] mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cdda0000
    [pid 32060] arch_prctl(ARCH_SET_FS, 0x7f38cdda0840) = 0
    [pid 32060] mprotect(0x7f38cd68b000, 16384, PROT_READ) = 0
    [pid 32060] mprotect(0x7f38cd997000, 4096, PROT_READ) = 0
    [pid 32060] mprotect(0x7f38cdb9b000, 4096, PROT_READ) = 0
    [pid 32060] mprotect(0x7f38cddc0000, 4096, PROT_READ) = 0
    [pid 32060] munmap(0x7f38cdda5000, 110392) = 0
    [pid 32060] brk(NULL)                   = 0x326c000
    [pid 32060] brk(0x328d000)              = 0x328d000
    [pid 32060] getrlimit(RLIMIT_STACK, {rlim_cur=65536*1024, rlim_max=RLIM64_INFINITY}) = 0
    [pid 32060] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] fstat(3, {st_mode=S_IFREG|0644, st_size=1683408, ...}) = 0
    [pid 32060] mmap(NULL, 1683408, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f38cdc05000
    [pid 32060] close(3)                    = 0
    [pid 32060] open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
    [pid 32060] fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
    [pid 32060] read(3, "# Locale name alias data base.\n#"..., 4096) = 2995
    [pid 32060] read(3, "", 4096)           = 0
    [pid 32060] close(3)                    = 0
    [pid 32060] open("/share/locale/en_US.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en_US.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en_US/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
    [pid 32060] ioctl(0, TIOCGWINSZ, 0x7fffdee6e740) = -1 ENOTTY (Inappropriate ioctl for device)
    [pid 32060] rt_sigaction(SIGSEGV, {sa_handler=0xb4cc50, sa_mask=[SEGV], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f38cd329060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    [pid 32060] rt_sigaction(SIGILL, {sa_handler=0xb4cc50, sa_mask=[ILL], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f38cd329060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    [pid 32060] rt_sigaction(SIGBUS, {sa_handler=0xb4cc50, sa_mask=[BUS], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f38cd329060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    [pid 32060] rt_sigaction(SIGABRT, {sa_handler=0xb4cc50, sa_mask=[ABRT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f38cd329060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    [pid 32060] rt_sigaction(SIGFPE, {sa_handler=0xb4cc50, sa_mask=[FPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f38cd329060}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    [pid 32060] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddbf000
    [pid 32060] mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cdbe4000
    [pid 32060] mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cd0f6000
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddbd000
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddbb000
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddb9000
    [pid 32060] mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddb5000
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddb3000
    [pid 32060] sysinfo({uptime=12102, loads=[2144, 768, 32], totalram=10322219008, freeram=138964992, sharedram=13680640, bufferram=427089920, totalswap=7338979328, freeswap=7275479040, procs=313, totalhigh=0, freehigh=0, mem_unit=1}) = 0
    [pid 32060] getrlimit(RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
    [pid 32060] sysinfo({uptime=12102, loads=[2144, 768, 32], totalram=10322219008, freeram=138964992, sharedram=13680640, bufferram=427089920, totalswap=7338979328, freeswap=7275479040, procs=313, totalhigh=0, freehigh=0, mem_unit=1}) = 0
    [pid 32060] getrlimit(RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
    [pid 32060] getrlimit(RLIMIT_RSS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
    [pid 32060] sysinfo({uptime=12102, loads=[2144, 768, 32], totalram=10322219008, freeram=138964992, sharedram=13680640, bufferram=427089920, totalswap=7338979328, freeswap=7275479040, procs=313, totalhigh=0, freehigh=0, mem_unit=1}) = 0
    [pid 32060] getrlimit(RLIMIT_AS, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
    [pid 32060] brk(0x32b8000)              = 0x32b8000
    [pid 32060] ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
    [pid 32060] brk(0x32e0000)              = 0x32e0000
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/dummy", 0x7fffdee6d510) = -1 ENOENT (No such file or directory)
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] access("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/", X_OK) = 0
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0/arm-linux-gnueabihf", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0/backward", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0/arm-linux-gnueabihf", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include/c++/8.3.0/backward", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/local/include", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/../../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/include", 0x7fffdee6e620) = -1 ENOENT (No such file or directory)
    [pid 32060] stat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
    [pid 32060] open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
    [pid 32060] fstat(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
    [pid 32060] read(0, "#include <type_traits>\n", 8192) = 23
    [pid 32060] read(0, "", 8169)           = 0
    [pid 32060] close(0)                    = 0
    [pid 32060] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddb1000
    [pid 32060] fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
    [pid 32060] ioctl(3, TCGETS, 0x7fffdee6ddf0) = -1 ENOTTY (Inappropriate ioctl for device)
    [pid 32060] brk(0x330b000)              = 0x330b000
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include/stdc-predef.h", 0x7fffdee6d4b0) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include/stdc-predef.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed/stdc-predef.h", 0x7fffdee6d4b0) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed/stdc-predef.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/stdc-predef.h", {st_mode=S_IFREG|0644, st_size=2289, ...}) = 0
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/stdc-predef.h", O_RDONLY|O_NOCTTY) = 0
    [pid 32060] fstat(0, {st_mode=S_IFREG|0644, st_size=2289, ...}) = 0
    [pid 32060] read(0, "/* Copyright (C) 1991-2018 Free "..., 2289) = 2289
    [pid 32060] close(0)                    = 0
    [pid 32060] mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f38cddad000
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include/type_traits", 0x7fffdee6d2d0) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include/type_traits", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed/type_traits", 0x7fffdee6d2d0) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/x86_64-guinault-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/include-fixed/type_traits", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
    [pid 32060] lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
    [pid 32060] lstat("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/type_traits", 0x7fffdee6d2d0) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/type_traits", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en_US.UTF-8/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en_US.utf8/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en_US/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en.UTF-8/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en.utf8/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("/share/locale/en/LC_MESSAGES/cpplib.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    [pid 32060] open("<stdin>", O_RDONLY)   = -1 ENOENT (No such file or directory)
    [pid 32060] open("<stdin>", O_RDONLY)   = -1 ENOENT (No such file or directory)
    [pid 32060] write(2, "\33[01m\33[K<stdin>:1:10:\33[m\33[K \33[01"..., 97<stdin>:1:10: fatal error: type_traits: No such file or directory
    ) = 97
    [pid 32060] write(2, "compilation terminated.\n", 24compilation terminated.
    ) = 24
    [pid 32060] write(3, "# 1 \"<stdin>\"\n# 1 \"<built-in>\"\n#"..., 194) = 194
    [pid 32060] exit_group(1)               = ?
    [pid 32060] +++ exited with 1 +++
    <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 32060
    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32060, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
    stat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
    exit_group(1)                           = ?
    +++ exited with 1 +++
    

    I would like to point out that I sourced the environment script before the build.

    Any clues on my issue ?

    Thank you

    Sébastien C

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sebastienc
      wrote on last edited by
      #2

      This is the output when I build from command line with qmake/make :

      root@debian:~# echo $QMAKESPEC
      
      root@debian:~# source /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi 
      root@debian:~# echo $QMAKESPEC
      /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++
      root@debian:~# mkdir hellowolrd_qt
      root@debian:~# cd hellowolrd_qt/
      root@debian:~/hellowolrd_qt# nano helloworld.cpp
      root@debian:~/hellowolrd_qt# nano helloworld.pro
      root@debian:~/hellowolrd_qt# qmake helloworld.pro 
      Info: creating stash file /root/hellowolrd_qt/.qmake.stash
      root@debian:~/hellowolrd_qt# make
      arm-linux-gnueabihf-g++  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -c -pipe  -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include  -O2 -pipe -g -feliminate-unused-debug-types  --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore -I. -I/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/linux-oe-g++ -o helloworld.o helloworld.cpp
      In file included from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui/qtguiglobal.h:43,
                       from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qtwidgetsglobal.h:43,
                       from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/qapplication.h:43,
                       from /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets/QApplication:1,
                       from helloworld.cpp:1:
      /opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore/qglobal.h:45:12: fatal error: type_traits: No such file or directory
       #  include <type_traits>
                  ^~~~~~~~~~~~~
      compilation terminated.
      Makefile:547: recipe for target 'helloworld.o' failed
      make: *** [helloworld.o] Error 1
      root@debian:~/hellowolrd_qt#
      

      And this is CXX and CXXFLAGS :

      root@debian:~/hellowolrd_qt# . /opt/qtsdk-Guinault-2020.03/environment-setup-armv7at2hf-neon-linux-gnueabi 
      root@debian:~/hellowolrd_qt# echo $CXX
      arm-linux-gnueabihf-g++ -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/opt/qtsdk-Guinault-2020.03/sysroots/armv7at2hf-neon-linux-gnueabi
      root@debian:~/hellowolrd_qt# echo $CXXFLAGS 
      -isystem/home/guinault/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/include -O2 -pipe -g -feliminate-unused-debug-types
      

      Anyone can help me please ?

      Thank you

      Sébastien

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved