Qt4 with Yocto and OpenCV

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qt4 with Yocto and OpenCV

1,144 Views
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:

Tags (4)
0 Kudos
1 Reply

577 Views
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 Kudos