Qt4 with Yocto and OpenCV

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Qt4 with Yocto and OpenCV

1,816 次查看
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 回复

1,249 次查看
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 项奖励
回复