Recently, I'm trying to learn the NVidia Isaac which is built by Bazel.
While I was following the document here:
https://docs.nvidia.com/isaac/isaac/doc/getting_started.html#running-an-application
I encountered an error kept saying the cpp files Bazel need to build is "Permission denied".
The error message looks like below:
Use --sandbox_debug to see verbose messages from the sandbox
gcc: error: engine/alice/components/Subprocess.cpp: Permission denied
gcc: fatal error: no input files
compilation terminated.
ERROR: /home/acas/HDD/CatDog/Isaak/engine/alice/BUILD:23:1: Couldn't build file engine/alice/_objs/impl/ReplayBridge.o: C++ compilation of rule '//engine/alice:impl' faed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.pyD_DEFAULT_SOURCE -U_FORTIFY_SOURCE -fstack-protector -Wall -Werror -B/usr/bin -Wunused-but-set-parameter ... (remaining 183 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
gcc: error: engine/alice/components/ReplayBridge.cpp: Permission denied
gcc: fatal error: no input files
compilation terminated.
ERROR: /home/acas/HDD/CatDog/Isaak/engine/gems/image/BUILD:42:1: Couldn't build file engine/gems/image/_objs/cuda_conversions/yuv2rgb.cu.o: error while parsing .d file:root/.cache/bazel/_bazel_root/6ab44b9a455585caa8f9f5f55ddd002b/execroot/com_nvidia_isaac/bazel-out/k8-opt/bin/engine/gems/image/_objs/cuda_conversions/yuv2rgb.cu.d (No ch file or directory)
gcc: error: engine/gems/image/cuda/yuv2rgb.cu.cpp: Permission denied
gcc: warning: '-x c++' after last input file has no effect
gcc: fatal error: no input files
compilation terminated.
Target //apps/samples/stereo_dummy:stereo_dummy failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 6.627s, Critical Path: 0.62s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 0 processes.
FAILED: Build did NOT complete successfully
And so much the same "Permission denied" error.
I've tried root, sudo, but none of that works.
Is anyone has the same Bazel problem (I think this problem is not about NVidia Isaac but Bazel)?
Related
I am receiving the below error even after explicit call to directory
gcc -I /../../gem5/include/gem5 -o /home/user/benchmarks/my_app my_app.cc.
gcc: error: my_app.cc: No such file or directory
gcc: fatal error: no input files
compilation terminated.
the directory where m5op resides is in this #include "/path/to/gem5/include/gem5/m5op.h"
Hello, I'm trying to learn c++, having installed VStudio Code and MinGW, I was ready to get started but when I try to run the code it says this error:
g++: fatal error: cannot execute 'as': CreateProcess: No such file or directory
compilation terminated.
I tried searching for answers to this error but I so far no luck. What can I do to fix this error? what is causing this error?
You have to install MinGW's binutils before you use any compiler of GCC, try to find out it in the MinGW get program.
I have successfully installed vmmlib 1.7 using the following steps:
Downloaded the files from https://github.com/VMML/vmmlib/tree/1.7
and followed the steps below:
mkdir vmmlib/build
cd vmmlib/build
cmake ..
make
Now, I'm trying to run a program in the test folder "t3_hosvd_test.cpp" , but I'm not able to run it.
I tried to run the Makefile but got the following error:
svd_test.cpp:13:0:
../include/vmmlib/vmmlib.hpp:33:30: fatal error: vmmlib/version.hpp: No such file or directory
compilation terminated.
: recipe for target 'svd_test.o' failed
make: *** [svd_test.o] Error 1
I also tried to run by giving the following command in the terminal:
g++ t3_hosvd_test.cpp -lapack -lvmmlib
but got an error:
t3_hosvd_test.cpp:2:31: fatal error: vmmlib/t3_hosvd.hpp: No such file or directory
compilation terminated.
Can someone help me compile and run this program on Ubuntu 16.04?
When compiling directly, you need to provide the include path via the -I option.
g++ t3_hosvd_test.cpp -I/usr/local/vmmlib17/include -lapack -lvmmlib
Also ensure that your include path is set to vmmlib/include and not vmmlib/include/vmmlib
I am trying to install DTW package of R in DSX's R notebook.
when running install command:
install.packages("dtw")
gives following error:
"installation of package ‘dtw’ had non-zero exit status” warning.
Additional output from the installation attempt can be found in the log file for your R kernel. In the R notebook, execute
Sys.getenv("LOG_FILE")
to get the name of the log file. Then open a Python notebook and execute
!cat <name-of-the-log-file>
to see the contents of the log file.
After trying to install dtw, my log file showed:
gcc -std=gnu99 -shared -L/usr/local/lib64 -o dtw.so computeCM.o Launching java with spark-submit command /usr/local/src/spark20master/spark/bin/spark-submit sparkr-shell /gpfs/fs01/user/s10d-7f8820dde34dec-4cf890276e2b/notebook/tmp/RtmpofrZnw/backend_portd1c4793df5e
which looks like garbled log output from two processes writing to the same log file. But a bit further down, I find:
gcc: error: Launching: No such file or directory
gcc: error: java: No such file or directory
gcc: error: with: No such file or directory
gcc: error: spark-submit: No such file or directory
gcc: error: command: No such file or directory
gcc: error: sparkr-shell: No such file or directory
gcc: error: /gpfs/fs01/user/s10d-7f8820dde34dec-4cf890276e2b/notebook/tmp/Rtmpkh93V2/backend_porte8853270b27: No such file or directory
make: *** [dtw.so] Error 1
ERROR: compilation failed for package ‘dtw’
So the garbled line was actually executed. I'd say that the installation logic for the dtw package makes some assumptions about the environment which are not satisfied in DSX.
To dig further into the problem, you'll have to debug the dtw installer, or find somebody who can do that for you.
I have downloaded the bossa source code from - https://github.com/shumatech/BOSSA/tree/arduino
I installed Cygwin for windows and built the source code from the Cygwin shell by executing the following make command:
make OS=MINGW32_NT-6.1
I get the following error:
In file included from src/WinPortFactory.h:33:0,
from src/WinPortFactory.cpp:29:
src/PortFactory.h:59:2: error: #error "Platform is not supported"
#error "Platform is not supported"
^
Makefile:180: recipe for target 'obj/WinPortFactory.o' failed
make: *** [obj/WinPortFactory.o] Error 1
After inspecting the PortFactory.h file, I see a pre processor directive __WIN32__.
I have tried to include that in my build as follows and get no success:
make OS=MINGW32_NT-6.1 CPPFLAGS=-D__WIN32__
What am I missing? I have CFLAGS and CXXFLAGS as well and get no success.