I cross compiled according to doc “dwx_samples_building.html#cross-compilation”, with following script
But I get the following error.
cd build ("/usr/local/driveworks/sample/build")
sudo cmake -DCMAKE_BUILD_TYPE=Release
CMake Error at cmake/Samples3rdparty.cmake:9 (find_package):
Could not find a package configuration file provided by “glfw3” with any of
the following names:
Add the installation prefix of “glfw3” to CMAKE_PREFIX_PATH or set
“glfw3_DIR” to a directory containing one of the above files. If “glfw3”
provides a separate development package or SDK, be sure it has been
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!
If I try to cross compile driveworks sample code in “samples” folder with above script, I can compile
but when I try to run the output binary on drive px2 target, I get error like “Format Error”.
So I think this might be cross compilation error due to settings.