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

Target 'utils' is not a component of dart. #830

Closed
jiapei100 opened this issue Dec 31, 2016 · 5 comments · Fixed by #880
Closed

Target 'utils' is not a component of dart. #830

jiapei100 opened this issue Dec 31, 2016 · 5 comments · Fixed by #880
Milestone

Comments

@jiapei100
Copy link

ENV:

Ubuntu 16.04.1
GCC 5.4.0
dart : today's dev (git clone)

During configuration,

 CMake Error at cmake/Components.cmake:112 (message):
   Target 'utils' is not a component of dart.
 Call Stack (most recent call first):
   dart/gui/CMakeLists.txt:30 (add_component_dependencies)

How to resolve this dependency?

Cheers
Pei

@jslee02
Copy link
Member

jslee02 commented Jan 19, 2017

I have no problem building the current master branch in the same environment. Could you let me know how exactly did you build DART (e.g., commands)? Also, providing the whole output during the configuration would be helpful.

@cyberguy42
Copy link

I also got this error while compiling. refers to the root directory of a catkin workspace. Here is my configuration output:

-- ============================================
--                 DART 6.2.0
-- ============================================
-- Found FCL: <WORKSPACE>/devel/fcl/include (found suitable version "0.6.0", minimum required is "0.2.9") 
-- Found ASSIMP: /usr/include (found suitable version "3.0.1264", minimum required is "3.0.0") 
-- Performing Test ASSIMP_AISCENE_CTOR_DTOR_DEFINED
-- Performing Test ASSIMP_AISCENE_CTOR_DTOR_DEFINED - Failed
-- Performing Test ASSIMP_AIMATERIAL_CTOR_DTOR_DEFINED
-- Performing Test ASSIMP_AIMATERIAL_CTOR_DTOR_DEFINED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Looking for nlopt - NOT found, to use dart-optimizer-nlopt, please install nlopt (>= 2.4.1)
-- Looking for ipopt - NOT found, to use dart-optimizer-ipopt, please install ipopt (>= 3.11.9)
-- Performing Test BT_USE_DOUBLE_PRECISION
-- Performing Test BT_USE_DOUBLE_PRECISION - Success
-- Looking for ode - NOT found, to use dart-collision-ode, please install ode (>= 0.11)
-- Looking for tinyxml2 - NOT found, to use dart-utils, please install tinyxml2 (>= 1.0.1)
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Warning at cmake/DARTFindDependencies.cmake:282 (message):
  Could NOT find OpenSceneGraph nor OpenThreads -- we will skip dart-gui-osg

  If you believe you do have both OSG and OpenThreads installed, try setting
  OSG_DIR
Call Stack (most recent call first):
  CMakeLists.txt:138 (include)


CMake Error at cmake/Components.cmake:112 (message):
  Target 'utils' is not a component of dart.
Call Stack (most recent call first):
  dart/gui/CMakeLists.txt:30 (add_component_dependencies)


-- Configuring incomplete, errors occurred!

@jslee02
Copy link
Member

jslee02 commented Apr 22, 2017

Thank you for the reporting. I could reproduce the issue based on your configuration output, and am working on it.

@cyberguy42
Copy link

If it helps, I was able to avoid the error by installing tinyxml2.

@jslee02
Copy link
Member

jslee02 commented Apr 22, 2017

Yes, it helps. The main reason of the error was that DART attempts to build dart-gui component while dart-utils is not built that is a dependency of dart-gui. I believe #880 fixes this.

@jslee02 jslee02 added this to the DART 6.2.0 milestone Apr 22, 2017
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

Successfully merging a pull request may close this issue.

3 participants