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

Problem with netbeans building ROS package

asked 2011-09-27 01:12:41 -0500

Jun gravatar image

updated 2014-04-20 14:09:19 -0500

ngrennan gravatar image

I am using Ubuntu 10.10 Maverick, install ros electric. I wish to use IDE to develop ros package, so I decided to use netbeans IDE. I have follow the to configure the netbeans, but I fail to build and clean the project. The following is the output from the debug window of the Netbeans.

"/usr/bin/make" -f nbproject/ QMAKE= SUBPROJECTS= .clean-conf make[1]: Entering directory /home/jun/NetBeansProjects/microstrain_3dmgx2_imu_1' cd /opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu && /usr/bin/make -f Makefile clean cd: 1: can't cd to build make[2]: [clean] Error 2 (ignored) make[2]: Entering directory/opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu' cd build && make clean rm -rf build make[2]: Leaving directory /opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu' make[1]: Leaving directory/home/jun/NetBeansProjects/microstrain_3dmgx2_imu_1'

CLEAN SUCCESSFUL (total time: 240ms) "/usr/bin/make" -f nbproject/ QMAKE= SUBPROJECTS= .build-conf mkdir: cannot create directory build': Permission denied make[2]: *** [all] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 make[1]: Entering directory/home/jun/NetBeansProjects/microstrain_3dmgx2_imu_1' cd /opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu && /usr/bin/make -f Makefile make[2]: Entering directory /opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu' make[2]: Leaving directory/opt/ros/electric/stacks/imu_drivers/microstrain_3dmgx2_imu' make[1]: Leaving directory `/home/jun/NetBeansProjects/microstrain_3dmgx2_imu_1'

BUILD FAILED (exit value 2, total time: 86ms)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-11-15 00:13:10 -0500

Procópio gravatar image

Hello, Check this question, I think your problem is related:


edit flag offensive delete link more


As @Procópio Silveira Stein suggested, this issue should be rooted in that Netbeans (or whatever process. Basically this issue shouldn't be specific for Netbeans) tries to write to the folder where it doesn't have a permission to do so. See the link if you have no idea for workaround.

130s gravatar image 130s  ( 2012-02-21 04:05:14 -0500 )edit

Question Tools


Asked: 2011-09-27 01:12:41 -0500

Seen: 816 times

Last updated: Nov 15 '11