Open RoboticsIntelligence opened 3 years ago
Hi, thanks for reaching out.
I am currently not sure what exactly is happening there. Could you provide all the versions you are using for the build.
Furthermore there appears to be a similar Issue on the nvidia forums: https://forums.developer.nvidia.com/t/error-on-build-example/167914 Maybe their suggestions help?
Hi! it seems indeed (as far as we can judge at this moment) it is the same error @puck-fzi pointed to.
I would suggest that you try to modify the 'WORKSPACE' file in the root folder of this git-repository and change line 32 to the path of the ISAAC SDK that you are using, with the subtle change (since version 2020.2) of adding ./sdk, so in total:
<path_to_nvidias_sdk>/sdk
Let us know if this worked out for you
Thank you for your help and time specially given it is an old project.
@puck-fzi Here is what I have:
$ bazel --version bazel 3.1.0 $ whereis bazel bazel: /usr/local/bin/bazel /usr/local/lib/bazel
Isaac SDK - 2021.1 location: /home/user/isaac-sdk
@uahic I have tried those suggestions mentioned here --> https://forums.developer.nvidia.com/t/error-on-build-example/167914 but it did not work as it did not work for them. Last update was three months ago reporting the same issue.
I have been using the Isaac SDK 2021.1 since it came out and it is working okay with their examples.
Again, your help/comments/suggestions highly appreciated.
@puck-fzi @uahic FYI: New update on the issue from Nvidia folks: https://forums.developer.nvidia.com/t/error-on-build-example/167914/7
Thanks for providing us with your system setup.
Did you try the approach from the NVIDIA Forums? If yes, did this help or resolve some of the issues?
We will have a look into it as well, it might take some time though until we can provide a solution
@RoboticsIntelligence I adjusted all our Bazel files according to Isaac 2021.1
Currently I am able to compile the main app but not websight (missing shared object files for websight), not sure where the issue there resides at the moment, I need to check more in detail. Beyond compiling the main app I am currently not able to test the migrated code on a real sensor as I need to request it first and it might take a while (home office)
Step 1: Adjust the WORKSPACE file again in the main folder, you need to change 2 paths in line 32 and 37, respectively.
Step 2: Run bazel run //packages/sick/apps:sick_safetyscanner_test
with your SICK sensor attached
Step 3: Let us know if that works for you
Please check out the following new branch and let us know if the sensor app runs correctly https://github.com/SICKAG/sick_safetyscanners_isaac/tree/migration_2021_1
@uahic
Sorry for the late reply.
Good news is that I am able to build the package.
I will report back after test run on the live Sick NanoScan3.
Thank you for your help.
@uahic
I was able to successfully run on the live Sick NanoScan3 the _bazel run //packages/sick/apps:sick_safetyscannertest command.
But received the following errors when ran the _bazel run //packages/sick/apps:sick_safetyscannerwebsight
x@alien:~/sick_safetyscanners_isaac$ bazel run //packages/sick/apps:sick_safetyscanner_websight INFO: Analyzed target //packages/sick/apps:sick_safetyscanner_websight (0 packages loaded, 0 targets configured). INFO: Found 1 target... Target //packages/sick/apps:sick_safetyscanner_websight up-to-date: bazel-bin/packages/sick/apps/run_sick_safetyscanner_websight bazel-bin/packages/sick/apps/sick_safetyscanner_websight INFO: Elapsed time: 0.197s, Critical Path: 0.01s INFO: 0 processes. INFO: Build completed successfully, 1 total action INFO: Running command line: bazel-bin/packages/sick/apps/sick_safetyscanner_websINFO: Build completed successfully, 1 total action 2021-08-04 11:25:26.046 WARN external/com_nvidia_isaac_engine/engine/alice/backend/application_json_loader.cpp@183: This application does not have an explicit scheduler configuration. One will be autogenerated to the best of the system's abilities if possible. 2021-08-04 11:25:26.046 INFO external/com_nvidia_isaac_engine/engine/alice/backend/redis_backend.cpp@40: Successfully connected to Redis server.
==================================================================================================== Minidump written to: /tmp/5710ac94-81c6-4b66-4b482fac-576655d9.dmp Aborted
Thank you for your help.
@RoboticsIntelligence It seems that the shared object for the web-sight module is incorrectly referenced (likely my mistake)
/sick/apps/sick_safetyscanner_websight.runfiles/sick_safetyscanners//external/com_nvidia_isaac/packages/sight/libsight_module.so: cannot open shared object file: No such file or directory
I will come back at you and take a look into this issue
@RoboticsIntelligence It seems that the shared object for the web-sight module is incorrectly referenced (likely my mistake)
/sick/apps/sick_safetyscanner_websight.runfiles/sick_safetyscanners//external/com_nvidia_isaac/packages/sight/libsight_module.so: cannot open shared object file: No such file or directory
I will come back at you and take a look into this issue
@uahic Did you find the time to get the issue resolve?
New with the Isaac and bazel.
Following the direction, after changing the path to "/home/user/isaac-sdk" and to ran the "bazel build" command from the package as instructed, I got the following error:
-----------Error WARNING: Usage: bazel build .
Invoke
bazel help build
for full description of usage and options. Your request is correct, but requested an empty set of targets. Nothing will be built. ERROR: no such package '@com_nvidia_isaac//third_party': No WORKSPACE file found in /home/user/.cache/bazel/_bazel_x/df27c2fbab5c087887dcfca680e7380b/external/com_nvidia_isaac INFO: Elapsed time: 0.059s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded)Any help would be appreciated.
Thanks.