You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #552, this issue has to do with a component that isn't tested in the github actions, with the difference that Go is not automatically enabled by Cmake even if it's installed and has to be enabled with -DLCM_ENABLE_GO=ON. If Go is installed on Windows and is enabled via Cmake, the build fails. This happens both for 1.5.0 and master.
Steps to reproduce:
Install Java JDK on Windows (may not be necessary)
Install Go on Windows (I have version 1.23.4)
Launch MSYS2 in MinGW64 environment: msys2_shell.cmd -mingw64 -full-path
Currently, the Go extensions of LCM are in need of a maintainer. I took a quick look at it in case it was an easy fix but was unable to get LCM to pick up Go on Windows. If I install go via pacboy I get:
go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set
Unable to parse the Go version string:
CMake Error at C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find Go (missing: GO_VERSION GO_PLATFORM GO_ARCH)
Call Stack (most recent call first):
C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGo.cmake:32 (find_package_handle_standard_args)
lcm-cmake/functions.cmake:16 (find_package)
CMakeLists.txt:87 (lcm_option)
when trying to configure a build directory with the -DLCM_ENABLE_GO=ON flag.
Similar to #552, this issue has to do with a component that isn't tested in the github actions, with the difference that Go is not automatically enabled by Cmake even if it's installed and has to be enabled with
-DLCM_ENABLE_GO=ON
. If Go is installed on Windows and is enabled via Cmake, the build fails. This happens both for 1.5.0 and master.Steps to reproduce:
msys2_shell.cmd -mingw64 -full-path
cmake -DLCM_ENABLE_GO=ON -DPython_FIND_REGISTRY=NEVER
cmake --build build
Step 5 output is the same as in #552 with the exception that Lua isn't found if you don't install it, but that shouldn't affect this issue.
Step 6 output:
The text was updated successfully, but these errors were encountered: