<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello, Qt devs,<div><br></div><div> A couple of devs, including me, tried to build and install Qt for WA under a recent Ubuntu.</div><div>See: <a href="https://forum.qt.io/topic/100061/ubuntu-compile-qt-failed">https://forum.qt.io/topic/100061/ubuntu-compile-qt-failed</a></div><div><br></div><div>We all followed the instructions from the blog post: <a href="https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/">https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/</a></div><div><br></div><div>However, for some reason the build fails at:</div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">qsimd_p.h:196:14: </span><span style="font-weight:bold;color:rgb(255,84,84)">fatal error: </span><span style="font-weight:bold;color:rgb(0,0,0)">'x86intrin.h' file not found</span><span style="color:rgb(0,0,0)"> </span><br>#    include <x86intrin.h> <br><span style="font-weight:bold;color:rgb(84,255,84)">             ^~~~~~~~~~~~~</span><br></span></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)"><br></span></span></div><div><font face="arial, helvetica, sans-serif" color="#000000">My em++ looks as follows:</font></div><div><font face="arial, helvetica, sans-serif" color="#000000"><br></font></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ em++ -v </span><br>emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.28 <br>clang version 6.0.1  (emscripten 1.38.28 : 1.38.28) <br>Target: x86_64-unknown-linux-gnu <br>Thread model: posix <br>InstalledDir: /home/alexander/bin/emsdk/clang/tag-e1.38.28/build_tag-e1.38.28_64/bin <br>Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8 <br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6 <br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0 <br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7 <br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0 <br>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8 <br>Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0 <br>Candidate multilib: .;@m64 <br>Selected multilib: .;@m64 <br>shared:INFO: <span style="color:rgb(24,178,24)">(Emscripten: Running sanity checks)</span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(24,178,24)"><br></span></span></div><div><font color="#000000"><span style="font-family:monospace">How can we debug the problem? I've also tried to do following </span><span style="font-family:monospace">export </span></font><span style="color:rgb(0,0,0);font-family:monospace">CPLUS_INCLUDE_PATH=~/bin/emsdk/clang/tag-e1.38.28/build_tag-e1.38.28_64/lib/clang/6.0.1/include/ which results in the build failing due to missing symbols.</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Thank you for your response</span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Alex</span></div></div></div></div>