Re: [Zaurus-general] Development Environment Problems

Kent Sandvik <[email protected]> Tue, 20 Aug 2002 17:45:20 -0700
Newsgroups gmane.comp.handhelds.zaurus.devel
Message-ID <[email protected]>
Hi, seems you have a mixture of SDKs, did you start with the SDK 1.5.0 
that is available from www.trolltech.com. You really don't need the 
embedded SDK unless you are building HW from scratch, or building your 
own ROMs, or something similar.

Yes, both QPEDIR and QTDIR just now points at the same directory, but it 
could change in future, or in dev. environments they are separate.

You also need to build the Sharp Zaurus images with the ARM specific 
compiler/linker/library setup. See the SDK docs/qtopia/start.html file 
that has all the instructions how to get started.

--Kent


On Tuesday, August 20, 2002, at 03:34  PM, James Bernsen wrote:

> I've been having some problems with my development environment, and 
> after much googling and work, I still can't seem to figure things out. 
> According to the compiler setup howto on zauruszone.com 
> (http://www.zauruszone.farplanet.net/howtos/linux_compiler_setup_howto.shtml)
> , both the QPEDIR and QTDIR environment variables are supposed to point 
> to the Qtopia base directory.  However, when I setup my development 
> environment this way and try to compile the Qtopia example application, 
> I get several pages of errors 
> (http://www.bernsen.us/james/tmp/compile_errs.txt), the first of them 
> being that the compiler can't find a #included file 
> (qwsdefaultdecoration_qws.h) that is located under the qt-embedded 
> include directory.
>
> When I set my QTDIR to point to the qt-embedded base directory, the 
> example application compiles fine and runs great in the virtual 
> framebuffer.  Is this wrong?  Furthermore, when I set my environment to 
> cross-compile for the Zaurus (QTDIR still pointing to qt-embedded), the 
> example application compiles fine, but when transferred to the Zaurus 
> and run from the terminal, I get the following error:
>
> ./example: error while loading shared libraries: ./example: undefined 
> symbol: 
> new_metaobject__11QMetaObjectPCcT1P9QMetaDataiT3iP13QMetaPropertyiP9QMetaEnumiP10QClassInfoi
>
> Can anybody tell me what's wrong with my setup?  I've got Qt-Embedded: 
> 2.3.2 and Qtopia: 1.5.0, with gcc 2.95.3 and arm-linux-gcc 2.95.2.  The 
> LD_LIBRARY_PATH on the Zaurus is set to /home/QtPalmtop/lib.
>
> Thanks for your help,
> James Bernsen
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Zaurus-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zaurus-general



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390