Skip to content

Commit

Permalink
Merge pull request #109 from DeepBlueRobotics/fix-launch.json-to-work…
Browse files Browse the repository at this point in the history
…-on-linux

Add Webots lib dirs to LD_LIBRARY_PATH .
  • Loading branch information
brettle committed Jul 13, 2024
2 parents c7a6d0b + eedf386 commit 6c3df17
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"mainClass": "DeepBlueSim",
"projectName": "controller",
"preLaunchTask": "Build Controller",
"linux": {
"env": {
"LD_LIBRARY_PATH": "${env:WEBOTS_HOME}/lib/controller/java:${env:WEBOTS_HOME}/lib/controller:${env:LD_LIBRARY_PATH}"
},
},
"cwd": "${workspaceFolder}/example/Webots/controllers/DeepBlueSim"
},
{
Expand All @@ -20,6 +25,11 @@
"mainClass": "DeepBlueSim",
"projectName": "controller",
"preLaunchTask": "Build Controller",
"linux": {
"env": {
"LD_LIBRARY_PATH": "${env:WEBOTS_HOME}/lib/controller/java:${env:WEBOTS_HOME}/lib/controller:${env:LD_LIBRARY_PATH}"
},
},
"args": "--no-robot-code",
"cwd": "${workspaceFolder}/example/Webots/controllers/DeepBlueSim"
}
Expand Down

0 comments on commit 6c3df17

Please sign in to comment.