Run the opencv in S32DS

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

Run the opencv in S32DS

2,555件の閲覧回数
karl_jiang
Contributor II

Hi

I build a S32DS (for windows version) project for S32V234 to run the opencv’s code . After compilation it generated elf which was the target file run in EVB2 . But it reminded the following errors during the executed the project.

OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /home/b45336/git/vsdk/opencv_src/modules/highgui/src/window.cpp, line 545

terminate called after throwing an instance of 'cv::Exception'

  what():  /home/b45336/git/vsdk/opencv_src/modules/highgui/src/window.cpp:545: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage.

Was the environment wrong or other problem?

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

2,160件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

You can try rebuild the ocv with GTK support. See build.sh for your target - for example 

c:\NXP\VisionSDK_S32V2xx_RTM_1_1_1\s32v234_sdk\3rdparty\ocv\cmake-deskx86-gnu-linux\

pastedImage_1.png

Jiri

0 件の賞賛
返信

2,160件の閲覧回数
karl_jiang
Contributor II

oh,thank you .I will try it .

0 件の賞賛
返信

2,160件の閲覧回数
changer15309
Contributor I

I am facing the same issue on a imx8mqevk with fsl-image-qt5-validation-imx,could u kindly give any hints?

0 件の賞賛
返信

2,160件の閲覧回数
karl_jiang
Contributor II

imx8mqevk?  But I just run the opencv in S32DS in my compute. And run the opencv just for simulation . There were many errors  during run the opencv in S32V234. 

0 件の賞賛
返信