I am trying to run my cross-compiled driveworks samples (version 0.3) remotely through Nsight Eclipse on the host (Ubuntu 14.04). I created a run-configuration of type “C/C++ Remote Application” and configured a SSH connection to the target (Drive PX2 AutoChauffeur), set the remote toolkit, selected “Upload local executable”. But as soon as I press “Run”, a dialog shows me the following error:
Problem Occurred
‘Launching sample_camera_gmsl’ has encountered a problem.
An internal error occurred during: “Launching sample_camera_gmsl”.
java.lang.NullPointerException
The eclipse-logfile in /.metadata/.log shows this:
!ENTRY org.eclipse.core.jobs 4 2 2017-12-14 14:00:54.258
!MESSAGE An internal error occurred during: “Launching sample_camera_gmsl”.
!STACK 0
java.lang.NullPointerException
at com.nvidia.cuda.ide.remote.internal.connection.RSERemoteConnection.isSameFile(RSERemoteConnection.java:797)
at com.nvidia.cuda.ide.remote.ui.launch.RemoteLaunchHelper.uploadExecutable(RemoteLaunchHelper.java:147)
at com.nvidia.cuda.ide.remote.internal.launch.RunCudaGdbServerDelegate.launchHelper(RunCudaGdbServerDelegate.java:280)
at com.nvidia.cuda.ide.remote.internal.launch.RunCudaGdbServerDelegate.launch(RunCudaGdbServerDelegate.java:246)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
This was working before with Driveworks 0.2 but after upgrading everything using DriveInstall 4.1.8 it doesn’t work anymore.
My eclipse-project was created using the following CMake command and then imported as existing project into Nsight. Cross-compilation works and I can run the compiled samples on the target when manually uploading them using scp, which is too inconvenient for development.
cmake -DCMAKE_BUILD_TYPE=Release
-DVIBRANTE_PDK:STRING=
-DCMAKE_TOOLCHAIN_FILE=/cmake/Toolchain-V4L.cmake
-G “Eclipse CDT4 - Unix Makefiles”
-DCUDA_TOOLKIT_ROOT_DIR=
I would be really happy if someone could provide me instructions how to run the programs remotely.
Furthermore, I want to debug remotely, which should be possible according to NVIDIA’s hands-on tutorial, but did not work for me.
Cross-compilation works fine, I just could not run the compiled programs on the target via ssh from the host’s NSight Eclipse.
This seems to be a bug in the NSight installation that comes with DriveInstall 4.1.8! If I use the older NSight version installed by DriveInstall 4.1.4, it works like a charm.
I am trying to run my cross-compiled driveworks samples (version 0.3) remotely through Nsight Eclipse on the host (Ubuntu 14.04). I created a run-configuration of type “C/C++ Remote Application” and configured a SSH connection to the target (Drive PX2 AutoChauffeur), set the remote toolkit, selected “Upload local executable”. But as soon as I press “Run”, a dialog shows me the following error:
Problem Occurred
‘Launching sample_camera_gmsl’ has encountered a problem.
An internal error occurred during: “Launching sample_camera_gmsl”.
java.lang.NullPointerException
The eclipse-logfile in /.metadata/.log shows this:
!ENTRY org.eclipse.core.jobs 4 2 2017-12-14 14:00:54.258
!MESSAGE An internal error occurred during: “Launching sample_camera_gmsl”.
!STACK 0
java.lang.NullPointerException
at com.nvidia.cuda.ide.remote.internal.connection.RSERemoteConnection.isSameFile(RSERemoteConnection.java:797)
at com.nvidia.cuda.ide.remote.ui.launch.RemoteLaunchHelper.uploadExecutable(RemoteLaunchHelper.java:147)
at com.nvidia.cuda.ide.remote.internal.launch.RunCudaGdbServerDelegate.launchHelper(RunCudaGdbServerDelegate.java:280)
at com.nvidia.cuda.ide.remote.internal.launch.RunCudaGdbServerDelegate.launch(RunCudaGdbServerDelegate.java:246)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
This was working before with Driveworks 0.2 but after upgrading everything using DriveInstall 4.1.8 it doesn’t work anymore.
My eclipse-project was created using the following CMake command and then imported as existing project into Nsight. Cross-compilation works and I can run the compiled samples on the target when manually uploading them using scp, which is too inconvenient for development.
cmake -DCMAKE_BUILD_TYPE=Release
-DVIBRANTE_PDK:STRING=
-DCMAKE_TOOLCHAIN_FILE=/cmake/Toolchain-V4L.cmake
-G “Eclipse CDT4 - Unix Makefiles”
-DCUDA_TOOLKIT_ROOT_DIR=
I would be really happy if someone could provide me instructions how to run the programs remotely.
Furthermore, I want to debug remotely, which should be possible according to NVIDIA’s hands-on tutorial, but did not work for me.
Thanks,
Nico [/i]
It’s the same issue Nico had. I’m stuck at the very same point which I mentioned before.
I am trying to run my cross-compiled driveworks samples (version 0.3) remotely through Nsight Eclipse on the host (Ubuntu 14.04). I created a run-configuration of type “C/C++ Remote Application” and configured a SSH connection to the target (Drive PX2 AutoChauffeur), set the remote toolkit, selected “Upload local executable”. But as soon as I press “Run”, a dialog shows me the following error:
Problem Occurred
‘Launching sample_camera_gmsl’ has encountered a problem.
An internal error occurred during: “Launching sample_camera_gmsl”.
java.lang.NullPointerException TorrentTurboTaxGogoanime