|
|
2011-09-29
, 17:03
|
|
Posts: 7 |
Thanked: 2 times |
Joined on Sep 2011
|
#2
|
|
|
2011-09-29
, 17:24
|
|
Posts: 2,802 |
Thanked: 4,490 times |
Joined on Nov 2007
|
#3
|
I cant seem to link the opencv libs. The compiler complains:
/arm-none-linux-gnueabi/bin/ld: cannot find -lcv
Should I build the opencv with the proper configuration for arm?
If so, where (and what) should I place the build results?
| The Following User Says Thank You to lma For This Useful Post: | ||
|
|
2011-10-01
, 19:04
|
|
Posts: 6 |
Thanked: 8 times |
Joined on Sep 2011
|
#4
|
No need, someone else has packaged it and you can just install it from the extras-testing repository.
| The Following User Says Thank You to avieli For This Useful Post: | ||
|
|
2011-10-01
, 19:12
|
|
Posts: 6 |
Thanked: 8 times |
Joined on Sep 2011
|
#5
|
Hey avieli,
I'm sorry that I can't help you, but I have noticed that you are using Ubuntu 11.04. Does this means that you have managed to install the scratchbox Maemo 5 SDK on 11.04?
I'm still trying to figure out how to get the SDK installed on my linux box.
| The Following User Says Thank You to avieli For This Useful Post: | ||
|
|
2011-10-01
, 20:09
|
|
Posts: 2,802 |
Thanked: 4,490 times |
Joined on Nov 2007
|
#6
|
| The Following User Says Thank You to lma For This Useful Post: | ||
|
|
2011-10-01
, 20:25
|
|
Posts: 6 |
Thanked: 8 times |
Joined on Sep 2011
|
#7
|
You'll need to install the opencv packages (including libcv-dev) in your scratchbox environment as well.
| The Following User Says Thank You to avieli For This Useful Post: | ||
|
|
2011-10-06
, 06:42
|
|
Posts: 6 |
Thanked: 8 times |
Joined on Sep 2011
|
#9
|
![]() |
| Tags |
| maemo 5, opencv |
| Thread Tools | |
|
I'm trying to port one of my school project onto the N900.
The project uses opencv libs. Right now, I'm trying to get everything together. This means I use:
OS: Ubuntu 11.04
IDE: QtCreator 2.0.1with qt 4.7.0
Needless to say, the connection of the N900 device with QtCreator is working fine.
In addition, I'm able to compile and run a test application (with opencv use) onto the simulator target in QtCreator. Problems arises when I try to build the opencv based application to the MAEMO target (the physical device).
I cant seem to link the opencv libs. The compiler complains:
/arm-none-linux-gnueabi/bin/ld: cannot find -lcv
Should I build the opencv with the proper configuration for arm?
If so, where (and what) should I place the build results?
Its been two weeks now of forums picking and articles reading. all in vain. I cant seem to get passed this.
This is my .pro file:
QT += core gui
TARGET = TestMaemo
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
CONFIG += mobility
MOBILITY =
symbian {
TARGET.UID3 = 0xed764a64
# TARGET.CAPABILITY +=
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}
LIBS += -lpthread -ljpeg -lpulse-simple
LIBS += -lcv -lhighgui
Any help would be appreciated.