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

failed to create process when running ros2 on W11 when spaces are in path #96

Open
1 task done
RicardoSPeres opened this issue Aug 26, 2023 · 7 comments
Open
1 task done
Labels
bug Something isn't working windows

Comments

@RicardoSPeres
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Followed the getting started documentation and managed to get rviz2 up and running (despite getting multiple errors stating "could not load pixmap package").
However when I try to run ros2, or for instance ros2 launch for a launch file, it only prints "failed to create process.". Sourcing the workspace with "call install/local_setup.bat" didn't help either.
Any help would be appreciated, thank you

Installed packages

# Name                    Version                   Build  Channel
aiohttp                   3.8.5           py310h8d17308_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
aom                       3.5.0                h63175ca_0    conda-forge
argcomplete               3.1.1              pyhd8ed1ab_0    conda-forge
assimp                    5.2.5                h4dcb625_0    conda-forge
async-timeout             4.0.3              pyhd8ed1ab_0    conda-forge
attrs                     23.1.0             pyh71513ae_1    conda-forge
boost                     1.78.0          py310h220cb41_4    conda-forge
boost-cpp                 1.78.0               h9f4b32c_3    conda-forge
brotli                    1.0.9                hcfcfb64_9    conda-forge
brotli-bin                1.0.9                hcfcfb64_9    conda-forge
bullet                    3.24                 hbbfc1a7_0    conda-forge
bullet-cpp                3.24                 h1c4a608_0    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2023.7.22            h56e8100_0    conda-forge
cairo                     1.16.0            hd694305_1014    conda-forge
catkin_pkg                0.5.2              pyhd8ed1ab_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310h628cb3f_3    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
cmake                     3.26.4               h1537add_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
console_bridge            1.0.2                h5362a0b_1    conda-forge
contourpy                 1.1.0           py310h232114e_0    conda-forge
cppcheck                  2.10.3          py310hbf4f5aa_0    conda-forge
cryptography              41.0.3          py310h6e82f81_0    conda-forge
curl                      7.88.1               h68f0423_1    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
dav1d                     1.2.0                hcfcfb64_0    conda-forge
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
docutils                  0.20.1          py310h5588dad_0    conda-forge
double-conversion         3.2.0                h63175ca_1    conda-forge
eigen                     3.4.0                h91493d7_0    conda-forge
empy                      3.3.4              pyh9f0ad1d_1    conda-forge
exceptiongroup            1.1.3              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                h63175ca_1    conda-forge
ffmpeg                    5.1.2           gpl_h5037a79_109    conda-forge
flake8                    6.1.0              pyhd8ed1ab_0    conda-forge
flann                     1.9.1             h23a95e4_1011    conda-forge
fmt                       9.1.0                h181d51b_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               hbde0cde_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.42.1          py310h8d17308_0    conda-forge
foonathan-memory          0.7.2                h57928b3_1    conda-forge
freeglut                  3.2.2                h63175ca_2    conda-forge
freeimage                 3.18.0              h064cf08_10    conda-forge
freetype                  2.12.1               h546665d_1    conda-forge
fribidi                   1.0.10               h8d14728_0    conda-forge
frozenlist                1.4.0           py310h8d17308_0    conda-forge
getopt-win32              0.1                  h8ffe710_0    conda-forge
gettext                   0.21.1               h5728263_0    conda-forge
gl2ps                     1.4.2                h0597ee9_0    conda-forge
glew                      2.1.0                h39d44d4_2    conda-forge
glib                      2.76.4               h12be248_0    conda-forge
glib-tools                2.76.4               h12be248_0    conda-forge
gmock                     1.14.0               h57928b3_1    conda-forge
graphite2                 1.3.13                     1000    conda-forge
graphviz                  8.1.0                h51cb2cd_0    conda-forge
gst-plugins-base          1.22.5               h001b923_0    conda-forge
gstreamer                 1.22.5               hb4038d2_0    conda-forge
gtest                     1.14.0               h91493d7_1    conda-forge
gts                       0.7.6                h6b5321d_4    conda-forge
harfbuzz                  6.0.0                he256f1b_0    conda-forge
hdf4                      4.2.15               h1b1b6ef_5    conda-forge
hdf5                      1.12.2          nompi_h57737ce_101    conda-forge
icu                       70.1                 h0e60522_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
imath                     3.1.6                h12be248_1    conda-forge
importlib-metadata        6.8.0              pyha770c72_0    conda-forge
importlib_resources       6.0.1              pyhd8ed1ab_0    conda-forge
iniconfig                 2.0.0              pyhd8ed1ab_0    conda-forge
intel-openmp              2023.2.0         h57928b3_49496    conda-forge
jasper                    2.0.33               hc2e4405_1    conda-forge
jpeg                      9e                   hcfcfb64_3    conda-forge
jsoncpp                   1.9.5                h2d74725_1    conda-forge
jxrlib                    1.1                  h8ffe710_2    conda-forge
kiwisolver                1.4.5           py310h232114e_0    conda-forge
krb5                      1.20.1               heb0366b_0    conda-forge
lark-parser               0.12.0             pyhd8ed1ab_0    conda-forge
lcms2                     2.14                 h90d422f_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libaec                    1.0.6                h63175ca_1    conda-forge
libblas                   3.9.0              17_win64_mkl    conda-forge
libbrotlicommon           1.0.9                hcfcfb64_9    conda-forge
libbrotlidec              1.0.9                hcfcfb64_9    conda-forge
libbrotlienc              1.0.9                hcfcfb64_9    conda-forge
libcblas                  3.9.0              17_win64_mkl    conda-forge
libclang                  15.0.7          default_h77d9078_3    conda-forge
libclang13                15.0.7          default_h77d9078_3    conda-forge
libcurl                   7.88.1               h68f0423_1    conda-forge
libdeflate                1.14                 hcfcfb64_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgd                     2.3.3                h891f43f_3    conda-forge
libglib                   2.76.4               he8f3873_0    conda-forge
libhwloc                  2.9.1                h51c2c0f_0    conda-forge
libiconv                  1.17                 h8ffe710_0    conda-forge
libignition-cmake2        2.16.0               h63175ca_1    conda-forge
libignition-math6         6.14.0          py310h595d6f7_0    conda-forge
liblapack                 3.9.0              17_win64_mkl    conda-forge
liblapacke                3.9.0              17_win64_mkl    conda-forge
libnetcdf                 4.8.1           nompi_h8c042bf_106    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libopencv                 4.6.0           py310h1921fa2_8    conda-forge
libopus                   1.3.1                h8ffe710_1    conda-forge
libpng                    1.6.39               h19919ed_0    conda-forge
libprotobuf               3.21.12              h12be248_1    conda-forge
libraw                    0.20.2               h3eb7d9d_2    conda-forge
libsqlite                 3.43.0               hcfcfb64_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libtheora                 1.1.1             h8d14728_1005    conda-forge
libtiff                   4.4.0                hc4f729c_5    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libwebp                   1.3.1                hcfcfb64_0    conda-forge
libwebp-base              1.3.1                hcfcfb64_0    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxml2                   2.10.4               hc3477c8_0    conda-forge
libxslt                   1.1.37               h0192164_0    conda-forge
libzip                    1.10.1               h1d365fa_0    conda-forge
libzlib                   1.2.13               hcfcfb64_5    conda-forge
loguru                    0.7.0           py310h5588dad_0    conda-forge
lxml                      4.9.2           py310hc0e5b84_0    conda-forge
lz4-c                     1.9.4                hcfcfb64_0    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
matplotlib-base           3.7.2           py310h51140c5_0    conda-forge
mccabe                    0.7.0              pyhd8ed1ab_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
multidict                 6.0.4           py310h8d17308_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
netifaces                 0.11.0          py310h8d17308_1    conda-forge
nlohmann_json             3.11.2               h39d44d4_0    conda-forge
numpy                     1.25.2          py310hd02465a_0    conda-forge
openexr                   3.1.5                h97333cc_2    conda-forge
openh264                  2.3.1                h63175ca_2    conda-forge
openjpeg                  2.5.0                hc9384bd_1    conda-forge
openssl                   3.1.2                hcfcfb64_0    conda-forge
orocos-kdl                1.5.1                h63175ca_4    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pango                     1.50.14              hdffb7b3_0    conda-forge
pcl                       1.12.1               h266aab6_4    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pcre2                     10.40                h17e33f8_0    conda-forge
pep517                    0.13.0             pyhd8ed1ab_0    conda-forge
pillow                    9.2.0           py310hd4fb230_3    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
pkg-config                0.29.2            h2bf4dc2_1008    conda-forge
pluggy                    1.2.0              pyhd8ed1ab_0    conda-forge
ply                       3.11                       py_1    conda-forge
proj                      9.1.0                h3863b3b_0    conda-forge
psutil                    5.9.5           py310h8d17308_0    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pthreads-win32            2.9.1                hfa6e2cd_3    conda-forge
pugixml                   1.11.4               h63175ca_1    conda-forge
py-opencv                 4.6.0           py310hbbfc1a7_8    conda-forge
pybind11                  2.11.1          py310h232114e_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pybind11-global           2.11.1          py310h232114e_0    conda-forge
pybullet                  3.24            py310h1c4a608_0    conda-forge
pycairo                   1.24.0          py310h42c1a3e_0    conda-forge
pycodestyle               2.11.0             pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydocstyle                6.3.0              pyhd8ed1ab_0    conda-forge
pydot                     1.4.2           py310h5588dad_3    conda-forge
pyflakes                  3.1.0              pyhd8ed1ab_0    conda-forge
pygments                  2.16.1             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyqt                      5.15.9          py310h1fd54f2_4    conda-forge
pyqt-builder              1.15.2             pyhd8ed1ab_0    conda-forge
pyqt5-sip                 12.12.2         py310h00ffb61_4    conda-forge
pytest                    7.4.0              pyhd8ed1ab_0    conda-forge
python                    3.10.12         h4de0772_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pyyaml                    6.0.1           py310h8d17308_0    conda-forge
qhull                     2020.2               h70d2c02_2    conda-forge
qt-main                   5.15.8               h720456b_6    conda-forge
ros-humble-action-msgs    1.2.1           py310ha45506e_3    robostack-staging
ros-humble-action-tutorials-cpp 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-action-tutorials-interfaces 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-action-tutorials-py 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-actionlib-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake    1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-auto 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-copyright 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-core 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-cppcheck 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-cpplint 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-definitions 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-dependencies 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-include-directories 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-interfaces 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-libraries 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-link-flags 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-targets 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-flake8 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gen-version-h 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gmock 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gtest 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-include-directories 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-libraries 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-lint-cmake 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-pep257 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-pytest 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-python 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-ros 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-target-dependencies 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-test 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-uncrustify 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-version 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-xmllint 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-copyright 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cppcheck 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cpplint  0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-flake8   0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-index-cpp 1.4.0           py310ha45506e_3    robostack-staging
ros-humble-ament-index-python 1.4.0           py310ha45506e_3    robostack-staging
ros-humble-ament-lint     0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-auto 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-cmake 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-common 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-package  0.14.0          py310ha45506e_3    robostack-staging
ros-humble-ament-pep257   0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-uncrustify 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-xmllint  0.12.5          py310ha45506e_3    robostack-staging
ros-humble-angles         1.15.0          py310ha45506e_3    robostack-staging
ros-humble-builtin-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-class-loader   2.2.0           py310haec4aa5_3    robostack-staging
ros-humble-common-interfaces 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-composition    0.20.3          py310ha45506e_3    robostack-staging
ros-humble-composition-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-console-bridge-vendor 1.4.1           py310haec4aa5_3    robostack-staging
ros-humble-cv-bridge      3.2.1           py310h9afa7c5_3    robostack-staging
ros-humble-demo-nodes-cpp 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-demo-nodes-cpp-native 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-demo-nodes-py  0.20.3          py310ha45506e_3    robostack-staging
ros-humble-depthimage-to-laserscan 2.5.0           py310h6fa8c79_3    robostack-staging
ros-humble-desktop        0.10.0          py310ha45506e_3    robostack-staging
ros-humble-diagnostic-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-domain-coordinator 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-dummy-map-server 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-dummy-robot-bringup 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-dummy-sensors  0.20.3          py310ha45506e_3    robostack-staging
ros-humble-eigen3-cmake-module 0.1.1           py310ha45506e_3    robostack-staging
ros-humble-example-interfaces 0.9.3           py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-action-client 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-action-server 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-client 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-composition 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-publisher 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-service 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-subscriber 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-minimal-timer 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclcpp-multithreaded-executor 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-executors 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-action-client 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-action-server 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-client 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-publisher 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-service 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-examples-rclpy-minimal-subscriber 0.15.1          py310ha45506e_3    robostack-staging
ros-humble-fastcdr        1.0.24          py310ha45506e_3    robostack-staging
ros-humble-fastrtps       2.6.4           py310h3b33bf3_3    robostack-staging
ros-humble-fastrtps-cmake-module 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-foonathan-memory-vendor 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-geometry-msgs  4.2.3           py310ha45506e_3    robostack-staging
ros-humble-geometry2      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-gmock-vendor   1.10.9004       py310ha45506e_3    robostack-staging
ros-humble-gtest-vendor   1.10.9004       py310ha45506e_3    robostack-staging
ros-humble-ignition-cmake2-vendor 0.0.2           py310ha45506e_3    robostack-staging
ros-humble-ignition-math6-vendor 0.0.2           py310ha45506e_3    robostack-staging
ros-humble-image-geometry 3.2.1           py310h6fa8c79_3    robostack-staging
ros-humble-image-tools    0.20.3          py310h6fa8c79_3    robostack-staging
ros-humble-image-transport 3.1.5           py310ha45506e_3    robostack-staging
ros-humble-interactive-markers 2.3.2           py310ha45506e_3    robostack-staging
ros-humble-intra-process-demo 0.20.3          py310h6fa8c79_3    robostack-staging
ros-humble-joy            3.1.0           py310ha45506e_3    robostack-staging
ros-humble-kdl-parser     2.6.4           py310ha45506e_3    robostack-staging
ros-humble-keyboard-handler 0.0.5           py310ha45506e_3    robostack-staging
ros-humble-laser-geometry 2.4.0           py310ha45506e_3    robostack-staging
ros-humble-launch         1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-ros     0.19.4          py310ha45506e_3    robostack-staging
ros-humble-launch-testing 1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-testing-ament-cmake 1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-testing-ros 0.19.4          py310ha45506e_3    robostack-staging
ros-humble-launch-xml     1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-yaml    1.0.4           py310ha45506e_3    robostack-staging
ros-humble-libcurl-vendor 3.1.1           py310hd7741ce_3    robostack-staging
ros-humble-libstatistics-collector 1.3.0           py310ha45506e_3    robostack-staging
ros-humble-libyaml-vendor 1.2.2           py310ha45506e_3    robostack-staging
ros-humble-lifecycle      0.20.3          py310ha45506e_3    robostack-staging
ros-humble-lifecycle-msgs 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-logging-demo   0.20.3          py310ha45506e_3    robostack-staging
ros-humble-map-msgs       2.1.0           py310ha45506e_3    robostack-staging
ros-humble-message-filters 4.3.2           py310ha45506e_3    robostack-staging
ros-humble-nav-msgs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-orocos-kdl-vendor 0.2.5           py310ha45506e_3    robostack-staging
ros-humble-osrf-pycommon  2.0.2           py310ha45506e_3    robostack-staging
ros-humble-pcl-conversions 2.4.0           py310h44ae38f_3    robostack-staging
ros-humble-pcl-msgs       1.0.0           py310ha45506e_3    robostack-staging
ros-humble-pendulum-msgs  0.20.3          py310ha45506e_3    robostack-staging
ros-humble-pluginlib      5.1.0           py310ha45506e_3    robostack-staging
ros-humble-pybind11-vendor 2.4.2           py310ha45506e_3    robostack-staging
ros-humble-python-cmake-module 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-python-qt-binding 1.1.1           py310ha45506e_3    robostack-staging
ros-humble-qt-dotgraph    2.2.2           py310ha45506e_3    robostack-staging
ros-humble-qt-gui         2.2.2           py310ha45506e_3    robostack-staging
ros-humble-qt-gui-cpp     2.2.2           py310ha45506e_3    robostack-staging
ros-humble-qt-gui-py-common 2.2.2           py310ha45506e_3    robostack-staging
ros-humble-quality-of-service-demo-cpp 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-quality-of-service-demo-py 0.20.3          py310ha45506e_3    robostack-staging
ros-humble-rcl            5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-action     5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-rcl-lifecycle  5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-logging-interface 2.3.1           py310ha45506e_3    robostack-staging
ros-humble-rcl-logging-spdlog 2.3.1           py310h5cedc13_3    robostack-staging
ros-humble-rcl-yaml-param-parser 5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rclcpp         16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-action  16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-components 16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-lifecycle 16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclpy          3.3.7           py310ha45506e_3    robostack-staging
ros-humble-rcpputils      2.4.0           py310ha45506e_3    robostack-staging
ros-humble-rcutils        5.1.2           py310ha45506e_3    robostack-staging
ros-humble-resource-retriever 3.1.1           py310ha45506e_3    robostack-staging
ros-humble-rmw            6.1.1           py310ha45506e_3    robostack-staging
ros-humble-rmw-connextdds 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-rmw-connextdds-common 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-rmw-dds-common 1.6.0           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-dynamic-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-shared-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-implementation 2.8.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-implementation-cmake 6.1.1           py310ha45506e_3    robostack-staging
ros-humble-robot-state-publisher 3.0.2           py310ha45506e_3    robostack-staging
ros-humble-ros-base       0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ros-core       0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ros-environment 3.2.2           py310ha45506e_3    robostack-staging
ros-humble-ros-workspace  1.0.2           py310ha45506e_3    robostack-staging
ros-humble-ros2action     0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2bag        0.15.4          py310ha45506e_3    robostack-staging
ros-humble-ros2cli        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2cli-common-extensions 0.1.1           py310ha45506e_3    robostack-staging
ros-humble-ros2component  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2doctor     0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2interface  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2launch     0.19.4          py310ha45506e_3    robostack-staging
ros-humble-ros2lifecycle  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2multicast  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2node       0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2param      0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2pkg        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2run        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2service    0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2topic      0.18.5          py310ha45506e_3    robostack-staging
ros-humble-rosbag2        0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-compression 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-compression-zstd 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-cpp    0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-interfaces 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-py     0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-storage 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-storage-default-plugins 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-transport 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosgraph-msgs  1.2.1           py310ha45506e_3    robostack-staging
ros-humble-rosidl-adapter 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-cli     3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-cmake   3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-default-generators 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-default-runtime 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-py 0.14.4          py310ha45506e_3    robostack-staging
ros-humble-rosidl-parser  3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-py 0.9.3           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-c 2.0.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-cpp 2.0.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-fastrtps-c 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-fastrtps-cpp 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-interface 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-introspection-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-introspection-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rpyutils       0.2.1           py310ha45506e_3    robostack-staging
ros-humble-rqt-action     2.0.1           py310ha45506e_3    robostack-staging
ros-humble-rqt-bag        1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-bag-plugins 1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-common-plugins 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rqt-console    2.0.2           py310ha45506e_3    robostack-staging
ros-humble-rqt-graph      1.3.0           py310ha45506e_3    robostack-staging
ros-humble-rqt-gui        1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-gui-cpp    1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-gui-py     1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-image-view 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rqt-msg        1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rqt-plot       1.1.2           py310ha45506e_3    robostack-staging
ros-humble-rqt-publisher  1.5.0           py310ha45506e_3    robostack-staging
ros-humble-rqt-py-common  1.1.4           py310ha45506e_3    robostack-staging
ros-humble-rqt-py-console 1.0.2           py310ha45506e_3    robostack-staging
ros-humble-rqt-reconfigure 1.1.1           py310ha45506e_3    robostack-staging
ros-humble-rqt-service-caller 1.0.5           py310ha45506e_3    robostack-staging
ros-humble-rqt-shell      1.0.2           py310ha45506e_3    robostack-staging
ros-humble-rqt-srv        1.0.3           py310ha45506e_3    robostack-staging
ros-humble-rqt-topic      1.5.0           py310ha45506e_3    robostack-staging
ros-humble-rti-connext-dds-cmake-module 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-rviz-assimp-vendor 11.2.5          py310h9d4f851_3    robostack-staging
ros-humble-rviz-common    11.2.5          py310ha45506e_3    robostack-staging
ros-humble-rviz-default-plugins 11.2.5          py310ha45506e_3    robostack-staging
ros-humble-rviz-ogre-vendor 11.2.5          py310hecfa9c1_3    robostack-staging
ros-humble-rviz-rendering 11.2.5          py310hef9c4db_3    robostack-staging
ros-humble-rviz2          11.2.5          py310ha45506e_3    robostack-staging
ros-humble-sdl2-vendor    3.1.0           py310hd28ba6e_3    robostack-staging
ros-humble-sensor-msgs    4.2.3           py310ha45506e_3    robostack-staging
ros-humble-sensor-msgs-py 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-shape-msgs     4.2.3           py310ha45506e_3    robostack-staging
ros-humble-shared-queues-vendor 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-spdlog-vendor  1.3.1           py310h5cedc13_3    robostack-staging
ros-humble-sqlite3-vendor 0.15.4          py310h2bd8c7d_3    robostack-staging
ros-humble-sros2          0.10.4          py310ha45506e_3    robostack-staging
ros-humble-sros2-cmake    0.10.4          py310ha45506e_3    robostack-staging
ros-humble-statistics-msgs 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-std-msgs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-std-srvs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-stereo-msgs    4.2.3           py310ha45506e_3    robostack-staging
ros-humble-tango-icons-vendor 0.1.1           py310ha45506e_3    robostack-staging
ros-humble-teleop-twist-joy 2.4.3           py310ha45506e_3    robostack-staging
ros-humble-teleop-twist-keyboard 2.3.2           py310ha45506e_3    robostack-staging
ros-humble-tf2            0.25.2          py310haec4aa5_3    robostack-staging
ros-humble-tf2-bullet     0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-eigen      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-eigen-kdl  0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-geometry-msgs 0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-kdl        0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-msgs       0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-py         0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-ros        0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-ros-py     0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-sensor-msgs 0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-tools      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tinyxml-vendor 0.8.3           py310ha45506e_3    robostack-staging
ros-humble-tinyxml2-vendor 0.7.5           py310h3073ef2_3    robostack-staging
ros-humble-topic-monitor  0.20.3          py310ha45506e_3    robostack-staging
ros-humble-tracetools     4.1.1           py310ha45506e_3    robostack-staging
ros-humble-trajectory-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-turtlesim      1.4.2           py310ha45506e_3    robostack-staging
ros-humble-uncrustify-vendor 2.0.2           py310ha45506e_3    robostack-staging
ros-humble-unique-identifier-msgs 2.2.1           py310ha45506e_3    robostack-staging
ros-humble-urdf           2.6.0           py310ha45506e_3    robostack-staging
ros-humble-urdf-parser-plugin 2.6.0           py310ha45506e_3    robostack-staging
ros-humble-urdfdom        3.0.2           py310haec4aa5_3    robostack-staging
ros-humble-urdfdom-headers 1.0.6           py310ha45506e_3    robostack-staging
ros-humble-visualization-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-yaml-cpp-vendor 8.0.2           py310ha45506e_3    robostack-staging
ros-humble-zstd-vendor    0.15.4          py310h1059200_3    robostack-staging
ros2-distro-mutex         0.3.0                    humble    robostack-staging
rosdistro                 0.9.0           py310h5588dad_0    conda-forge
rospkg                    1.5.0              pyhd8ed1ab_0    conda-forge
sdl2                      2.26.5               h63175ca_0    conda-forge
setuptools                61.0.0          py310h5588dad_0    conda-forge
sip                       6.7.11          py310h00ffb61_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
spdlog                    1.11.0               hfbadfc6_1    conda-forge
sqlite                    3.43.0               hcfcfb64_0    conda-forge
svt-av1                   1.4.1                h63175ca_0    conda-forge
tbb                       2021.9.0             h91493d7_0    conda-forge
tbb-devel                 2021.9.0             h91493d7_0    conda-forge
tinyxml                   2.6.2                h2d74725_2    conda-forge
tinyxml2                  9.0.0                h0e60522_2    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
typing-extensions         4.7.1                hd8ed1ab_0    conda-forge
typing_extensions         4.7.1              pyha770c72_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
uncrustify                0.74.0               h57928b3_0    conda-forge
unicodedata2              15.0.0          py310h8d17308_0    conda-forge
utfcpp                    3.2.4                h57928b3_0    conda-forge
vc                        14.3                h64f974e_17    conda-forge
vc14_runtime              14.36.32532         hfdfe4a8_17    conda-forge
vs2015_runtime            14.36.32532         h05e6639_17    conda-forge
vs2019_win-64             19.29.30139         he1865b1_17    conda-forge
vswhere                   3.1.4                h57928b3_0    conda-forge
vtk                       9.2.2           qt_py310h2fd250f_205    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
win32_setctime            1.1.0              pyhd8ed1ab_0    conda-forge
wslink                    1.11.1             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h8ffe710_2    conda-forge
x265                      3.5                  h2d74725_3    conda-forge
xorg-kbproto              1.0.7             hcd874cb_1002    conda-forge
xorg-libice               1.0.10               hcd874cb_0    conda-forge
xorg-libsm                1.2.3             hcd874cb_1000    conda-forge
xorg-libx11               1.8.4                hcd874cb_0    conda-forge
xorg-libxau               1.0.11               hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xorg-libxext              1.3.4                hcd874cb_2    conda-forge
xorg-libxpm               3.5.16               hcd874cb_0    conda-forge
xorg-libxt                1.3.0                hcd874cb_0    conda-forge
xorg-xextproto            7.3.0             hcd874cb_1003    conda-forge
xorg-xproto               7.0.31            hcd874cb_1007    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yaml-cpp                  0.7.0                h63175ca_2    conda-forge
yarl                      1.9.2           py310h8d17308_0    conda-forge
zipp                      3.16.2             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hcfcfb64_5    conda-forge
zstd                      1.5.2                h12be248_7    conda-forge
zziplib                   0.13.69              h1d00b33_1    conda-forge

Environment info

active environment : ros_humble
    active env location : C:\Users\Ricardo Peres\.conda\envs\ros_humble
            shell level : 1
       user config file : C:\Users\Ricardo Peres\.condarc
 populated config files : C:\mambaforge\.condarc
                          C:\Users\Ricardo Peres\.conda\envs\ros_humble\.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.2=0
                          __win=0=0
       base environment : C:\mambaforge  (read only)
      conda av data dir : C:\mambaforge\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/robostack-staging/win-64
                          https://conda.anaconda.org/robostack-staging/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\mambaforge\pkgs
                          C:\Users\Ricardo Peres\.conda\pkgs
                          C:\Users\Ricardo Peres\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Ricardo Peres\.conda\envs
                          C:\mambaforge\envs
                          C:\Users\Ricardo Peres\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.3.1 requests/2.31.0 CPython/3.10.12 Windows/10 Windows/10.0.22621
          administrator : False
             netrc file : None
           offline mode : False
@RicardoSPeres RicardoSPeres added the bug Something isn't working label Aug 26, 2023
@traversaro
Copy link
Member

I tried a few commands and they are working fine. Can you report exactly the command you are executing that is resulting in "failed to create process." error? Thanks!

@RicardoSPeres
Copy link
Author

After following the "getting started" instructions, testing works fine and rviz2 opens the rviz window as expected. However any command starting with "ros2" results in the "failed to create process" output, it can be anything from just running "ros2", to "ros2 run <package_name> ", "ros2 launch <package_name> <launch_file>" etc.

I noticed there are multiple errors when I activate the ros2 env, might be related. Here's the output after running "mamba activate ros_humble":

C:\>mamba activate ros_humble

C:\>SET DISTUTILS_USE_SDK=1

C:\>SET MSSdk=1

C:\>SET "VS_VERSION=16.0"

C:\>SET "VS_MAJOR=16"

C:\>SET "VS_YEAR=2019"

C:\>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out"

C:\>set "MSYS2_ENV_CONV_EXCL=CL"

C:\>set "PY_VCRUNTIME_REDIST=\bin\vcruntime140.dll"

C:\>set "CXX=cl.exe"

C:\>set "CC=cl.exe"

C:\>set "VSINSTALLDIR="

C:\>set "NEWER_VS_WITH_OLDER_VC=0"

C:\>for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -version [16.0,17.0) -property installationPath`) do (set "VSINSTALLDIR=%i\" )

C:\>(set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.ComponentGroup.VC.Tools.142.x86.x64 -property installationPath`) do (
set "VSINSTALLDIR=%i\"
 set "NEWER_VS_WITH_OLDER_VC=1"
) )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.Component.VC.v142.x86.x64 -property installationPath`) do (
set "VSINSTALLDIR=%i\"
 set "NEWER_VS_WITH_OLDER_VC=1"
) )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\" )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\" )

C:\>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" )

C:\>IF NOT "" == "" (
set "INCLUDE=;"
 set "LIB=;"
 set "CMAKE_PREFIX_PATH=;"
)

C:\>call :GetWin10SdkDir

C:\>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node  1>nul 2>&1

C:\>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node  1>nul 2>&1

C:\>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE  1>nul 2>&1

C:\>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE  1>nul 2>&1

C:\>if errorlevel 1 exit /B 1

C:\>exit /B 0

C:\>for /F %i in ('dir /ON /B "C:\Program Files (x86)\Windows Kits\10\\include\10.*"') DO (SET WindowsSDKVer=%~i )

C:\>(SET WindowsSDKVer=10.0.18362.0 )

C:\>if errorlevel 1 (echo "Didn't find any windows 10 SDK. I'm not sure if things will work, but let's try..." )  else (echo Windows SDK version found as: "10.0.18362.0" )
Windows SDK version found as: "10.0.18362.0"

C:\>set "CMAKE_PLAT=x64"

C:\>set "VCVARSBAT=64"

C:\>set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release"

C:\>IF "" == "1" (set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX= -DCMAKE_PROGRAM_PATH=\bin;\Scripts;\Library\bin;\bin;\Scripts;\Library\bin" )

C:\>IF NOT "win-64" == "win-64" (
set "CONDA_BUILD_CROSS_COMPILATION=1"
 set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_PROCESSOR=AMD64"
)  else (set "CONDA_BUILD_CROSS_COMPILATION=0" )

C:\>IF 2019 GEQ 2019 (
set "CMAKE_GEN=Visual Studio 16 2019"
 set "USE_NEW_CMAKE_GEN_SYNTAX=1"
)  ELSE (
IF "win-64" == "win-64" (set "CMAKE_GEN=Visual Studio 16 2019 Win64" )  else (set "CMAKE_GEN=Visual Studio 16 2019" )
 set "USE_NEW_CMAKE_GEN_SYNTAX=0"
)

C:\>echo "NEWER_VS_WITH_OLDER_VC=0"
"NEWER_VS_WITH_OLDER_VC=0"

C:\>if "0" == "1" (set /p NEWER_VS= 0<"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt" )

C:\>type "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt"
14.28.29333

C:\>dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\\VC\Redist\MSVC\"
 Volume in drive C has no label.
 Volume Serial Number is 8816-3E50

 Directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC

19/01/2021  16:17    <DIR>          .
19/01/2021  16:17    <DIR>          ..
19/01/2021  16:17    <DIR>          14.28.29325
19/01/2021  16:17    <DIR>          v142
               0 File(s)              0 bytes
               4 Dir(s)  140,752,433,152 bytes free

C:\>if "0" == "1" (
echo ""
 if "~0,4" == "14.2" (set "CMAKE_GEN=Visual Studio 16 2019" )  else (set "CMAKE_GEN=Visual Studio 17 2022" )
 set "USE_NEW_CMAKE_GEN_SYNTAX=1"
)

C:\>IF "" == "" SET "CMAKE_GENERATOR=Visual Studio 16 2019"

C:\>IF "1" == "1" (
IF "" == "" SET "CMAKE_GENERATOR_PLATFORM=x64"
 IF "" == "" SET "CMAKE_GENERATOR_TOOLSET=v142"
)

C:\>pushd C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.29 10.0.18362.0
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.8.4
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
[ERROR:vcvars.bat] Toolset directory for version '14.29' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat]    1 : basic debug logging
[ERROR:VsDevCmd.bat]    2 : detailed debug logging
[ERROR:VsDevCmd.bat]    3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat]          vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.8.4
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

(ros_humble) C:\>

@traversaro
Copy link
Member

traversaro commented Aug 27, 2023

I just tried ros2 launch turtlesim multisim.launch.py from https://docs.ros.org/en/rolling/Tutorials/Beginner-CLI-Tools/Launching-Multiple-Nodes/Launching-Multiple-Nodes.html and it is working fine?
Can you tell exactly a command (i.e. that I can just copy&paste the command to reproduce the problem) that is giving you the error? Thanks!

@RicardoSPeres
Copy link
Author

The issue happens with anything starting with ros2, I just tried running ros2 launch turtlesim multisim.launch.py and the output is still "failed to create process.". Thank you

@traversaro
Copy link
Member

traversaro commented Aug 30, 2023

Can you try to install the environment in a directory without spaces? You can do that by creating an environment in a specific directory with mamba -p C:\testenv instead of creating a named environment with mamba -n.

By manually creating an environment with a space in the path, I was able to reproduce the problem. The error seems to be similar to pypa/pip#2783, even if that one should be solved.

@traversaro
Copy link
Member

The problem does not occurs with entry_points in conda-forge recipes, so it is either a problem of boa or of how recipes with Python entry_points are generated in robostack.

@Tobias-Fischer
Copy link
Contributor

I don't think we take care of the specifying Python entry points in the meta.yaml/recipe.yaml (as per https://docs.conda.io/projects/conda-build/en/stable/resources/define-metadata.html#python-entry-points). We might be able to steal some code from grayskull to generate them in vinca automatically.

@Tobias-Fischer Tobias-Fischer changed the title failed to create process when running ros2 on W11 failed to create process when running ros2 on W11 when spaces are in path Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

3 participants