Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCV Cross Compilation for NI Linux RT

Solved!
Go to solution

I would like to use OpenCV to develop an application using the C & C++ Development Tools for NI Linux Real-Time (Eclipse), I am using Windows OS trying to cross-compile for a NI Linux RT.
But after days of trying to solve one problem, I decided to ask for help. I am following the tutorial shown on figure "Tutorial Screen" but the NI compilers x86_64-nilrt-linux-gcc.exe and x86_64-nilrt-linux-g++.exe does not seem to work to compile OpenCV for a NI Real-Time System. I also tried to use the pre-build OpenCV binaries from NI Vision OpenCV Utilities (located on C:\Program Files (x86)\National Instruments\NIVision OpenCV Utilities\opencv\include\linux\opencv2) but although the C & C++ Development Tools for NI Linux Real-Time (Eclipse) found the libraries, it could not recognize a simple "Mat" object from OpenCV (I am also sending a print screen of this project).
I would really appreciate any help.

Best Regards,
Saulo.

Download All
Message 1 of 3
(1,933 Views)
Solution
Accepted by topic author SauloBarreto

Hey buddy,

just saw your post, you're doing an amazing job over there! I have understood your problem and found a link that I believe will definitely help you solve the issue: 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHR7CAO&l=en-US

Check it out and let me know what happens with you!

 

Message 2 of 3
(1,840 Views)

Dear Harvey, 

 

Thanks to your reply, I overcame that step!

0 Kudos
Message 3 of 3
(1,750 Views)