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

Generate conda packages on Windows failed #1514

Closed
traversaro opened this issue Oct 31, 2023 · 3 comments · Fixed by #1515
Closed

Generate conda packages on Windows failed #1514

traversaro opened this issue Oct 31, 2023 · 3 comments · Fixed by #1515

Comments

@traversaro
Copy link
Member

2023-10-31T09:57:43.3762929Z 
2023-10-31T09:57:43.3763253Z %SRC_DIR%>set "PIP_NO_BUILD_ISOLATION=False" 
2023-10-31T09:57:43.6316794Z CMake Warning (dev) at C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/CMakeDependentOption.cmake:89 (message):
2023-10-31T09:57:43.6318522Z   Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
2023-10-31T09:57:43.6319565Z   Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
2023-10-31T09:57:43.6320568Z   cmake_policy command to set the policy and suppress this warning.
2023-10-31T09:57:43.6321347Z Call Stack (most recent call first):
2023-10-31T09:57:43.6322577Z   C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/yarp/cmake/YarpPlugin.cmake:346 (cmake_dependent_option)
2023-10-31T09:57:43.6324418Z   src/libraries/icubmod/imuFilter/CMakeLists.txt:5 (yarp_prepare_plugin)
2023-10-31T09:57:43.6325507Z This warning is for project developers.  Use -Wno-dev to suppress it.
2023-10-31T09:57:43.6326100Z 
2023-10-31T09:57:43.6326108Z 
2023-10-31T09:57:43.6326365Z %SRC_DIR%>set "PIP_NO_DEPENDENCIES=True" 
2023-10-31T09:57:43.6326757Z 
2023-10-31T09:57:43.6327004Z %SRC_DIR%>set "PIP_IGNORE_INSTALLED=True" 
2023-10-31T09:57:43.6327401Z 
2023-10-31T09:57:43.6327960Z %SRC_DIR%>set "PIP_CACHE_DIR=C:\Miniconda3\envs\test\conda-bld\icub-main_1698746024287\pip_cache" 
2023-10-31T09:57:43.6328761Z 
2023-10-31T09:57:43.6328939Z %SRC_DIR%>set "PIP_NO_INDEX=True" 
2023-10-31T09:57:43.6329320Z 
2023-10-31T09:57:43.6329567Z %SRC_DIR%>set "INCLUDE=%PREFIX%\Library\include;" 
2023-10-31T09:57:43.6329999Z 
2023-10-31T09:57:43.6330236Z %SRC_DIR%>set "LIB=%PREFIX%\Library\lib;" 
2023-10-31T09:57:43.6330620Z 
2023-10-31T09:57:43.6331081Z %SRC_DIR%>call "C:\Miniconda3\envs\test\Scripts\..\condabin\conda_hook.bat" 
2023-10-31T09:57:43.6331680Z 
2023-10-31T09:57:43.6332209Z %SRC_DIR%>call "C:\Miniconda3\envs\test\Scripts\..\condabin\conda.bat" activate "%PREFIX%" 
2023-10-31T09:57:43.6332979Z 
2023-10-31T09:57:43.6333153Z %SRC_DIR%>SET DISTUTILS_USE_SDK=1 
2023-10-31T09:57:43.6333538Z 
2023-10-31T09:57:43.6333684Z %SRC_DIR%>SET MSSdk=1 
2023-10-31T09:57:43.6333945Z 
2023-10-31T09:57:43.6334158Z %SRC_DIR%>SET "VS_VERSION=16.0" 
2023-10-31T09:57:43.6334482Z 
2023-10-31T09:57:43.6334643Z %SRC_DIR%>SET "VS_MAJOR=16" 
2023-10-31T09:57:43.6334979Z 
2023-10-31T09:57:43.6335136Z %SRC_DIR%>SET "VS_YEAR=2019" 
2023-10-31T09:57:43.6335506Z 
2023-10-31T09:57:43.6336090Z %SRC_DIR%>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out" 
2023-10-31T09:57:43.6336613Z 
2023-10-31T09:57:43.6336867Z %SRC_DIR%>set "MSYS2_ENV_CONV_EXCL=CL" 
2023-10-31T09:57:43.6337236Z 
2023-10-31T09:57:43.6337782Z %SRC_DIR%>set "PY_VCRUNTIME_REDIST=%PREFIX%\bin\vcruntime140.dll" 
2023-10-31T09:57:43.6338480Z 
2023-10-31T09:57:43.6338655Z %SRC_DIR%>set "CXX=cl.exe" 
2023-10-31T09:57:43.6339023Z 
2023-10-31T09:57:43.6339192Z %SRC_DIR%>set "CC=cl.exe" 
2023-10-31T09:57:43.6339758Z 
2023-10-31T09:57:43.6339928Z %SRC_DIR%>set "VSINSTALLDIR=" 
2023-10-31T09:57:43.6340251Z 
2023-10-31T09:57:43.6340488Z %SRC_DIR%>set "NEWER_VS_WITH_OLDER_VC=0" 
2023-10-31T09:57:43.6340866Z 
2023-10-31T09:57:43.6341766Z %SRC_DIR%>for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -version [16.0,17.0) -property installationPath`) do (set "VSINSTALLDIR=%i\" ) 
2023-10-31T09:57:43.6342881Z 
2023-10-31T09:57:43.6343420Z %SRC_DIR%>(set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" ) 
2023-10-31T09:57:43.6344188Z 
2023-10-31T09:57:43.6346091Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.ComponentGroup.VC.Tools.142.x86.x64 -property installationPath`) do (
2023-10-31T09:57:43.6348549Z set "VSINSTALLDIR=%i\"  
2023-10-31T09:57:43.6349071Z  set "NEWER_VS_WITH_OLDER_VC=1" 
2023-10-31T09:57:43.6349528Z ) ) 
2023-10-31T09:57:43.6349756Z 
2023-10-31T09:57:43.6351455Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.Component.VC.v142.x86.x64 -property installationPath`) do (
2023-10-31T09:57:43.6353406Z set "VSINSTALLDIR=%i\"  
2023-10-31T09:57:43.6353909Z  set "NEWER_VS_WITH_OLDER_VC=1" 
2023-10-31T09:57:43.6354399Z ) ) 
2023-10-31T09:57:43.6354574Z 
2023-10-31T09:57:43.6355648Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\" ) 
2023-10-31T09:57:43.6356938Z 
2023-10-31T09:57:43.6357986Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" ) 
2023-10-31T09:57:43.6359245Z 
2023-10-31T09:57:43.6360494Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\" ) 
2023-10-31T09:57:43.6361787Z 
2023-10-31T09:57:43.6362837Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" ) 
2023-10-31T09:57:43.6364062Z 
2023-10-31T09:57:43.6364268Z %SRC_DIR%>IF NOT "1" == "" (
2023-10-31T09:57:43.6364970Z set "INCLUDE=%PREFIX%\Library\include;%PREFIX%\Library\include;"  
2023-10-31T09:57:43.6365777Z  set "LIB=%PREFIX%\Library\lib;%PREFIX%\Library\lib;"  
2023-10-31T09:57:43.6367340Z  set "CMAKE_PREFIX_PATH=%PREFIX%\Library;" 
2023-10-31T09:57:43.6367910Z ) 
2023-10-31T09:57:43.6368092Z 
2023-10-31T09:57:43.6368305Z %SRC_DIR%>call :GetWin10SdkDir 
2023-10-31T09:57:43.6368632Z 
2023-10-31T09:57:43.6369055Z %SRC_DIR%>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node  1>nul 2>&1 
2023-10-31T09:57:43.6369717Z 
2023-10-31T09:57:43.6370237Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node  1>nul 2>&1 
2023-10-31T09:57:43.6371003Z 
2023-10-31T09:57:43.6371440Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE  1>nul 2>&1 
2023-10-31T09:57:43.6372067Z 
2023-10-31T09:57:43.6372536Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE  1>nul 2>&1 
2023-10-31T09:57:43.6373170Z 
2023-10-31T09:57:43.6373386Z %SRC_DIR%>if errorlevel 1 exit /B 1 
2023-10-31T09:57:43.6373743Z 
2023-10-31T09:57:43.6373892Z %SRC_DIR%>exit /B 0 
2023-10-31T09:57:43.6374183Z 
2023-10-31T09:57:43.6374863Z %SRC_DIR%>for /F %i in ('dir /ON /B "C:\Program Files (x86)\Windows Kits\10\\include\10.*"') DO (SET WindowsSDKVer=%~i ) 
2023-10-31T09:57:43.6375759Z 
2023-10-31T09:57:43.6375972Z %SRC_DIR%>(SET WindowsSDKVer=10.0.10240.0 ) 
2023-10-31T09:57:43.6376374Z 
2023-10-31T09:57:43.6376621Z %SRC_DIR%>(SET WindowsSDKVer=10.0.14393.0 ) 
2023-10-31T09:57:43.6377215Z 
2023-10-31T09:57:43.6377416Z %SRC_DIR%>(SET WindowsSDKVer=10.0.16299.0 ) 
2023-10-31T09:57:43.6377850Z 
2023-10-31T09:57:43.6378051Z %SRC_DIR%>(SET WindowsSDKVer=10.0.17134.0 ) 
2023-10-31T09:57:43.6378465Z 
2023-10-31T09:57:43.6378652Z %SRC_DIR%>(SET WindowsSDKVer=10.0.17763.0 ) 
2023-10-31T09:57:43.6379238Z 
2023-10-31T09:57:43.6379618Z %SRC_DIR%>(SET WindowsSDKVer=10.0.18362.0 ) 
2023-10-31T09:57:43.6380105Z 
2023-10-31T09:57:43.6380371Z %SRC_DIR%>(SET WindowsSDKVer=10.0.19041.0 ) 
2023-10-31T09:57:43.6380767Z 
2023-10-31T09:57:43.6380968Z %SRC_DIR%>(SET WindowsSDKVer=10.0.20348.0 ) 
2023-10-31T09:57:43.6381389Z 
2023-10-31T09:57:43.6381589Z %SRC_DIR%>(SET WindowsSDKVer=10.0.22000.0 ) 
2023-10-31T09:57:43.6382020Z 
2023-10-31T09:57:43.6382219Z %SRC_DIR%>(SET WindowsSDKVer=10.0.22621.0 ) 
2023-10-31T09:57:43.6382603Z 
2023-10-31T09:57:43.6383666Z %SRC_DIR%>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.22621.0" ) 
2023-10-31T09:57:43.6385077Z Windows SDK version found as: "10.0.22621.0"
2023-10-31T09:57:43.6385476Z 
2023-10-31T09:57:43.6385644Z %SRC_DIR%>set "CMAKE_PLAT=x64" 
2023-10-31T09:57:43.6386038Z 
2023-10-31T09:57:43.6386206Z %SRC_DIR%>set "VCVARSBAT=64" 
2023-10-31T09:57:43.6386518Z 
2023-10-31T09:57:43.6386827Z %SRC_DIR%>set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release" 
2023-10-31T09:57:43.6387286Z 
2023-10-31T09:57:43.6388810Z %SRC_DIR%>IF "1" == "1" (set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%PREFIX%\Library -DCMAKE_PROGRAM_PATH=%BUILD_PREFIX%\bin;%BUILD_PREFIX%\Scripts;%BUILD_PREFIX%\Library\bin;%PREFIX%\bin;%PREFIX%\Scripts;%PREFIX%\Library\bin" ) 
2023-10-31T09:57:43.6390467Z 
2023-10-31T09:57:43.6390677Z %SRC_DIR%>IF NOT "win-64" == "win-64" (
2023-10-31T09:57:43.6391236Z set "CONDA_BUILD_CROSS_COMPILATION=1"  
2023-10-31T09:57:43.6393602Z  set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%PREFIX%\Library -DCMAKE_PROGRAM_PATH=%BUILD_PREFIX%\bin;%BUILD_PREFIX%\Scripts;%BUILD_PREFIX%\Library\bin;%PREFIX%\bin;%PREFIX%\Scripts;%PREFIX%\Library\bin -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_PROCESSOR=AMD64" 
2023-10-31T09:57:53.0240798Z CMake Warning (dev) at C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/UseSWIG.cmake:809 (message):
2023-10-31T09:57:53.0243049Z   Policy CMP0078 is not set: UseSWIG generates standard target names.  Run
2023-10-31T09:57:53.0244397Z   "cmake --help-policy CMP0078" for policy details.  Use the cmake_policy
2023-10-31T09:57:53.0245513Z   command to set the policy and suppress this warning.
2023-10-31T09:57:53.0246150Z 
2023-10-31T09:57:53.0246480Z Call Stack (most recent call first):
2023-10-31T09:57:53.0247226Z   bindings/CMakeLists.txt:59 (swig_add_library)
2023-10-31T09:57:53.0248237Z This warning is for project developers.  Use -Wno-dev to suppress it.
2023-10-31T09:57:53.0249011Z 
2023-10-31T09:57:53.0284879Z CMake Warning (dev) at C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/UseSWIG.cmake:651 (message):
2023-10-31T09:57:53.0286900Z   Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
2023-10-31T09:57:53.0288149Z   flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
2023-10-31T09:57:53.0289333Z   cmake_policy command to set the policy and suppress this warning.
2023-10-31T09:57:53.0290075Z 
2023-10-31T09:57:53.0290413Z Call Stack (most recent call first):
2023-10-31T09:57:53.0291990Z   C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/UseSWIG.cmake:922 (SWIG_ADD_SOURCE_TO_MODULE)
2023-10-31T09:57:53.0293546Z   bindings/CMakeLists.txt:59 (swig_add_library)
2023-10-31T09:57:53.0294436Z This warning is for project developers.  Use -Wno-dev to suppress it.
2023-10-31T09:57:53.0295111Z 
2023-10-31T09:57:53.0559077Z Traceback (most recent call last):
2023-10-31T09:57:53.0560096Z   File "<string>", line 1, in <module>
2023-10-31T09:57:53.0561407Z ModuleNotFoundError: No module named 'distutils'
2023-10-31T09:57:53.0609660Z CMake Error at bindings/CMakeLists.txt:91 (install):
2023-10-31T09:57:53.0610648Z   install FILES given no DESTINATION!
2023-10-31T09:57:53.0611165Z 
2023-10-31T09:57:53.0611336Z 
2023-10-31T09:57:53.0611695Z CMake Error at bindings/CMakeLists.txt:92 (install):
2023-10-31T09:57:53.0612573Z   install TARGETS given no LIBRARY DESTINATION for module target
2023-10-31T09:57:53.0613332Z   "_icub_python".
2023-10-31T09:57:53.0613650Z 
2023-10-31T09:57:53.0613758Z 
2023-10-31T09:57:53.5681953Z )  else (set "CONDA_BUILD_CROSS_COMPILATION=0" ) 
2023-10-31T09:57:53.5682624Z 
2023-10-31T09:57:53.5682825Z %SRC_DIR%>IF 2019 GEQ 2019 (
2023-10-31T09:57:53.5683272Z set "CMAKE_GEN=Visual Studio 16 2019"  
2023-10-31T09:57:53.5683799Z  set "USE_NEW_CMAKE_GEN_SYNTAX=1" 
2023-10-31T09:57:53.5684243Z )  ELSE (
2023-10-31T09:57:53.5685071Z IF "win-64" == "win-64" (set "CMAKE_GEN=Visual Studio 16 2019 Win64" )  else (set "CMAKE_GEN=Visual Studio 16 2019" )  
2023-10-31T09:57:53.5686850Z  set "USE_NEW_CMAKE_GEN_SYNTAX=0" 
2023-10-31T09:57:53.5687466Z ) 
2023-10-31T09:57:53.5687645Z 
2023-10-31T09:57:53.5687824Z %SRC_DIR%>echo "NEWER_VS_WITH_OLDER_VC=0" 
2023-10-31T09:57:53.5688430Z "NEWER_VS_WITH_OLDER_VC=0"
2023-10-31T09:57:53.5688696Z 
2023-10-31T09:57:53.5689725Z %SRC_DIR%>if "0" == "1" (set /p NEWER_VS= 0<"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt" ) 
2023-10-31T09:57:53.5690915Z 
2023-10-31T09:57:53.5691768Z %SRC_DIR%>type "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt" 
2023-10-31T09:57:53.5692921Z 14.29.30133
2023-10-31T09:57:53.5693125Z 
2023-10-31T09:57:53.5693634Z %SRC_DIR%>dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\\VC\Redist\MSVC\" 
2023-10-31T09:57:53.5694892Z  Volume in drive C is Windows
2023-10-31T09:57:53.5695382Z  Volume Serial Number is D010-1300
2023-10-31T09:57:53.5695723Z 
2023-10-31T09:57:53.5696216Z  Directory of C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Redist\MSVC
2023-10-31T09:57:53.5696934Z 
2023-10-31T09:57:53.5697091Z 10/25/2023  10:18 PM    <DIR>          .
2023-10-31T09:57:53.5697604Z 10/25/2023  10:18 PM    <DIR>          ..
2023-10-31T09:57:53.5698132Z 10/25/2023  10:09 PM    <DIR>          14.16.27012
2023-10-31T09:57:53.5698731Z 10/25/2023  10:18 PM    <DIR>          14.25.28508
2023-10-31T09:57:53.5699331Z 10/25/2023  10:16 PM    <DIR>          14.29.30133
2023-10-31T09:57:53.5699897Z 10/25/2023  09:52 PM    <DIR>          v142
2023-10-31T09:57:53.5700410Z                0 File(s)              0 bytes
2023-10-31T09:57:53.5700959Z                6 Dir(s)  84,508,864,512 bytes free
2023-10-31T09:57:53.5701356Z 
2023-10-31T09:57:53.5701492Z %SRC_DIR%>if "0" == "1" (
2023-10-31T09:57:53.5701882Z echo ""  
2023-10-31T09:57:53.5702607Z  if "~0,4" == "14.2" (set "CMAKE_GEN=Visual Studio 16 2019" )  else (set "CMAKE_GEN=Visual Studio 17 2022" )  
2023-10-31T09:57:53.5703490Z  set "USE_NEW_CMAKE_GEN_SYNTAX=1" 
2023-10-31T09:57:53.5703922Z ) 
2023-10-31T09:57:53.5704082Z 
2023-10-31T09:57:53.5704392Z %SRC_DIR%>IF "" == "" SET "CMAKE_GENERATOR=Visual Studio 16 2019" 
2023-10-31T09:57:53.5704878Z 
2023-10-31T09:57:53.5705009Z %SRC_DIR%>IF "1" == "1" (
2023-10-31T09:57:53.5705747Z IF "" == "" SET "CMAKE_GENERATOR_PLATFORM=x64"  
2023-10-31T09:57:53.5706362Z  IF "" == "" SET "CMAKE_GENERATOR_TOOLSET=v142" 
2023-10-31T09:57:53.5706873Z ) 
2023-10-31T09:57:53.5707026Z 
2023-10-31T09:57:53.5707445Z %SRC_DIR%>pushd C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ 
2023-10-31T09:57:53.5708147Z 
2023-10-31T09:57:53.5709034Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.29 10.0.22621.0 
2023-10-31T09:57:53.5710215Z **********************************************************************
2023-10-31T09:57:53.5711067Z ** Visual Studio 2019 Developer Command Prompt v16.11.31
2023-10-31T09:57:53.5711694Z ** Copyright (c) 2021 Microsoft Corporation
2023-10-31T09:57:53.5712269Z **********************************************************************
2023-10-31T09:57:53.5712909Z [vcvarsall.bat] Environment initialized for: 'x64'
2023-10-31T09:57:53.5713595Z -- The C compiler identification is MSVC 19.29.30152.0
2023-10-31T09:57:53.5714282Z -- The CXX compiler identification is MSVC 19.29.30152.0
2023-10-31T09:57:53.5714897Z -- Detecting C compiler ABI info
2023-10-31T09:57:53.5715479Z -- Detecting C compiler ABI info - done
2023-10-31T09:57:53.5716846Z -- 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
2023-10-31T09:57:53.5718248Z -- Detecting C compile features
2023-10-31T09:57:53.5718745Z -- Detecting C compile features - done
2023-10-31T09:57:53.5719368Z Traceback (most recent call last):
2023-10-31T09:57:53.5720207Z   File "C:\Miniconda3\envs\test\Scripts\conda-mambabuild-script.py", line 9, in <module>
2023-10-31T09:57:53.5721046Z     sys.exit(main())
2023-10-31T09:57:53.5721406Z              ^^^^^^
2023-10-31T09:57:53.5722107Z   File "C:\Miniconda3\envs\test\Lib\site-packages\boa\cli\mambabuild.py", line 256, in main
2023-10-31T09:57:53.5722973Z     call_conda_build(action, config)
2023-10-31T09:57:53.5723917Z   File "C:\Miniconda3\envs\test\Lib\site-packages\boa\cli\mambabuild.py", line 228, in call_conda_build
2023-10-31T09:57:53.5724859Z     result = api.build(
2023-10-31T09:57:53.5725217Z              ^^^^^^^^^^
2023-10-31T09:57:53.5725946Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\api.py", line 253, in build
2023-10-31T09:57:53.5726800Z -- Detecting CXX compiler ABI info
2023-10-31T09:57:53.5727298Z -- Detecting CXX compiler ABI info - done
2023-10-31T09:57:53.5728874Z -- 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
2023-10-31T09:57:53.5730174Z -- Detecting CXX compile features
2023-10-31T09:57:53.5730691Z -- Detecting CXX compile features - done
2023-10-31T09:57:53.5731785Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5733436Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5735104Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5736176Z -- found libYARP_math
2023-10-31T09:57:53.5736561Z -- Running on windows
2023-10-31T09:57:53.5736946Z -- Performing Test CXX_HAS_STD_CXX11
2023-10-31T09:57:53.5737491Z -- Performing Test CXX_HAS_STD_CXX11 - Failed
2023-10-31T09:57:53.5738052Z -- Performing Test CXX_HAS_STD_CXX0X
2023-10-31T09:57:53.5738599Z -- Performing Test CXX_HAS_STD_CXX0X - Failed
2023-10-31T09:57:53.5739131Z -- Detecting required libraries
2023-10-31T09:57:53.5748497Z -- CMake modules directory: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/work/conf;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/find-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/build-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/style-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/cmake-next/Modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/3rdparty;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/find-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/build-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/style-modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/cmake-next/Modules;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/YCM/3rdparty
2023-10-31T09:57:53.5758624Z -- Found GSL: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/include (found version "2.7") 
2023-10-31T09:57:53.5760080Z -- Found GLUT: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/freeglut.lib  
2023-10-31T09:57:53.5761527Z -- Found OpenCV: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/cmake/OpenCVConfig.cmake  
2023-10-31T09:57:53.5762518Z -- Found OpenGL: opengl32   
2023-10-31T09:57:53.5763002Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2023-10-31T09:57:53.5763626Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
2023-10-31T09:57:53.5764230Z -- Looking for pthread_create in pthreads
2023-10-31T09:57:53.5764849Z -- Looking for pthread_create in pthreads - not found
2023-10-31T09:57:53.5765472Z -- Looking for pthread_create in pthread
2023-10-31T09:57:53.5766073Z -- Looking for pthread_create in pthread - not found
2023-10-31T09:57:53.5766623Z -- Found Threads: TRUE  
2023-10-31T09:57:53.5768215Z -- Found SDL: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/SDLmain.lib;C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/SDL.lib (found version "1.2.68") 
2023-10-31T09:57:53.5769927Z -- Could NOT find ACE (missing: ACE_LIBRARIES) 
2023-10-31T09:57:53.5770918Z -- Found ACE: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/ACE.lib;winmm  
2023-10-31T09:57:53.5771950Z -- Performing Test ACE_COMPILES_WITHOUT_INLINE_RELEASE
2023-10-31T09:57:53.5772833Z -- Performing Test ACE_COMPILES_WITHOUT_INLINE_RELEASE - Success
2023-10-31T09:57:53.5773940Z -- Found IPOPT: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/ipopt-3.lib  
2023-10-31T09:57:53.5774871Z -- OpenCV version is 4.8
2023-10-31T09:57:53.5775293Z -- OpenCV is at least version 2
2023-10-31T09:57:53.5775768Z -- I have found the following libraries:
2023-10-31T09:57:53.5776283Z -- icub_firmware_shared: found
2023-10-31T09:57:53.5776701Z -- GSL: found
2023-10-31T09:57:53.5777008Z -- GLUT: found
2023-10-31T09:57:53.5777344Z -- OpenGL: found
2023-10-31T09:57:53.5777678Z -- SDL: found
2023-10-31T09:57:53.5777995Z -- ACE: found
2023-10-31T09:57:53.5778296Z -- IPOPT: found
2023-10-31T09:57:53.5778629Z -- OpenCV: found
2023-10-31T09:57:53.5779014Z -- Qt5: found
2023-10-31T09:57:53.5779678Z -- Libraries go to C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/work/build/lib
2023-10-31T09:57:53.5780861Z -- Executables go to C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/work/build/bin
2023-10-31T09:57:53.5782418Z -- Setting up installation of iCub.ini to C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/yarp/config/path.d folder.
2023-10-31T09:57:53.5784210Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5786134Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5787434Z --  [x]   Plugin: icubmod_canmotioncontrol (ENABLE_icubmod_canmotioncontrol)
2023-10-31T09:57:53.5788518Z --  [x]   Plugin: icubmod_cartesiancontrollerserver (ENABLE_icubmod_cartesiancontrollerserver)
2023-10-31T09:57:53.5789721Z --  [x]   Plugin: icubmod_cartesiancontrollerclient (ENABLE_icubmod_cartesiancontrollerclient)
2023-10-31T09:57:53.5790681Z --  [ ]   Plugin: icubmod_cfw2can (ENABLE_icubmod_cfw2can)
2023-10-31T09:57:53.5791392Z --  [ ]   Plugin: icubmod_dragonfly2 (ENABLE_icubmod_dragonfly2)
2023-10-31T09:57:53.5793478Z --  [ ]   Plugin: icubmod_dragonfly2raw (ENABLE_icubmod_dragonfly2raw)
2023-10-31T09:57:53.5794226Z --  [x]   Plugin: icubmod_ecan (ENABLE_icubmod_ecan)
2023-10-31T09:57:53.5795259Z -- Found ESDCANAPI: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/ntcan.lib  
2023-10-31T09:57:53.5796713Z --  ++++ ESD CAN library found at: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/ntcan.lib
2023-10-31T09:57:53.5798191Z --  ++++ ESD CAN include files found at: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/include
2023-10-31T09:57:53.5799312Z --  [x]   Plugin: icubmod_sharedcan (ENABLE_icubmod_sharedcan)
2023-10-31T09:57:53.5800050Z --  [ ]   Plugin: icubmod_socketcan (ENABLE_icubmod_socketcan)
2023-10-31T09:57:53.5800787Z --  [ ]   Plugin: icubmod_esdsniffer (ENABLE_icubmod_esdsniffer)
2023-10-31T09:57:53.5801501Z --  [ ]   Plugin: icubmod_fakecan (ENABLE_icubmod_fakecan)
2023-10-31T09:57:53.5802232Z --  [x]   Plugin: icubmod_bcbBattery (ENABLE_icubmod_bcbBattery)
2023-10-31T09:57:53.5802994Z --  [ ]   Plugin: icubmod_bmsBattery (ENABLE_icubmod_bmsBattery)
2023-10-31T09:57:53.5804009Z --  [x]   Plugin: icubmod_gazecontrollerclient (ENABLE_icubmod_gazecontrollerclient)
2023-10-31T09:57:53.5805048Z --  [x]   Plugin: icubmod_parametricCalibrator (ENABLE_icubmod_parametricCalibrator)
2023-10-31T09:57:53.5806153Z --  [x]   Plugin: icubmod_parametricCalibratorEth (ENABLE_icubmod_parametricCalibratorEth)
2023-10-31T09:57:53.5807053Z --  [ ]   Plugin: icubmod_pcan (ENABLE_icubmod_pcan)
2023-10-31T09:57:53.5807737Z --  [ ]   Plugin: icubmod_xsensmtx (ENABLE_icubmod_xsensmtx)
2023-10-31T09:57:53.5808473Z --  [x]   Plugin: icubmod_skinWrapper (ENABLE_icubmod_skinWrapper)
2023-10-31T09:57:53.5809368Z --  [x]   Plugin: icubmod_canBusAnalogSensor (ENABLE_icubmod_canBusAnalogSensor)
2023-10-31T09:57:53.5810438Z --  [x]   Plugin: icubmod_canBusFtSensor (ENABLE_icubmod_canBusFtSensor)
2023-10-31T09:57:53.5811490Z --  [x]   Plugin: icubmod_canBusVirtualAnalogSensor (ENABLE_icubmod_canBusVirtualAnalogSensor)
2023-10-31T09:57:53.5812561Z --  [x]   Plugin: icubmod_canBusInertialMTB (ENABLE_icubmod_canBusInertialMTB)
2023-10-31T09:57:53.5813432Z --  [x]   Plugin: icubmod_canBusSkin (ENABLE_icubmod_canBusSkin)
2023-10-31T09:57:53.5814331Z --  [x]   Plugin: icubmod_embObjMotionControl (ENABLE_icubmod_embObjMotionControl)
2023-10-31T09:57:53.5815223Z --  [x]   Plugin: icubmod_embObjSkin (ENABLE_icubmod_embObjSkin)
2023-10-31T09:57:53.5816090Z --  [ ]   Plugin: icubmod_embObjAnalogSensor (ENABLE_icubmod_embObjAnalogSensor)
2023-10-31T09:57:53.5817010Z --  [x]   Plugin: icubmod_embObjFTsensor (ENABLE_icubmod_embObjFTsensor)
2023-10-31T09:57:53.5818086Z --  [x]   Plugin: icubmod_embObjMultipleFTsensors (ENABLE_icubmod_embObjMultipleFTsensors)
2023-10-31T09:57:53.5819145Z --  [x]   Plugin: icubmod_embObjMais (ENABLE_icubmod_embObjMais)
2023-10-31T09:57:53.5819975Z --  [ ]   Plugin: icubmod_embObjMultiEnc (ENABLE_icubmod_embObjMultiEnc)
2023-10-31T09:57:53.5820909Z --  [x]   Plugin: icubmod_embObjInertials (ENABLE_icubmod_embObjInertials)
2023-10-31T09:57:53.5821790Z --  [x]   Plugin: icubmod_embObjIMU (ENABLE_icubmod_embObjIMU)
2023-10-31T09:57:53.5822513Z --  [ ]   Plugin: icubmod_imuST_M1 (ENABLE_icubmod_imuST_M1)
2023-10-31T09:57:53.5823233Z --  [x]   Plugin: icubmod_imuFilter (ENABLE_icubmod_imuFilter)
2023-10-31T09:57:53.5823957Z --  [ ]   Plugin: icubmod_embObjPSC (ENABLE_icubmod_embObjPSC)
2023-10-31T09:57:53.5824730Z --  [x]   Plugin: icubmod_embObjPOS (ENABLE_icubmod_embObjPOS)
2023-10-31T09:57:53.5825525Z --  [x]   Plugin: icubmod_embObjBattery (ENABLE_icubmod_embObjBattery)
2023-10-31T09:57:53.5826201Z --  +++ tool compiling canLoaderLib
2023-10-31T09:57:53.5826698Z --  +++ tool compiling canLoader-console
2023-10-31T09:57:53.5827217Z --  +++ tool compiling ethLoaderLib
2023-10-31T09:57:53.5827716Z --  +++ tool compiling strainCalibLib
2023-10-31T09:57:53.5828808Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5830980Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5832654Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5834313Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5835977Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5837649Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5839302Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5840964Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5846243Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5848167Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5849845Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5851499Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5853151Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5855069Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5856756Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5858431Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5859494Z -- Installing cmake scripts
2023-10-31T09:57:53.5860526Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5862176Z -- Found SWIG: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/bin/swig.exe (found version "4.1.1")  
2023-10-31T09:57:53.5863753Z -- C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/UseSWIG.cmake
2023-10-31T09:57:53.5865712Z -- Found Python: C:/hostedtoolcache/windows/Python/3.12.0/x64/python3.exe (found version "3.12.0") found components: Interpreter Development Development.Module Development.Embed 
2023-10-31T09:57:53.5867191Z -- Configuring incomplete, errors occurred!
2023-10-31T09:57:53.5867756Z     return build_tree(
2023-10-31T09:57:53.5868131Z            ^^^^^^^^^^^
2023-10-31T09:57:53.5868905Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\build.py", line 3799, in build_tree
2023-10-31T09:57:53.5869850Z     packages_from_this = build(
2023-10-31T09:57:53.5870295Z                          ^^^^^^
2023-10-31T09:57:53.5871141Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\build.py", line 2624, in build
2023-10-31T09:57:53.5871964Z     windows.build(
2023-10-31T09:57:53.5872716Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\windows.py", line 341, in build
2023-10-31T09:57:53.5873554Z     check_call_env(
2023-10-31T09:57:53.5874349Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\utils.py", line 450, in check_call_env
2023-10-31T09:57:53.5876122Z     return _func_defaulting_env_to_os_environ("call", *popenargs, **kwargs)
2023-10-31T09:57:53.5876894Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-10-31T09:57:53.5878014Z   File "C:\Miniconda3\envs\test\Lib\site-packages\conda_build\utils.py", line 426, in _func_defaulting_env_to_os_environ
2023-10-31T09:57:53.5879239Z     raise subprocess.CalledProcessError(proc.returncode, _args)
2023-10-31T09:57:53.5880413Z subprocess.CalledProcessError: Command '['cmd.exe', '/d', '/c', 'conda_build.bat']' returned non-zero exit status 1.
2023-10-31T09:58:01.1995021Z ##[error]Process completed with exit code 1.
2023-10-31T09:58:01.2766019Z Post job cleanup.
2023-10-31T09:58:01.8038147Z [command]"C:\Program Files\Git\bin\git.exe" version
2023-10-31T09:58:01.8403696Z git version 2.42.0.windows.2
2023-10-31T09:58:01.8557864Z Temporarily overriding HOME='D:\a\_temp\24871447-9905-4cfa-acfd-f5e9ace181cb' before making global git config changes
2023-10-31T09:58:01.8561963Z Adding repository directory to the temporary git global config as a safe directory
2023-10-31T09:58:01.8590248Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\robotology-superbuild\robotology-superbuild
2023-10-31T09:58:01.8931456Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2023-10-31T09:58:01.9259178Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2023-10-31T09:58:02.3967885Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-10-31T09:58:02.4244678Z http.https://github.com/.extraheader
2023-10-31T09:58:02.4300848Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2023-10-31T09:58:02.4634437Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2023-10-31T09:58:02.9671415Z Cleaning up orphan processes
@traversaro
Copy link
Member Author

The problem is that the wrong Python is found:

2023-10-31T09:57:53.5853151Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5855069Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5856756Z -- Found YCM: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/share/cmake/YCM (found version "0.15.3")
2023-10-31T09:57:53.5858431Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5859494Z -- Installing cmake scripts
2023-10-31T09:57:53.5860526Z -- Found YARP: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/lib/cmake/YARP (found version "3.8.1~dev")
2023-10-31T09:57:53.5862176Z -- Found SWIG: C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_h_env/Library/bin/swig.exe (found version "4.1.1")  
2023-10-31T09:57:53.5863753Z -- C:/Miniconda3/envs/test/conda-bld/icub-main_1698746024287/_build_env/Library/share/cmake-3.27/Modules/UseSWIG.cmake
2023-10-31T09:57:53.5865712Z -- Found Python: C:/hostedtoolcache/windows/Python/3.12.0/x64/python3.exe (found version "3.12.0") found components: Interpreter Development Development.Module Development.Embed 
2023-10-31T09:57:53.5867191Z -- Configuring incomplete, errors occurred!

We probably need a fix similar to #1509 or some other workaround.

@traversaro
Copy link
Member Author

For some reason this is not working:

string(APPEND metametadata_file_contents " - \"-DPython3_EXECUTABLE:PATH=%PYTHON%\"\n")
.

@traversaro
Copy link
Member Author

For some reason this is not working:

string(APPEND metametadata_file_contents " - \"-DPython3_EXECUTABLE:PATH=%PYTHON%\"\n")

.

Because Python is used, not Python3: https://github.com/robotology/icub-main/blob/01d3cf749847727616bac7e331bb10f0ed30f33c/bindings/CMakeLists.txt#L56 .

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

Successfully merging a pull request may close this issue.

1 participant