Edit: I finally found the answer here. I'd been doing searches that were too specific and when I did a more general search I found that.
I'm trying to compile a 32bit version of Qt 5.6.2 on 64bit Linux Mint, but I'm getting the error fatal error: gnu/lib-names-32.h
.
Just to go through what I've done, I used the below configuration command:
./configure -platform linux-g++-64 -xplatform linux-g++-32 -prefix /home/matthew/Qt/Qt5.6.2-S32 -static -opensource -confirm-license -make libs
I then built it with make -j4
. I got some compilation errors which where solved by installing gcc-multilib
and g++-multilib
, but then ran into another error.
Searching for solutions to the latest error, most people suggest installing libx32gcc-4.8-dev
and libc6-dev-i386
, but I still get the same error.
Does anybody know what I need to install to build 32bt Qt on 64bit Linux Mint?