Qt-embedded-interest Archive, May 2007
Cross compiling MESA-6.5.2 for ARM to work with Qtopia
Message 1 in thread
Hi,
We have an application which runs on ARM11 board.
We have cross compiled Qtopia,and other stuff.
In our application we want to use 3D display.
The options for this we can use Open GL or Mesa GL along with Qtopia.
But as Open GL requires Xserver so we wanted to use Mesa GL which runs on
frame buffer like Qtopia.
I could able to compile Mesa GL for on host side and run application.
But unfortunately Mesa Gl don't have any direct way of cross compiling it to
other plat forms.Can any one help me to cross compile MESA for ARM.
Thanks,
Regards,
Harsha
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 2 in thread
Hi duwchy,
Thanks for your reply.
I tryed the same way as you mentioned.
But it is giving some errors.
I am using qt-2.3.10 and qtopia-2.1.1.
First i am trying for Native-i386 compilation.Later i will try for
Cross compile for ARM11.
I have native and cross compiled versions of QtE and Qtopia.
I tryed for i386 and got the following error message.
After setting environment settings
I run qmake it is fine.
Then i run make it has given following errors.
./../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
given for parameter 8 of 'static bool
ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
const QColor&, const ZSurface*, int, int, int, int)'
../../src/Linux/zsurface/ZSurface.h:256: error: after previous
specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
int, int, int, int)'
../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
given for parameter 9 of 'static bool
ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
const QColor&, const ZSurface*, int, int, int, int)'
../../src/Linux/zsurface/ZSurface.h:256: error: after previous
specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
int, int, int, int)'
../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
given for parameter 10 of 'static bool
ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
const QColor&, const ZSurface*, int, int, int, int)'
../../src/Linux/zsurface/ZSurface.h:256: error: after previous
specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
int, int, int, int)'
../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
given for parameter 11 of 'static bool
ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
const QColor&, const ZSurface*, int, int, int, int)'
../../src/Linux/zsurface/ZSurface.h:256: error: after previous
specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
int, int, int, int)'
../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
given for parameter 7 of 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.h:227: error: after previous
specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
given for parameter 8 of 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.h:227: error: after previous
specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
given for parameter 9 of 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.h:227: error: after previous
specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
given for parameter 10 of 'static bool
ZSurface::bitBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
const ZSurface*, int, int, int, int)'
../../src/Linux/zsurface/ZSurface.h:227: error: after previous
specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
int)'
../../src/Linux/zsurface/ZSurface.cpp: In static member function
'static bool ZSurface::bitBlitBlend(int, ZSurface*, int, int, const
ZSurface*, int, int, int, int)':
../../src/Linux/zsurface/ZSurface.cpp:824: warning: unused variable 'res'
make: *** [.obj/ZSurface.o] Error 1
If you can help me to solve this issue it will be nice.
I even try to find in google but no result.
Thanks,
Regards
Harsha
On 5/12/07, duwchy <du_bluefish@xxxxxxxx> wrote:
>
>
> klimt-0.6.2-src is also for Linux with Qt-embedded or Qtopia. In the
> directory "klimt-0.6.2-src/kilmt/build/LinuxQTE", there is a Makefile to
> build libKlimt.so for your development. but before you build Klimt, you
> should, first, cross-compile Qt-embedded-3.2.3, to get libqte.so for Klimt
> building, you should also cross-compile Qtopia if necessary . second, use
> 'qmake'(in $QTEDIR/bin after you cross-compile QtE) to rebuild the Makefile
> with the 'LinuxQTE.pro' file in this directory, otherwise, you should get
> some errors while you build Klimt.
>
> if you still have some problems for building, i should certainly give more
> informations.
>
> Regards,
> duwchy
>
>
> ________________________________
>
> duwchy
> 2007-05-12
> ________________________________
>
> 发件人: harshavardhanreddy mandeepala
> 发送时间: 2007-05-09 13:40:26
> 收件人: duwchy
> 抄送:
> 主题: Re: Cross compiling MESA-6.5.2 for ARM to work with Qtopia
>
>
> Hi duwchy,
>
> Thanks for your information.
> I hope Klimt is only for windows platform.
> I am using Linux.
> I downloaded klimt-0.6.2-src .But unfortunately it is for
> windows.
> Is there any other version of Klimt which will work
> on Linux.
>
> Thanks,
>
> Regards
> Harsha
>
> On 5/8/07, duwchy <du_bluefish@xxxxxxxx > wrote:
> >
> >
> > you can use Klimt (R), it supports qtopia.
> > i have been using it now.
> >
> >
> > ________________________________
> >
> > duwchy
> > 2007-05-08
> > ________________________________
> >
> > 发件人: harshavardhanreddy mandeepala
> > 发送时间: 2007-05-08 12:28:32
> > 收件人: qtopia-interest
> > 抄送: qt-embedded-interest@xxxxxxxxxxxxx
> > 主题: Cross compiling MESA-6.5.2 for ARM to work with Qtopia
> >
> >
> > Hi,
> >
> > We have an application which runs on ARM11 board.
> > We have cross compiled Qtopia,and other stuff.
> > In our application we want to use 3D display.
> > The options for this we can use Open GL or Mesa GL
> > along with Qtopia.
> > But as Open GL requires Xserver so we wanted to
> > use Mesa GL which runs on
> > frame buffer like Qtopia.
> > I could able to compile Mesa GL for on host side and
> > run application.
> > But unfortunately Mesa Gl don't have any direct way
> > of cross compiling it to
> > other plat forms.Can any one help me to cross compile
> MESA
> > for ARM.
> >
> >
> > Thanks,
> >
> > Regards,
> > Harsha
> >
> > --
> > To unsubscribe - send "unsubscribe" in the subject to
> > qtopia-interest-request@xxxxxxxxxxxxx
> >
> >
N?叉??z千v殪够??{az??-??f???^?-????e电!r‰
Message 3 in thread
Hi ,
I solved this by removing default argument passing in *.cpp files.
But i am getting assember error messages as below.
./../src/Linux/zsurface/BitBlit.S: Assembler messages:
../../src/Linux/zsurface/BitBlit.S:48: Error: no such instruction:
`stmdb sp!,{r4 - r12,lr}'
../../src/Linux/zsurface/BitBlit.S:50: Error: no such instruction:
`ldr r3,=storage'
../../src/Linux/zsurface/BitBlit.S:51: Error: invalid char '['
beginning operand 2 `[r3]'
../../src/Linux/zsurface/BitBlit.S:53: Error: too many memory
references for `mov'
../../src/Linux/zsurface/BitBlit.S:54: Error: no such instruction:
`ldr r0,[r11]'
../../src/Linux/zsurface/BitBlit.S:55: Error: no such instruction:
`ldr r1,[r11,'
../../src/Linux/zsurface/BitBlit.S:57: Error: no such instruction:
`ldr r2,[r11,'
../../src/Linux/zsurface/BitBlit.S:58: Error: no such instruction:
`ldr r13,[r11,'
../../src/Linux/zsurface/BitBlit.S:59: Error: no such instruction:
`ldr r3,[r11,'
../../src/Linux/zsurface/BitBlit.S:60: Error: no such instruction:
`ldr lr,[r11,'
........................
I saw the file BitBlit.S file. but i am not sure what to do.
Any help will be appreciable.
Thanks,
Harsha
On 5/14/07, harshavardhanreddy mandeepala <hvreddy1110@xxxxxxxxx> wrote:
> Hi duwchy,
> Thanks for your reply.
> I tryed the same way as you mentioned.
> But it is giving some errors.
> I am using qt-2.3.10 and qtopia-2.1.1.
> First i am trying for Native-i386 compilation.Later i will try for
> Cross compile for ARM11.
> I have native and cross compiled versions of QtE and Qtopia.
> I tryed for i386 and got the following error message.
> After setting environment settings
> I run qmake it is fine.
> Then i run make it has given following errors.
>
>
> ./../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
> given for parameter 8 of 'static bool
> ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
> const QColor&, const ZSurface*, int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.h:256: error: after previous
> specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
> int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
> given for parameter 9 of 'static bool
> ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
> const QColor&, const ZSurface*, int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.h:256: error: after previous
> specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
> int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
> given for parameter 10 of 'static bool
> ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
> const QColor&, const ZSurface*, int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.h:256: error: after previous
> specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
> int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.cpp:609: error: default argument
> given for parameter 11 of 'static bool
> ZSurface::fillBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
> const QColor&, const ZSurface*, int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.h:256: error: after previous
> specification in 'static bool ZSurface::fillBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const QColor&, const ZSurface*,
> int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
> given for parameter 7 of 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.h:227: error: after previous
> specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
> given for parameter 8 of 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.h:227: error: after previous
> specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
> given for parameter 9 of 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.h:227: error: after previous
> specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.cpp:714: error: default argument
> given for parameter 10 of 'static bool
> ZSurface::bitBlitKeyedBlend(int, ZSurface*, int, int, const QColor&,
> const ZSurface*, int, int, int, int)'
> ../../src/Linux/zsurface/ZSurface.h:227: error: after previous
> specification in 'static bool ZSurface::bitBlitKeyedBlend(int,
> ZSurface*, int, int, const QColor&, const ZSurface*, int, int, int,
> int)'
> ../../src/Linux/zsurface/ZSurface.cpp: In static member function
> 'static bool ZSurface::bitBlitBlend(int, ZSurface*, int, int, const
> ZSurface*, int, int, int, int)':
> ../../src/Linux/zsurface/ZSurface.cpp:824: warning: unused variable 'res'
> make: *** [.obj/ZSurface.o] Error 1
>
>
> If you can help me to solve this issue it will be nice.
> I even try to find in google but no result.
>
> Thanks,
>
> Regards
> Harsha
>
>
>
>
>
>
>
>
>
>
>
>
> On 5/12/07, duwchy <du_bluefish@xxxxxxxx> wrote:
> >
> >
> > klimt-0.6.2-src is also for Linux with Qt-embedded or Qtopia. In the
> > directory "klimt-0.6.2-src/kilmt/build/LinuxQTE", there is a Makefile to
> > build libKlimt.so for your development. but before you build Klimt, you
> > should, first, cross-compile Qt-embedded-3.2.3, to get libqte.so for Klimt
> > building, you should also cross-compile Qtopia if necessary . second, use
> > 'qmake'(in $QTEDIR/bin after you cross-compile QtE) to rebuild the Makefile
> > with the 'LinuxQTE.pro' file in this directory, otherwise, you should get
> > some errors while you build Klimt.
> >
> > if you still have some problems for building, i should certainly give more
> > informations.
> >
> > Regards,
> > duwchy
> >
> >
> > ________________________________
> >
> > duwchy
> > 2007-05-12
> > ________________________________
> >
> > 发件人: harshavardhanreddy mandeepala
> > 发送时间: 2007-05-09 13:40:26
> > 收件人: duwchy
> > 抄送:
> > 主题: Re: Cross compiling MESA-6.5.2 for ARM to work with Qtopia
> >
> >
> > Hi duwchy,
> >
> > Thanks for your information.
> > I hope Klimt is only for windows platform.
> > I am using Linux.
> > I downloaded klimt-0.6.2-src .But unfortunately it is for
> > windows.
> > Is there any other version of Klimt which will work
> > on Linux.
> >
> > Thanks,
> >
> > Regards
> > Harsha
> >
> > On 5/8/07, duwchy <du_bluefish@xxxxxxxx > wrote:
> > >
> > >
> > > you can use Klimt (R), it supports qtopia.
> > > i have been using it now.
> > >
> > >
> > > ________________________________
> > >
> > > duwchy
> > > 2007-05-08
> > > ________________________________
> > >
> > > 发件人: harshavardhanreddy mandeepala
> > > 发送时间: 2007-05-08 12:28:32
> > > 收件人: qtopia-interest
> > > 抄送: qt-embedded-interest@xxxxxxxxxxxxx
> > > 主题: Cross compiling MESA-6.5.2 for ARM to work with Qtopia
> > >
> > >
> > > Hi,
> > >
> > > We have an application which runs on ARM11 board.
> > > We have cross compiled Qtopia,and other stuff.
> > > In our application we want to use 3D display.
> > > The options for this we can use Open GL or Mesa GL
> > > along with Qtopia.
> > > But as Open GL requires Xserver so we wanted to
> > > use Mesa GL which runs on
> > > frame buffer like Qtopia.
> > > I could able to compile Mesa GL for on host side and
> > > run application.
> > > But unfortunately Mesa Gl don't have any direct way
> > > of cross compiling it to
> > > other plat forms.Can any one help me to cross compile
> > MESA
> > > for ARM.
> > >
> > >
> > > Thanks,
> > >
> > > Regards,
> > > Harsha
> > >
> > > --
> > > To unsubscribe - send "unsubscribe" in the subject to
> > > qtopia-interest-request@xxxxxxxxxxxxx
> > >
> > >
>