ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for your reply, If I use the command you gave me (witch catkin_make) I get the next message:

CMake Error at catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:63 (catkin_workspace)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

So, I've tried replacing catkin_make by catkin_make_isolated, but It does not work.

Traceback (most recent call last): File "/home/pi/ros_catkin_ws/devel/bin/catkin_make_isolated", line 6, in <module> exec(fh.read()) File "<string>", line 151, in <module> File "<string>", line 147, in main File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 897, in build_workspace_isolated if not force_cmake and cmake_input_changed(packages, buildspace, cmake_args=cmake_args_with_spaces, filename='catkin_make_isolated'): File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 1028, in cmake_input_changed with open(input_filename, 'w') as f: IOError: [Errno 13] Permission denied: '/home/pi/ros_catkin_ws/build_isolated/catkin_make_isolated.cache'

Any idea? Thanks!

Thanks for your reply, If I use the command you gave me (witch catkin_make) I get the next message:

CMake Error at catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:63 (catkin_workspace)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

So, I've tried replacing catkin_make by catkin_make_isolated, but It does not work.

Traceback (most recent call last): File "/home/pi/ros_catkin_ws/devel/bin/catkin_make_isolated", line 6, in <module> exec(fh.read()) File "<string>", line 151, in <module> File "<string>", line 147, in main File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 897, in build_workspace_isolated if not force_cmake and cmake_input_changed(packages, buildspace, cmake_args=cmake_args_with_spaces, filename='catkin_make_isolated'): File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 1028, in cmake_input_changed with open(input_filename, 'w') as f: IOError: [Errno 13] Permission denied: '/home/pi/ros_catkin_ws/build_isolated/catkin_make_isolated.cache'

I think I have to use the command I gave in the first message:

sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

but it compiles the whole workspace, and it takes so much time, so anybody know if I could add any argument to the command to build only the package I'm interested in?

Any idea? Thanks!

Thanks for your reply, If I use I've tried the command you gave me (witch catkin_make) I get the next message:

CMake Error at catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:63 (catkin_workspace)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

So, I've tried replacing catkin_make by catkin_make_isolated, but It does not work.

Traceback (most recent call last): File "/home/pi/ros_catkin_ws/devel/bin/catkin_make_isolated", line 6, in <module> exec(fh.read()) File "<string>", line 151, in <module> File "<string>", line 147, in main File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 897, in build_workspace_isolated if not force_cmake and cmake_input_changed(packages, buildspace, cmake_args=cmake_args_with_spaces, filename='catkin_make_isolated'): File "/home/pi/ros_catkin_ws/src/catkin/python/catkin/builder.py", line 1028, in cmake_input_changed with open(input_filename, 'w') as f: IOError: [Errno 13] Permission denied: '/home/pi/ros_catkin_ws/build_isolated/catkin_make_isolated.cache'

I think I have to use the command I gave which comes in the first message:tutorial for raspberry pi:

$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

but it compiles But as I said before, It starts to compile the whole workspace, and workspace (almost 200 packages). I think it takes so much time, so anybody know if I could add any argument is due to the command magnitude of the compiling process. The raspberry pi is working well, but when it has got over 1 hour compiling, it crashes. So it is the reason I'm looking for the way to build compile only the package I'm interested in?

I add. It's the message I get when it crashes.

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3421.941692] Internal error: Oops: 817 [#1] PREEMPT SMP ARM

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.021250] Process kswapd0 (pid: 35, stack limit = 0xb9ad2238)

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.027178] Stack: (0xb9ad3d40 to 0xb9ad4000)

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.031542] 3d40: 8004bb4c 805257e8 00000001 b9ad3d80 b9ad3d84 b9ad2000 00000001 b9bd56b0

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.039711] 3d60: accb021f 0000031c b9bd5740 00000016 00000000 00000000 0000006a 941a19bc

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.047880] 3d80: accb021f 0000031c a91d7be0 b6a221a0 b9ad3dac 00000000 000036a0 00000080

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.056067] 3da0: b9bd5000 b9bd5690 000000a5 807b2b94 b9ad3dec b9ad3dc0 801fc1d4 801fbcdc

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.064243] 3dc0: 000036a0 00000000 00000000 b9bd5690 00000080 b9ad3efc 00000080 000000a5

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.072411] 3de0: b9ad3e6c b9ad3df0 800fc2e8 801fc0f4 00000001 b980cb40 00000004 8080f784

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.080580] 3e00: b9ad3e2c b9ad3e10 8003a2ec 800cb4d0 b9804490 b9804498 000002ec 000002af

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.088751] 3e20: 00000000 b9ad3e30 00000149 00033f31 00000000 0000007a 000036a0 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.096918] 3e40: b9ad3e9c b9ad3efc 00000000 00000149 00033f31 807e9410 00000000 b9bd5690

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.105086] 3e60: b9ad3e9c b9ad3e70 800fcbb8 800fc14c 00000001 8080f480 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.113256] 3e80: 00000000 00000000 00000000 b9ad3ef4 b9ad3f5c b9ad3ea0 80100388 800fcaf8

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.121424] 3ea0: 805214ac 8004684c 55555555 00000047 807b2b9c 807b2ba0 b994d640 8080fd44

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.129592] 3ec0: 00000000 8080fd48 00033f31 00000000 b9ad3f0c 00000000 b9ad2020 00000001

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.137760] 3ee0: b9ad2000 00000000 00000000 8080f480 55555555 00000000 00000000 000000d0

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.145927] 3f00: 00000080 00000001 00000000 00000c00 000000d0 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.154112] 3f20: 00000003 00000007 00000149 00000123 800ffdf4 b9987780 00000000 8080f480

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.162306] 3f40: 800ffdf4 00000000 00000000 00000000 b9ad3fac b9ad3f60 8003ffa0 800ffe00

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.170479] 3f60: 805258ac 00000000 b9ad3f94 8080f480 00000000 00000000 b9ad3f78 b9ad3f78

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.178671] 3f80: 00000000 00000000 b9ad3f88 b9ad3f88 b9987780 8003fec0 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.186847] 3fa0: 00000000 b9ad3fb0 8000eb88 8003fecc 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.195017] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.203184] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 55555555 55555555

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.256296] Code: e5941010 e1500001 2affffdc e8940003 (e5801004)

Any idea? Thanks!

Thank you very much!

I've tried the command which comes in the tutorial for raspberry pi:

$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo

But as I said before, It starts to compile the whole workspace (almost 200 packages). I think it is due to the magnitude of the compiling process. The raspberry pi is working well, but when it has got over 1 hour compiling, it crashes. crashes, I think it is due to the magnitude of the compiling process. So it is the reason I'm looking for the way to compile only the package I add. It's the message I get when it crashes.

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3421.941692] Internal error: Oops: 817 [#1] PREEMPT SMP ARM

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.021250] Process kswapd0 (pid: 35, stack limit = 0xb9ad2238)

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.027178] Stack: (0xb9ad3d40 to 0xb9ad4000)

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.031542] 3d40: 8004bb4c 805257e8 00000001 b9ad3d80 b9ad3d84 b9ad2000 00000001 b9bd56b0

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.039711] 3d60: accb021f 0000031c b9bd5740 00000016 00000000 00000000 0000006a 941a19bc

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.047880] 3d80: accb021f 0000031c a91d7be0 b6a221a0 b9ad3dac 00000000 000036a0 00000080

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.056067] 3da0: b9bd5000 b9bd5690 000000a5 807b2b94 b9ad3dec b9ad3dc0 801fc1d4 801fbcdc

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.064243] 3dc0: 000036a0 00000000 00000000 b9bd5690 00000080 b9ad3efc 00000080 000000a5

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.072411] 3de0: b9ad3e6c b9ad3df0 800fc2e8 801fc0f4 00000001 b980cb40 00000004 8080f784

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.080580] 3e00: b9ad3e2c b9ad3e10 8003a2ec 800cb4d0 b9804490 b9804498 000002ec 000002af

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.088751] 3e20: 00000000 b9ad3e30 00000149 00033f31 00000000 0000007a 000036a0 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.096918] 3e40: b9ad3e9c b9ad3efc 00000000 00000149 00033f31 807e9410 00000000 b9bd5690

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.105086] 3e60: b9ad3e9c b9ad3e70 800fcbb8 800fc14c 00000001 8080f480 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.113256] 3e80: 00000000 00000000 00000000 b9ad3ef4 b9ad3f5c b9ad3ea0 80100388 800fcaf8

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.121424] 3ea0: 805214ac 8004684c 55555555 00000047 807b2b9c 807b2ba0 b994d640 8080fd44

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.129592] 3ec0: 00000000 8080fd48 00033f31 00000000 b9ad3f0c 00000000 b9ad2020 00000001

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.137760] 3ee0: b9ad2000 00000000 00000000 8080f480 55555555 00000000 00000000 000000d0

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.145927] 3f00: 00000080 00000001 00000000 00000c00 000000d0 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.154112] 3f20: 00000003 00000007 00000149 00000123 800ffdf4 b9987780 00000000 8080f480

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.162306] 3f40: 800ffdf4 00000000 00000000 00000000 b9ad3fac b9ad3f60 8003ffa0 800ffe00

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.170479] 3f60: 805258ac 00000000 b9ad3f94 8080f480 00000000 00000000 b9ad3f78 b9ad3f78

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.178671] 3f80: 00000000 00000000 b9ad3f88 b9ad3f88 b9987780 8003fec0 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.186847] 3fa0: 00000000 b9ad3fb0 8000eb88 8003fecc 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.195017] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.203184] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 55555555 55555555

Message from syslogd@raspberrypi at Jun 9 17:39:34 ... kernel:[ 3422.256296] Code: e5941010 e1500001 2affffdc e8940003 (e5801004)

Any idea? Thank you very much!