osrf / ros2_test_cases

Tracking of tests to be performed on a ROS 2 release
16 stars 4 forks source link

Installation instructions #1526

Closed marcoag closed 4 months ago

marcoag commented 5 months ago

Follow the official installation instructions for the platform. If instructions have not been published for the platform, use the instructions for Rolling Ridley.

For source build platforms, this includes the installation of dependencies and building the packages.

Configuration

Links

Process

Install works

prototriangle commented 5 months ago

I'd like to give this a go on Windows 10 22H2

prototriangle commented 5 months ago

The Install OpenSSL section has an issue in the instructions:

Download the Win64 OpenSSL v1.1.1n OpenSSL installer from this page. Scroll to the bottom of the page and download Win64 OpenSSL v1.1.1t. Don’t download the Win32 or Light versions, or the v3.X.Y installers.

Shining Light Productions currently only offers versions 3.0.13, 3.1.5, 3.2.1, and 3.3.0.

Would using v3.X.Y lead to problems?

clalancette commented 5 months ago

Would using v3.X.Y lead to problems?

Ah, that is a good question. I didn't realize they stopped offering the 1.X series.

I think the 3.X series should work. I'm going to suggest you go ahead and try out the latest (3.3.0), and see if it builds and works. If so, we can update the documentation.

prototriangle commented 5 months ago

Putting this here for reference: https://github.com/ros2/ros2_documentation/pull/2878

prototriangle commented 5 months ago

Separate issue has occurred.

Error building gz_cmake_vendor

Perhaps an issue with CMake configuration

C:\jazzy>colcon build --merge-install
...
Summary: 83 packages finished [8min 33s]
  1 package failed: gz_cmake_vendor
  7 packages aborted: cyclonedds foonathan_memory_vendor libcurl_vendor mcap_vendor rviz_assimp_vendor rviz_ogre_vendor uncrustify_vendor
  272 packages not processed
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)
C:\jazzy>colcon build --merge-install --packages-select gz_cmake_vendor --event-handlers console_direct+
Starting >>> gz_cmake_vendor
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Performing install step for 'gz_cmake_vendor'
  Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

    1>
    -- Install configuration: "Release"
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/msvcp140.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/msvcp140_1.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/msvcp140_2.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/msvcp140_atomic_wait.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/msvcp140_codecvt_ids.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/vcruntime140_1.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/vcruntime140.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin/concrt140.dll
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/bin
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/benchmark
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/benchmark/run_benchmarks.py
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/codecheck
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/codecheck/cpplint.py
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/codecheck/header_guard.rule
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/codecheck/namespace_AZ.rule
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/tools
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/tools/check_test_ran.py
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/gz/gz-cmake3/tools/doc_check.sh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/gz-cmake3-config.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/gz-cmake3-config-version.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/lib/pkgconfig/gz-cmake3.pc
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/gz-cmake3-utilities-targets.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities/detail
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities/detail/ExtraTestMacros.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities/detail/SuppressWarning.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities/ExtraTestMacros.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/gz/utilities/SuppressWarning.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/ignition
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/ignition/utilities
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/ignition/utilities/ExtraTestMacros.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/include/gz/cmake3/ignition/utilities/SuppressWarning.hh
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindAVCODEC.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindAVDEVICE.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindAVFORMAT.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindAVUTIL.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindCPPZMQ.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindDL.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindEIGEN3.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindFreeImage.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGTS.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzAssimp.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzBullet.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzCURL.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzOGRE.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzOGRE2.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzProtobuf.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindGzURDFDOM.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindIFADDRS.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindJSONCPP.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindODE.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindOptiX.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindSQLite3.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindSWSCALE.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindTINYXML2.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindUUID.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindYAML.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindZIP.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/FindZeroMQ.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzAddComponent.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzBenchmark.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzBuildExamples.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzBuildExecutables.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzBuildTests.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCMake.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCheckSSE.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCmakeLogging.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCodeCheck.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCodeCoverage.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzConfigureProject.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCreateCoreLibrary.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCreateDocs.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzCxxStandard.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzGenerateVersionInfo.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzGetLibSourcesAndUnitTests.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzGetSources.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzImportTarget.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzInstallAllHeaders.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzManualSearch.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzPackaging.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzPkgConfig.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzPython.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzRelocatableBinaries.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzRonn2Man.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzSanitizers.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzSetCompilerFlags.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzStringAppend.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/GzUtils.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/JoinPaths.cmake
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/Export.hh.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/cmake_uninstall.cmake.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/cpack_options.cmake.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/gz-all-config.cmake.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/gz-component-config.cmake.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/gz-config.cmake.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/gz_auto_headers.hh.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/upload_doc.sh.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/version_info.json.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/pkgconfig/gz-component.pc.in
    -- Up-to-date: C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/install/share/cmake/gz-cmake3/cmake3/pkgconfig/gz.pc.in
    CMake Error at cmake_install.cmake:184 (file):
      file INSTALL cannot find
      "C:/jazzy/build/gz_cmake_vendor/gz_cmake_vendor-prefix/src/gz_cmake_vendor-build/cmake/IgnPython.cmake":
      No error.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: The command "setlocal [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLevel [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" exited with code 1. [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor-prefix\src\gz_cmake_vendor-build\install.vcxproj] [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\jazzy\build\gz_cmake_vendor\CMakeFiles\8ffa44381702503c853f93899e600fef\gz_cmake_vendor-install.rule;C:\jazzy\build\gz_cmake_vendor\CMakeFiles\98b1a0cf0d832e02df950a35f6d81d84\gz_cmake_vendor-complete.rule;C:\jazzy\build\gz_cmake_vendor\CMakeFiles\3d8b5662a59e536acfc3f77ed748f3e6\gz_cmake_vendor.rule' exited with code 1. [C:\jazzy\build\gz_cmake_vendor\gz_cmake_vendor.vcxproj]
Failed   <<< gz_cmake_vendor [3.12s, exited with code 1]

Summary: 0 packages finished [6.19s]
  1 package failed: gz_cmake_vendor
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

repo version

PS C:\jazzy\src\gazebo-release\gz_cmake_vendor> git status
On branch jazzy
Your branch is up to date with 'origin/jazzy'.

nothing to commit, working tree clean
PS C:\jazzy\src\gazebo-release\gz_cmake_vendor> git log
commit cf084f5c5e4f55412fd14ccbbdcdad4b1e39264f (HEAD -> jazzy, tag: 0.0.7, origin/jazzy)
Author: Addisu Z. Taddese <addisu@openrobotics.org>
Date:   Thu Apr 25 16:07:36 2024 -0500

    0.0.7
clalancette commented 5 months ago

I think the 3.X series should work. I'm going to suggest you go ahead and try out the latest (3.3.0), and see if it builds and works. If so, we can update the documentation.

OK, it turns out that there was a bug in CMake that will not allow OpenSSL 3.3 packages to work. It was fixed at the beginning of April in https://github.com/Kitware/CMake/commit/aa86f487c23a080b381b1b605056f8f394269223 , and there is a new release (3.29.2) that includes it.

So I think what we probably need to do here is to switch to installing OpenSSL 3.3.0 via chocolatey in the installation instructions. That will also mean we need to update CMake to at least 3.29.2. And finally, we'll have to update CI so that it does the same thing we are instructing users to do.

I'll get started on making all of that happen, it will take a few hours.

prototriangle commented 5 months ago

Not sure it's relevant but want to highlight that there's an OpenSSL binary provided at https://www.zlatkovic.com/pub/libxml/64bit/ currently at v1.0.2e if it's preferable to not use a newer version.

clalancette commented 5 months ago

I just wanted to leave an update here to say we have been working on the issue. To fix this properly, we are going to have to do a number of upgrades, at least:

(I also think it is likely we'll need one or two more PRs)

We'll keep working through this in the next couple of days.

clalancette commented 4 months ago

All right. It turned out that due to various other problems, we couldn't actually update to OpenSSL 3.3.0 on Windows (though this is something we are going to look at for post-Jazzy). Instead, we actually switched both our CI and the instructions to install OpenSSL 1.1.1 from chocolatey, which is exactly what people did to workaround this issue during testing.

With that, I'm going to close this out as done. Thanks for testing and the patience here, all. Going ahead and closing this one.