disaster-robotics-proalertas / usv_sim_lsa

Unmanned Surface Vehicle simulation on Gazebo with water current and winds
Apache License 2.0
317 stars 105 forks source link

"catkin_make_isolated --install" with errors(solved) #9

Closed HotIce0 closed 5 years ago

HotIce0 commented 5 years ago

Sorry, just because my virtual machine memory is too little to finish compile.

when I try to run "catkin_make_isolated --install", some thing was wrong. system info : Linux ubuntu 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux gcc info :

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.11' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)
[ 66%] Building CXX object CMakeFiles/freefloating_gazebo_fluid.dir/src/freefloating_gazebo_fluid.cpp.o
/home/ubuntu/Documents/usv_sim_lsa-master/src/freefloating_gazebo/src/freefloating_gazebo_fluid.cpp: In member function ‘void gazebo::FreeFloatingFluidPlugin::ParseNewModel(const ModelPtr&)’:
/home/ubuntu/Documents/usv_sim_lsa-master/src/freefloating_gazebo/src/freefloating_gazebo_fluid.cpp:486:65: warning: unknown escape sequence: '\g'
           new_buoy_link->createSubscriberWaterCurrent(rosnode_, "\gazebo\current");
                                                                 ^
/home/ubuntu/Documents/usv_sim_lsa-master/src/freefloating_gazebo/src/freefloating_gazebo_fluid.cpp:486:65: warning: unknown escape sequence: '\c'
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
CMakeFiles/freefloating_gazebo_fluid.dir/build.make:62: recipe for target 'CMakeFiles/freefloating_gazebo_fluid.dir/src/freefloating_gazebo_fluid.cpp.o' failed
make[2]: *** [CMakeFiles/freefloating_gazebo_fluid.dir/src/freefloating_gazebo_fluid.cpp.o] Error 4
CMakeFiles/Makefile2:3135: recipe for target 'CMakeFiles/freefloating_gazebo_fluid.dir/all' failed
make[1]: *** [CMakeFiles/freefloating_gazebo_fluid.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'freefloating_gazebo': 
  Command '['/home/ubuntu/Documents/usv_sim_lsa-master/install_isolated/env.sh', 'make', '-j1', '-l1']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/ubuntu/Documents/usv_sim_lsa-master/build_isolated/freefloating_gazebo && /home/ubuntu/Documents/usv_sim_lsa-master/install_isolated/env.sh make -j1 -l1

Command failed, exiting.