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

ament_package not found #72

Open
finiternd opened this issue Aug 8, 2020 · 0 comments
Open

ament_package not found #72

finiternd opened this issue Aug 8, 2020 · 0 comments
Labels

Comments

@finiternd
Copy link

Following instructions for UWP on Windows 10 VS 2019 and can't get past building ament and run into two issues.

First Issue:

PS D:\ROOT\GitHub\dev\ament> curl -sk https://raw.githubusercontent.com/ros2-dotnet/ros2_dotnet/master/ament_dotnet_uwp.repos -o ament_dotnet_uwp.repos Invoke-WebRequest : A parameter cannot be found that matches parameter name 'sk'.
At line:1 char:6

I download the repos another way so hopefully that's not my problem.

Second Issue

I go to build ament and the ament_package can't be found

PS D:\ROOT\GitHub\dev\ament> colcon build --merge-install
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> gtest_vendor
Starting >>> ament_cppcheck
Starting >>> ament_pep8
Starting >>> osrf_pycommon
Finished <<< ament_lint [1.81s]
Starting >>> ament_flake8
Finished <<< ament_package [1.88s]
Finished <<< ament_pep8 [1.88s]
Finished <<< ament_cppcheck [1.91s]
Starting >>> ament_cmake_core
Starting >>> ament_pyflakes
Finished <<< osrf_pycommon [2.00s]
--- stderr: ament_cmake_core
Traceback (most recent call last):
File "D:/ROOT/GitHub/dev/ament/src/ament/ament_cmake/ament_cmake_core/cmake/package_templates/templates_2_cmake.py", line 21, in
from ament_package.templates import get_environment_hook_template_path
ModuleNotFoundError: No module named 'ament_package'
CMake Error at ament_cmake_package_templates-extras.cmake:41 (message):
execute_process(C:/Python38/python.exe
D:/ROOT/GitHub/dev/ament/src/ament/ament_cmake/ament_cmake_core/cmake/package_templates/templates_2_cmake.py
D:/ROOT/GitHub/dev/ament/build/ament_cmake_core/ament_cmake_package_templates/templates.cmake)
returned error code 1
Call Stack (most recent call first):
CMakeLists.txt:19 (include)


Failed <<< ament_cmake_core [0.59s, exited with code 1]
Aborted <<< ament_flake8 [0.73s]
Aborted <<< gtest_vendor [2.56s]
Aborted <<< ament_pyflakes [0.77s]

Summary: 5 packages finished [3.52s]
1 package failed: ament_cmake_core
3 packages aborted: ament_flake8 ament_pyflakes gtest_vendor
1 package had stderr output: ament_cmake_core
49 packages not processed

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

No branches or pull requests

2 participants