PureBasic 5.2 x86 on Ubuntu 12.04 x64

Linux specific forum
User avatar
Crusiatus Black
Enthusiast
Enthusiast
Posts: 389
Joined: Mon May 12, 2008 1:25 pm
Location: The Netherlands
Contact:

PureBasic 5.2 x86 on Ubuntu 12.04 x64

Post by Crusiatus Black »

Hi there folk!

I'm running Ubuntu Linux on my laptop, and I've been trying to get both the x64 and x86 builds of PureBasic 5.2 to work. The x64 build was no trouble at all, I installed the dependencies and everything worked just fine. x86, on the other hand, is causing me quite some trouble.

The IDE runs fine, no errors, no crashes. The linker however, is outputting a huge error regarding compatibility of architectures in libraries.

I've attached a screenshot of the error, considering I cannot copy the contents of this dialog to text.
Click here for the screenshot

Does anyone know how to fix this, so I can build x86 projects on Ubuntu 12.04 x64 as well?

Cheers!!
Image
Bas Groothedde,
Imagine Programming

I live in a philosophical paradoxal randome filled with enigma's!
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: PureBasic 5.2 x86 on Ubuntu 12.04 x64

Post by gerd »

Hi Crusiatus Black,

I had the same problem a while ago.
Trouble is, that the linker always uses the libs for 64bit. This is why the compiler complains so much.
The only and probably easiest solution I found is to set up a virtual machine with a 32bit Linux and compile the stuff there.

Have a nice day

gerd
User avatar
Crusiatus Black
Enthusiast
Enthusiast
Posts: 389
Joined: Mon May 12, 2008 1:25 pm
Location: The Netherlands
Contact:

Re: PureBasic 5.2 x86 on Ubuntu 12.04 x64

Post by Crusiatus Black »

Hi Gerd,

Thanks for the reply. That's too bad, I'll have to solve it that way then! Thanks for the tip.
Image
Bas Groothedde,
Imagine Programming

I live in a philosophical paradoxal randome filled with enigma's!
Post Reply