DRIVE PX Application Development Using Nsight Eclipse Edition


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?

Hi minkw,

please copy the samples folder to another location where you are able to build the samples without sudo.

Right now, I assume you do have a mismatch in your user and superuser environment.

Other than that your mentioned blog post has not been updated for DW 1.2 yet. Let’s dive into that after trying our the above mentioned.

  • Fabian