forlano Messages: 1207 Registered: March 2006 Location: Italy
Senior Contributor
forlano wrote on Wed, 10 January 2018 15:18
edit: today I have installed libxft-dev:i386 . The installation removed the libxft-dev at 64 bit. However I was able to compile a 32 bit application.
Then I tried to compile the 64 bit application. Obviously the compiler complained the missing libxft-dev. I tried to install it but it removed the 32 bit version! A nightmare.
It seems libxft-dev cannot coexist in the same machine in 32 and 64 bit mode. This prevent to compile easily a program in 32 and 64 bit... at least on lubuntu
Today I succeeded to compile a 32 bit GUI app on a 64 bit platform (Lubuntu 16.10).
I had to install several libraries (I I remember correctly):
that produced conflict with the 64 bit version. I tried to download it via
sudo apt-get download libxft-dev:i386
and then with a double click it opened the deb packager program that installed it without checking anything else.
At this point the compilation was OK. I tested the program on a real 32 bit computer and it worked.