Thread: Opencv on N900
View Single Post
Posts: 6 | Thanked: 8 times | Joined on Sep 2011
#1
Hi all.
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.
 

The Following 2 Users Say Thank You to avieli For This Useful Post: