[Gammaray-interest] 32bit on 64bit system
Peter Kümmel
syntheticpp at gmx.net
Wed Apr 23 11:22:57 CEST 2014
On 23.04.2014 11:19, Peter Kümmel wrote:
>>>> The final build error I get is:
>
> Ah, it's a build error. Have you used the cross-compiler? Plain g++ builds for x64.
>
Maybe it is enough to pass a compile flag to build for i686.
>>>>
>>>> /usr/local/Qt/5.2.1/lib/libQt5Core.so.5.2.1: could not read symbols:
>>>> File in wrong format
>>>
>>> Have you installed the packages to run 32bit apps on a 64bit machine?
>>>
>>> sudo apt-get install multiarch-support
>>
>> I'm on openSUSE Linux. There is 32 bit support by other packages out of
>> the box.
>> At least I'm building and running 32bit programs based on Qt all the time.
>>
>> Anyway, to solve the issue for me I might simply install 32bit Linux in
>> a virtual machine and build gammaray there.
>
> Yes, this would work.
>
>>
>> Thanks for your help.
>>
>> Regards
>> Heiko
>>
>>>
>>>>
>>>> So the 32bit Version of Qt is linked, everything else seems to be 64bit.
>>>>
>>>> What is the correct way to define such a build? Maybe I'm missing a
>>>> setting. What I do is downloading your gammaray2.0.2,
>>>> create a build subdir and there execute a bash script:
>>>>
>>>> export QTDIR=/usr/local/Qt/5.2.1
>>>> export QMAKESPEC=/usr/local/Qt/5.2.1/mkspecs/linux-g++-32
>>>> export PATH=/usr/local/Qt/5.2.1/bin:$PATH
>>>> cmake ..
>>>> make
>>>>
>>>>
>>>> Regards
>>>> Heiko
>>>>
>>>
>>> _______________________________________________
>>> Gammaray-interest mailing list
>>> Gammaray-interest at mail.kdab.com
>>> https://mail.kdab.com/mailman/listinfo/gammaray-interest
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Gammaray-interest mailing list
>> Gammaray-interest at mail.kdab.com
>> https://mail.kdab.com/mailman/listinfo/gammaray-interest
>>
>
> _______________________________________________
> Gammaray-interest mailing list
> Gammaray-interest at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/gammaray-interest
>
More information about the Gammaray-interest
mailing list