Add opencv libraries in CMakeLists.txt under the driveworks sdk samples folder.
Cross compile the samples with the following cmake command
cmake -DCMAKE_BUILD_TYPE=Release
-DCMAKE_TOOLCHAIN_FILE=/path/to/driveworks/samples/cmake/Toolchain-V5Q.cmake
-DVIBRANTE_PDK:STRING=/path/to/drive-t186ref-qnx
/path/to/driveworks/samples/folder …
I got the following errors at the 3rd step.
/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/toolchains/tegra-4.9-nv/usr/bin/aarch64-gnu-linux/…/…/libexec/aarch64-gnu-linux/gcc/aarch64-gnu-linux/4.9.4/ld: /opencv/build/lib/libopencv_core.a(stl.cpp.o): Relocations in generic ELF (EM: 62)
Can anyone help me on these problems? Thank you!!!
Thank you for your update.
One more question, according to the log, it looks like you are trying to compile with the QNX Tool chain and QNX OS. Is that right?
Can you tell me what kind of features you have on OpenCV?
Because there are source codes in DriveWorks that can implement many various functions.
I’d like to know if there’s anything missing in what you’re trying to implement. Thanks.