Nov 8 2004, 01:21 PM
Post
#1
|
|
|
Group: Members Posts: 125 Joined: 5-October 04 Member No.: 4,882 |
My goal is to get the qtopia sdk going so I can start playing with code.
I'm on redhat 9. I've followed the HOWTO to the letter, but when I get to the point where I try to compile the example... [root@localhost root]# source dev-x86-qpe.sh Altered environment for Sharp Zaurus Development x86 [root@localhost root]# cd example/ [root@localhost example]# tmake -o Makefile example.pro [root@localhost example]# make gcc -o example main.o example.o examplebase.o moc_example.o moc_examplebase.o -L/opt/Qtopia/lib -lqpe -lqte main.o(.text+0x1d): In function `main': : undefined reference to `QPEApplication::QPEApplication[in-charge](int&, char**, QApplication::Type)' main.o(.text+0x3e): In function `main': : undefined reference to `QPEApplication::showMainWidget(QWidget*, bool)' main.o(.text+0x46): In function `main': : undefined reference to `QPEApplication::exec()' main.o(.text+0x59): In function `main': : undefined reference to `QPEApplication::~QPEApplication [in-charge]()' ... etcetera etcetera Any ideas? -Daniel howto link: http://zaurususergroup.com/modules.php?op=...ompiler%20Setup |
|
|
|
![]() |
Nov 9 2004, 12:45 PM
Post
#2
|
|
|
Group: Members Posts: 125 Joined: 5-October 04 Member No.: 4,882 |
Just a followup. I have gotten the example application to compile and run on my C860 after spending most of the day banging my head against my desk.
If anyone needs a hand, I'll try and help. The gist of it was, use the dev-x86-qpe.sh and dev-arm-qpe.sh files from the HOWTO, but use the qtopia 1.7 sdk. Since I improperly removed 1.5 before installing 1.7, I got all kinds of BS, until I got rid of them both completely and forced a reinstall of the 1.7 rpm. Then, although I could compile for x86, compiling for arm gave me all kinds of reference undefined errors. I had to add libs in the tmake.conf (thankfully I found a post in google cache that lead me to it), and then finally it compiled for arm, but wouldn't run on the C860. I had to remove -lqtopia from the tmake.conf. Now I'm flying high, with the equivalent of hello world running on my z! Good luck. -Daniel |
|
|
|
obscurite qtopia sdk problem Nov 8 2004, 01:21 PM
obscurite Hey guys, thanks for no replies
Anyways, I got t... Nov 9 2004, 09:08 AM
zenyatta Hey, thanks for the legwork! I wish this was u... Nov 9 2004, 01:18 PM
tumnus It's always more fun working it out yourself ... Nov 9 2004, 02:06 PM
vanstrien If you write an app under qtopia 1.7 and then try ... Nov 9 2004, 03:52 PM
Mickeyl No problems. You need to ship libqtopia1 though, w... Nov 9 2004, 03:54 PM
obscurite zenyatta, tumnus, and the rest, thanks for the sup... Nov 9 2004, 07:11 PM
Mickeyl libqpe is not really the "older" libqtop... Nov 10 2004, 01:44 AM
obscurite That would explain why I had to remove libqtopia ... Nov 10 2004, 08:41 AM
lpotter The 1.7 sdk can be used to create apps for Sharp r... Nov 10 2004, 11:10 AM
zAlexandr QUOTE(lpotter @ Nov 10 2004, 09:10 PM)The 1.7... Dec 15 2005, 02:56 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 17th June 2013 - 09:59 PM |