Openag_brain_installer - file INSTALL cannot find


#1

Please help

i am really really beginner

i have a problem with intall ROS

there is no file in install.sh

i am stunned
is it about 2.1 version up?

running install_egg_info
Removing /opt/ros/indigo/lib/python2.7/dist-packages/catkin-0.6.19.egg-info
Writing /opt/ros/indigo/lib/python2.7/dist-packages/catkin-0.6.19.egg-info
CMake Error at gtest/cmake_install.cmake:42 (file):
file INSTALL cannot find
"/home/pi/ros_catkin_ws/build_isolated/catkin/gtest/libgtest.so".
Call Stack (most recent call first):
cmake_install.cmake:154 (include)

Makefile:115: recipe for target ‘install’ failed
make: *** [install] Error 1
<== Failed to process package ‘catkin’:
Command ‘[‘make’, ‘install’]’ returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/catkin && make install

Command failed, exiting.


#2

To solve this issue I actually edited gtest.cmake which reside in ~/ros_catkin_ws/src/catkin/cmake/test.

So this the procedure you need to follow

Go the repository where gtest.make resides

cd ~/ros_catkin_ws/src/catkin/cmake/test

Now edit gtest.make

sudo nano gtest.cmake

Now comment Two lines

if(ARG_EXCLUDE_FROM_ALL)
#set_target_properties(${target} PROPERTIES EXCLUDE_FROM_ALL TRUE)
endif()

#set_target_properties(gtest gtest_main PROPERTIES EXCLUDE_FROM_ALL 1)

Save and try to compile it again :slight_smile:

Hope this helps!


#3

Thanks for the lending the support @krish_iyer . @JInHyuck- I’d like to point you towards our update on the status of PFC design and software developments here. OpenAg is focusing all resources on integrating feedback from the community into the PFC. Please look to our stellar community members for support on previous PFC versions.