Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eus_nlopt cannot compile with catkin build #211

Open
garaemon opened this issue Feb 5, 2015 · 4 comments
Open

eus_nlopt cannot compile with catkin build #211

garaemon opened this issue Feb 5, 2015 · 4 comments
Assignees

Comments

@garaemon
Copy link
Member

garaemon commented Feb 5, 2015

jsk-ros-pkg/jsk_common#736

$ catkin b eus_nlopt -i -v
==> Expanding alias 'b' from 'catkin b eus_nlopt -i -v' to 'catkin build eus_nlopt -i -v'
------------------------------------------------------------
Profile:                     default
Extending:          [cached] /opt/ros/hydro
Workspace:                   /home/hrpuser/ros/hydro
Source Space:       [exists] /home/hrpuser/ros/hydro/src
Build Space:        [exists] /home/hrpuser/ros/hydro/build
Devel Space:        [exists] /home/hrpuser/ros/hydro/devel
Install Space:     [missing] /home/hrpuser/ros/hydro/install
DESTDIR:                     None
------------------------------------------------------------
Isolate Develspaces:         False
Install Packages:            False
Isolate Installs:            False
------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
------------------------------------------------------------
Workspace configuration appears valid.
------------------------------------------------------------ 
Found '209' packages in 0.4 seconds. 
Starting ==> nlopt                                                                                                                                                                                                                                             
[nlopt] ==> '/home/hrpuser/ros/hydro/build/nlopt/build_env.sh /usr/bin/make cmake_check_build_system' in '/home/hrpuser/ros/hydro/build/nlopt'                                                                                                                 
[nlopt] <== '/home/hrpuser/ros/hydro/build/nlopt/build_env.sh /usr/bin/make cmake_check_build_system' finished with return code '0'                                                                                                                            
[nlopt] ==> '/home/hrpuser/ros/hydro/build/nlopt/build_env.sh /usr/bin/make -j4 -l4' in '/home/hrpuser/ros/hydro/build/nlopt'                                                                                                                                  
[nlopt] <== '/home/hrpuser/ros/hydro/build/nlopt/build_env.sh /usr/bin/make -j4 -l4' finished with return code '0'                                                                                                                                             
Finished <== nlopt     [ 0.5 seconds ]                                                                                                                                                                                                                         
Starting ==> eus_nlopt                                                                                                                                                                                                                                         
[eus_nlopt] ==> '/home/hrpuser/ros/hydro/build/eus_nlopt/build_env.sh /usr/bin/cmake /home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/eus_nlopt -DCATKIN_DEVEL_PREFIX=/home/hrpuser/ros/hydro/devel -DCMAKE_INSTALL_PREFIX=/home/hrpuser/ros/hydro/install' in '/home/hrpuser/ros/hydro/build/eus_nlopt' 
[eus_nlopt]   eus_nlopt: use catkin_make                                                                                                                                                                                                                       
[eus_nlopt] -- Using CATKIN_DEVEL_PREFIX: /home/hrpuser/ros/hydro/devel                                                                                                                                                                                        
[eus_nlopt] -- Using CMAKE_PREFIX_PATH: /home/hrpuser/ros/hydro/devel;/opt/ros/hydro                                                                                                                                                                           
[eus_nlopt] -- This workspace overlays: /home/hrpuser/ros/hydro/devel;/opt/ros/hydro                                                                                                                                                                           
[eus_nlopt] -- Using PYTHON_EXECUTABLE: /usr/bin/python                                                                                                                                                                                                        
[eus_nlopt] -- Python version: 2.7                                                                                                                                                                                                                             
[eus_nlopt] -- Using Debian Python package layout                                                                                                                                                                                                              
[eus_nlopt] -- Using CATKIN_ENABLE_TESTING: ON                                                                                                                                                                                                                 
[eus_nlopt] -- Call enable_testing()                                                                                                                                                                                                                           
[eus_nlopt] -- Using CATKIN_TEST_RESULTS_DIR: /home/hrpuser/ros/hydro/build/eus_nlopt/test_results                                                                                                                                                             
[eus_nlopt] -- Found gtest sources under '/usr/src/gtest': gtests will be built                                                                                                                                                                                
[eus_nlopt] -- catkin 0.5.86                                                                                                                                                                                                                                   
[eus_nlopt] CMake Error at /home/hrpuser/ros/hydro/devel/share/nlopt/cmake/nloptConfig.cmake:141 (message):                                                                                                                                                    
[eus_nlopt]   Project 'eus_nlopt' tried to find library 'nlopt_cxx'.  The library is                                                                                                                                                                           
[eus_nlopt]   neither a target nor built/installed properly.  Did you compile project                                                                                                                                                                          
[eus_nlopt]   'nlopt'? Did you find_package() it before the subdirectory containing its                                                                                                                                                                        
[eus_nlopt]   code is included?                                                                                                                                                                                                                                
[eus_nlopt] Call Stack (most recent call first):                                                                                                                                                                                                               
[eus_nlopt]   /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package)                                                                                                                                                                           
[eus_nlopt]   catkin.cmake:5 (find_package)                                                                                                                                                                                                                    
[eus_nlopt]   CMakeLists.txt:4 (include)                                                                                                                                                                                                                       
[eus_nlopt]                                                                                                                                                                                                                                                    
[eus_nlopt]                                                                                                                                                                                                                                                    
[eus_nlopt] -- Configuring incomplete, errors occurred!                                                                                                                                                                                                        
[eus_nlopt] <== '/home/hrpuser/ros/hydro/build/eus_nlopt/build_env.sh /usr/bin/cmake /home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/eus_nlopt -DCATKIN_DEVEL_PREFIX=/home/hrpuser/ros/hydro/devel -DCMAKE_INSTALL_PREFIX=/home/hrpuser/ros/hydro/install' failed with return code '1' 
[build] There were errors:                                                                                                                                                                                                                                     

    Failed to build package 'eus_nlopt' because the following command:

        # Command run in directory: /home/hrpuser/ros/hydro/build/eus_nlopt
        /home/hrpuser/ros/hydro/build/eus_nlopt/build_env.sh /usr/bin/cmake /home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/eus_nlopt -DCATKIN_DEVEL_PREFIX=/home/hrpuser/ros/hydro/devel -DCMAKE_INSTALL_PREFIX=/home/hrpuser/ros/hydro/install

    Exited with return code: 1 
[build] Runtime: 3.2 seconds 
@k-okada
Copy link
Member

k-okada commented Feb 5, 2015

do you have this error after jsk-ros-pkg/jsk_common#736?

@garaemon
Copy link
Member Author

garaemon commented Feb 5, 2015

Yes I had

@garaemon garaemon closed this as completed Feb 6, 2015
@garaemon
Copy link
Member Author

garaemon commented Feb 6, 2015

fixed by jsk-ros-pkg/jsk_common#738

@garaemon garaemon reopened this Feb 6, 2015
@garaemon
Copy link
Member Author

garaemon commented Feb 6, 2015

Still failed

catkin build eus_nlopt => success
catkin build => failed on eus_nlopt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants