Skip to content

"No such file or directory" when input make -j for local installation  #11

@FANG-Zhiwei

Description

@FANG-Zhiwei

Hi, I'm doing the local installation on my linux
Linux ren7 5.15.0-113-generic #123~20.04.1-Ubuntu SMP Wed Jun 12 17:33:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I created a conda environment python==3.8 before installation.

The following is OK
git clone -b gcs-science-robotics [email protected]:wrangelvid/drake.git mkdir drake-build cd drake-build cmake -DWITH_MOSEK=ON [-DWITH_GUROBI=ON -DWITH_ROBOTLOCOMOTION_SNOPT=ON] ../drake

But when input
make -j
the terminal says
[ 12%] Performing build step for 'drake_cxx_python' [INFO 17:29:02.157 src/main/cpp/option_processor.cc:407] Looking for the following rc files: /etc/bazel.bazelrc,/home/ren7/zhiwei/drake/.bazelrc,/home/ren7/.bazelrc,/home/ren7/zhiwei/drake-build/bazel.rc [INFO 17:29:02.157 src/main/cpp/rc_file.cc:56] Parsing the RcFile /etc/bazel.bazelrc [INFO 17:29:02.157 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/.bazelrc [INFO 17:29:02.157 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/tools/bazel.rc [INFO 17:29:02.157 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/tools/cc_toolchain/bazel.rc [INFO 17:29:02.157 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/tools/dynamic_analysis/bazel.rc [INFO 17:29:02.158 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/tools/lint/bazel.rc [INFO 17:29:02.158 src/main/cpp/rc_file.cc:56] Parsing the RcFile /home/ren7/zhiwei/drake/gen/environment.bazelrc [FATAL 17:29:02.158 src/main/cpp/blaze.cc:1104] Unexpected error reading .blazerc file '/home/ren7/zhiwei/drake/gen/environment.bazelrc': (error: 2): No such file or directory make[2]: *** [CMakeFiles/drake_cxx_python.dir/build.make:112: drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build] Error 37 make[1]: *** [CMakeFiles/Makefile2:860: CMakeFiles/drake_cxx_python.dir/all] Error 2 make: *** [Makefile:163: all] Error 2
I also checked the drake repo at github but no "./drake/gen" dir, neither.
Could you please suggest about this?
Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions