WindowGLFW error when run ./sample_lane_detection on Linux host

Hi dear nvidia support,

I downloaded sdkmanager and installed SDK 5.0.10.3, when I run ./sample_lane_detection, i got the error:
WindowGLFW: failed create window
terminate called after throwing an instance of ‘std::exception’
what(): std::exception
Aborted (core dumped)

I used ldd to check lib dependencies there were no missings. Could you support how to fix this problem?

Dear peixi.gong,

Did you run the sample on your hostPC or DrivePX2?
If you run the sample on your hostPC, it doesn’t work well because the sample is pre-building for DrivePX2.
If you want to run the sample on your hostPC you should compile the sample for HostPC.
Could you please refer to Host Compilation in https://developer.nvidia.com/drive/learn? Thanks.