LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 02-18-2008, 07:27 AM   #1
raman_31181
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Rep: Reputation: 0
crosscompiling issues with qtopia for ARM9


Hello,
I have qtopia-core-opensource-src-4.3.3 installed on my development host(PC).I intend to compile code on the PC and run the same on an ARM9 board (ts7300)which has qt-embedded-free-3.3.4 installed.I have a sample program:
#include <QApplication>
#include <QPushButton>

int main(int argc, char *argv[])
{
QApplication app(argc, argv);

QPushButton hello("Hello world!");
hello.resize(100, 30);

hello.show();
return app.exec();
}
When I compile the above program on the PC it compiles well but when I try to execute on the board I get the following error
./main: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directy
What could be the problem?Do I need to install something else on the board?

thanks,
ramandeep
 
Old 02-20-2008, 05:42 PM   #2
rojak
LQ Newbie
 
Registered: May 2006
Location: Singapore
Distribution: Ubuntu 9.10
Posts: 16

Rep: Reputation: 0
In my Qtopia manual there is no mentioning of qt-embedded-free. How did you get it and install it?
Also the numbering 3.3.4 looks to me like a old version, replaced by Qtopia 4.3.3 or something.

In my case (ARM9 as well) I did copy the cross-compiled QtCore and QtGui libraries to target, as well my uClibc libraries but ran out of RAM after unzipping. Have yet to find a workaround for this.

If you have more RAM on your target system then you should be able to install all the libraries mentioned.
I am interested to hear about your result.
 
Old 02-21-2008, 05:20 AM   #3
raman_31181
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by rojak View Post
In my Qtopia manual there is no mentioning of qt-embedded-free. How did you get it and install it?
Also the numbering 3.3.4 looks to me like a old version, replaced by Qtopia 4.3.3 or something.

In my case (ARM9 as well) I did copy the cross-compiled QtCore and QtGui libraries to target, as well my uClibc libraries but ran out of RAM after unzipping. Have yet to find a workaround for this.

If you have more RAM on your target system then you should be able to install all the libraries mentioned.
I am interested to hear about your result.
Hi Rojak,
Pleased to hear from you.Well I am using TS7300 here which we purchased from Technologic Systems.These guys provided me the qt-embedded-free ... file but that file is a reduced version of Qt and is not of much use to me right now as I have linked my executable in Qt4.3.3.I n any case I am trying to install Qt4.3.3 on the board.Yeah you are right t3.3.2 is older version of Qt4.3.3 and somehow they are not compatible...probably this explains my frustration right now.
Qt 4.3.3 open source tar file is a 50 MB file.I am not able to transfer on to the board.Can you please suggest some other method to install it on the board(or some other source which you have used)?I have 8MB on chip flash,512 MB SDcard and 32 MB SDRAM(expansible through PCMCIA slot).

thanks and best regards,
Ramandeep
 
Old 09-02-2008, 09:21 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Welcome to Linux Questions.

Assuming you have the cross tools to compile
for "arm" you can compile the libs for the
arm - board.
'libQtGui.so.4' is about 7 MB,
for a standard Qt4, could be a problem !

May be the Qutopia lib is smaller ?

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosscompiling C sources for an OS-less ARM microcontroller - is it possible? winterhunter Programming 2 03-26-2007 11:30 AM
crosscompiling grub tilman1 Linux - Software 0 03-11-2007 11:32 AM
Arm9 phunglan Linux - Laptop and Netbook 1 12-05-2006 09:43 PM
LXer: Trolltech Expands Qtopia Embedded Technology Products with Qtopia Core LXer Syndicated Linux News 0 01-17-2006 11:46 PM
crosscompiling gcc error Alotau Linux - Software 4 06-22-2005 04:39 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration