I followed this blog.
It worked well in Driveworks 0.6, but it does not work after updating to Driveworks 1.2
Error msg to Drive PX2: cannot execute binary file: Exec format error
Another case, I experimented without using Eclipse.
-> Cross compilation using cmake works well.
Of course, we’ve made the following changes:
sudo cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks/samples-original/cmake/Toolchain-V4L.cmake -DVIBRANTE_PDK:STRING=/drive-t186ref-linux …
sudo cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/usr/local/driveworks/samples-original/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/drive-t186ref-linux …
How do I get Driveworks 1.2 to work in Eclipse?