noether icon indicating copy to clipboard operation
noether copied to clipboard

catkin_build error in ubuntu 20.04

Open euichan2000 opened this issue 9 months ago • 1 comments

I'm attempting to build Noether on ubuntu 20.04. Here is my sequence to build Noether.

mkdir -p ~/path_ws/src
cd ~/path_ws/src
git clone [email protected]:ros-industrial/noether.git
cd path_ws
vcs import src < src/noether/dependencies.repos
rosdep install --from-paths src -iry
catkin build

then, this error message appears.

----------------------------------------------------------------------
Profile:                     default
Extending:             [env] /home/nrs/catkin_ws/devel:/opt/ros/noetic
Workspace:                   /home/nrs/path_ws
----------------------------------------------------------------------
Build Space:        [exists] /home/nrs/path_ws/build
Devel Space:        [exists] /home/nrs/path_ws/devel
Install Space:      [unused] /home/nrs/path_ws/install
Log Space:         [missing] /home/nrs/path_ws/logs
Source Space:       [exists] /home/nrs/path_ws/src
DESTDIR:            [unused] None
----------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
----------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
----------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
----------------------------------------------------------------------
Workspace configuration appears valid.
----------------------------------------------------------------------
[build] Found 4 packages in 0.0 seconds.                                                           
[build] Updating package table.                                                                    
Warning: generated devel space setup files have been deleted.
Starting  >>> catkin_tools_prebuild                                                                
Finished  <<< catkin_tools_prebuild                           [ 1.4 seconds ]                      
Starting  >>> ros_industrial_cmake_boilerplate                                                     
Finished  <<< ros_industrial_cmake_boilerplate                [ 0.6 seconds ]                      
Starting  >>> boost_plugin_loader                                                                  
Starting  >>> noether_tpp                                                                          
Finished  <<< boost_plugin_loader                             [ 5.3 seconds ]                      
___________________________________________________________________________________________________
Errors     << noether_tpp:cmake /home/nrs/path_ws/logs/noether_tpp/build.cmake.000.log             
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Error at /home/nrs/path_ws/src/noether/noether_tpp/CMakeLists.txt:77 (target_sources):
  target_sources called with invalid arguments


cd /home/nrs/path_ws/build/noether_tpp; catkin build --get-env noether_tpp | catkin env -si  /usr/bin/cmake /home/nrs/path_ws/src/noether/noether_tpp --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/home/nrs/path_ws/devel; cd -

...................................................................................................
Failed     << noether_tpp:cmake                               [ Exited with code 1 ]               
Failed    <<< noether_tpp                                     [ 6.5 seconds ]                      
Abandoned <<< noether_gui                                     [ Unrelated job failed ]             
[build] Summary: 3 of 5 packages succeeded.                                                        
[build]   Ignored:   None.                                                                         
[build]   Warnings:  None.                                                                         
[build]   Abandoned: 1 packages were abandoned.                                                    
[build]   Failed:    1 packages failed.                                                            
[build] Runtime: 8.5 seconds total.    

in /home/nrs/path_ws/src/noether/noether_tpp/CMakeLists.txt::77

    if (${NURBS_FOUND})
      target_sources(${PROJECT_NAME} src/mesh_modifiers/bspline_reconstruction_modifier.cpp)

I have no idea to fix this error. Any suggestions? Thanks!!

euichan2000 avatar May 27 '24 01:05 euichan2000