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

Help Building #21

Open
bahlborn opened this issue Nov 13, 2021 · 0 comments
Open

Help Building #21

bahlborn opened this issue Nov 13, 2021 · 0 comments

Comments

@bahlborn
Copy link

Hello. Appologies if this is the wrong place to post this. I am trying to build the mocap_qualisys package.

I have setup ROS as described here: http://wiki.ros.org/Installation/Windows
I created a catkin workspace as described here: http://wiki.ros.org/catkin/Tutorials/create_a_workspace
I have cloned the git repository here into my workspace and added the workspace path to ROS_PACKAGE_PATH.
When I run catkin_make --pkg mocap_qualisys --cmake-args -DCMAKE_BUILD_TYPE=Release, I get the following output:

Base path: C:\opt\motion_capture_system
Source space: C:\opt\motion_capture_system\src
Build space: C:\opt\motion_capture_system\build
Devel space: C:\opt\motion_capture_system\devel
Install space: C:\opt\motion_capture_system\install
Packages "mocap_qualisys" not found in the workspace

It seems like the ROS_PACKAGE_PATH is not being recognized.

I have tried moving the mocap_qualisys and mocap_base folders into my workspace's src folder. In this case, I get the following output when running catkin_make --pkg mocap_qualisys --cmake-args -DCMAKE_BUILD_TYPE=Release

Base path: C:\opt\motion_capture_system
Source space: C:\opt\motion_capture_system\src
Build space: C:\opt\motion_capture_system\build
Devel space: C:\opt\motion_capture_system\devel
Install space: C:\opt\motion_capture_system\install
####
#### Running command: "cmake C:\opt\motion_capture_system\src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=C:\opt\motion_capture_system\devel -DCMAKE_INSTALL_PREFIX=C:\opt\motion_capture_system\install -G Ninja" in "C:\opt\motion_capture_system\build"
####
-- The C compiler identification is MSVC 19.29.30137.0
-- The CXX compiler identification is MSVC 19.29.30137.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: C:/opt/motion_capture_system/devel
-- Using CMAKE_PREFIX_PATH: C:\opt\ros\noetic\x64\tools\vcpkg\installed\x64-windows;C:\opt\ros\noetic\x64
-- This workspace overlays: C:/opt/ros/noetic/x64
-- Found PythonInterp: C:/opt/ros/noetic/x64/python.exe (found suitable version "3.8.3", minimum required is "3")
-- Using PYTHON_EXECUTABLE: C:/opt/ros/noetic/x64/python.exe
-- Using default Python package layout
-- Found PY_em: C:\opt\ros\noetic\x64\lib\site-packages\em.py
-- Using empy: C:/opt/ros/noetic/x64/lib/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: C:/opt/motion_capture_system/build/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: C:/opt/ros/noetic/x64/Scripts/nosetests.exe
-- catkin 0.8.9
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 2 packages in topological order:
-- ~~ - mocap_base
-- ~~ - mocap_qualisys
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'mocap_base'
-- ==> add_subdirectory(mocap_base)
-- Found Boost: C:/opt/ros/noetic/x64/include (found version "1.73.0")
-- +++ processing catkin package: 'mocap_qualisys'
-- ==> add_subdirectory(mocap_qualisys)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring done
-- Generating done
-- Build files have been written to: C:/opt/motion_capture_system/build
####
#### Running command: "ninja -j20 -l20" in "C:\opt\motion_capture_system\build\mocap_qualisys"
####
ninja: error: loading 'build.ninja': The system cannot find the file specified.Invoking "ninja -j20 -l20" failed.

In this case, it seems as though the ninja build files for the packages are not being generated. Any help would be appreciated. Thank you.

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

1 participant