문제

I want to build 32 bits applications on my Debian 64 bits environment.

So, I'm trying to compile the Qt sources in order to get the 32 bits libraries.

I am trying to use the following configure command:

./configure -platform linux-g++-32

Unfortunately, I get an error as below:

Basic XLib functionality test failed!
 You might need to modify the include and library search paths by editing

But when I do the following:

./configure -platform linux-g++-64

It's working fine.

Any guesses?

도움이 되었습니까?

해결책

Based on the the official documentation and dependencies mentioned in there, try this:

sudo apt-get install libx11-6:i386 libfontconfig1-dev:i386 libfreetype6-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxfixes-dev:i386 libxft-dev:i386 libxi-dev:i386 libxrandr-dev:i386 libxrender-dev:i386

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top