When Jetson Nano compiles with catkin_make, if the default is 4 threads (catkin_make -j4), internal compiler error is prone to occur. At this time, you can modify ~/.bashrc to change the number of threads compiled by the system to limit the maximum thread. Thus it compiles smoothly. Proceed as follows:
1. Open terminal
vim ~/.bashrc
2. Add the following command, n is the number of threads you want to set, for example, it is better to set it to 2 or less for Nano:
export ROS_PARALLEL_JOBS=-jn # Nano n=2
3. Source it to take effect:
source ~/.bashrc
OK, you can experiment happily~
Read More:
- [Solved] catkin_make Error: pkg_resources.DistributionNotFound: pyparsing
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- [Solved] catkin_make error: CMake Error at CMakeLists.txt:1:
- MAC: Clion configure C compiler Error: The C compiler identification is unknown
- [Solved] Linux Kernel Compile Error: make menuconfig‘ requires the ncurses libraries
- Make update-api Error: ckati failed with: signal: killed
- [Solved] make menuconfig Error: recipe for target ‘menuconfig‘ failed
- [Solved] Error during installation of nginx: Make: * * * [build] error 2
- error: C compiler cannot create executables [How to Solve]
- [Solved] configure: error: no acceptable C compiler found in $PATH
- [Solved] Doris 5 Doris_core Run make Error: bk_messages.hh:214:26 error: invalid conversion from ‘char‘ …
- [Solved] configure:error:no acceptable C compiler found in $PATH
- summary of configuration and deployment of uwsgi+nginx+flag in centos7 and why internal server error is prompted [official instructions]
- Linux Nagios failed to log in to internal server error (Fixed)
- [Solved] Error calling ICU Library: libicudata.so.51: internal error
- Configure the node environment under Linux, internal/modules/cjs/loader.js:583 throw err; solution
- Linux Error: CMake Error in CMakeLists.txt: No CMAKE_CXX_COMPILER could be found.
- [Solved] Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c.
- [Solved] Centos7 Error: gcc: configure: error: in build‘: configure: error: no acceptable C compiler found in $PATH
- [Solved] Execute ./configure Error: [error]configure: error: You need a C++ compiler for C++ support.