Qt4 with Yocto and OpenCV

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Qt4 with Yocto and OpenCV

1,371件の閲覧回数
VilemZ
NXP Employee
NXP Employee

I'm making a project with OpenCv. I have a toolchain for building in Qt Creator. But when I want use a OpenCV libraries I get error:

/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/libgtk-x11-2.0.so.0:

error: undefined reference to `g_type_class_adjust_private_offset'

I think, that some library missing. But which?

Any ideas?

Thank you everybody :smileyhappy:

タグ(4)
0 件の賞賛
返信
1 返信

804件の閲覧回数
VilemZ
NXP Employee
NXP Employee

I solve this error. I must edit file QtCreator/bin/qtcreator.sh and add to first line this code:

source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi

#! /bin/sh

.....

And the source must be correct!

0 件の賞賛
返信