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

Required library XENOMAI NOT FOUND #20

Open
drscopus opened this issue Feb 28, 2018 · 2 comments
Open

Required library XENOMAI NOT FOUND #20

drscopus opened this issue Feb 28, 2018 · 2 comments

Comments

@drscopus
Copy link

drscopus commented Feb 28, 2018

Hi, all. I want to use orocos_rrt in a laptop installed with Ubuntu14.04.
I have updated the kernel with Xenomai by following this instruction.

Then I installed orocos_toolchain by following commands

export OROCOS_TARGET=xenomai
mkdir -p ~/ws/underlay_isolated/src/orocos
cd ~/ws/underlay_isolated
git clone --recursive https://github.com/orocos-toolchain/orocos_toolchain.git src/orocos/orocos_toolchain
catkin_make_isolated --install
source install_isolated/setup.sh

However, the orocos_toolchain cannot be complied successfully at the "catkin_make_isolated --install" step. The output errors are listed below. I googled but didn't find a solution.

Please give me great advice! Thanks!

-- Could NOT find Xerces (missing: XERCES_C_LIBRARY XERCES_INCLUDE_DIR) 
Orocos target is xenomai
XENOMAI_INCLUDE_DIR=XENOMAI_INCLUDE_DIR-NOTFOUND
XENOMAI_NATIVE_LIBRARY=XENOMAI_NATIVE_LIBRARY-NOTFOUND
CMake Error at config/LibFindMacros.cmake:74 (message):
  Required library XENOMAI NOT FOUND.

  Install the library (dev version) and try again.  If the library is already
  installed, set the XENOMAI_ROOT_DIR environment variable or use cmake to
  set the missing variables manually.
Call Stack (most recent call first):
  config/FindXenomai.cmake:72 (libfind_process)
  config/check_depend.cmake:147 (find_package)
  CMakeLists.txt:115 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/new/ws/underlay_isolated/build_isolated/rtt/install/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'rtt': 
  Command '['/home/new/ws/underlay_isolated/install_isolated/env.sh', 'cmake', '/home/new/ws/underlay_isolated/src/orocos/orocos_toolchain/rtt', '-DCMAKE_INSTALL_PREFIX=/home/new/ws/underlay_isolated/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/new/ws/underlay_isolated/build_isolated/rtt && /home/new/ws/underlay_isolated/install_isolated/env.sh cmake /home/new/ws/underlay_isolated/src/orocos/orocos_toolchain/rtt -DCMAKE_INSTALL_PREFIX=/home/new/ws/underlay_isolated/install_isolated -G 'Unix Makefiles'
@roboticsai
Copy link

roboticsai commented Mar 17, 2018

i also had this same error. U need to clone or use orocos-toolchain branch master not others. Try this and if it succedes in your system also , tell me.

@roboticsai
Copy link

roboticsai commented Mar 17, 2018

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

2 participants