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

Windows vcpkg-based installer generation failed #774

Closed
traversaro opened this issue May 31, 2021 · 1 comment
Closed

Windows vcpkg-based installer generation failed #774

traversaro opened this issue May 31, 2021 · 1 comment

Comments

@traversaro
Copy link
Member

The 2021.05 Windows installer generation failed with the following error:

5-31T12:46:48.2714776Z   Completed 'icub-tests'
2021-05-31T12:46:48.3485749Z   Building Custom Rule C:/robotology-superbuild/CMakeLists.txt
2021-05-31T12:46:48.5008705Z   Creating directories for 'yarp-matlab-bindings'
2021-05-31T12:46:48.6272991Z   Performing download step (git clone) for 'yarp-matlab-bindings'
2021-05-31T12:46:48.6435616Z   -- Avoiding repeated git clone, stamp file is up to date: 'C:/robotology-superbuild/build/src/yarp-matlab-bindings/CMakeFiles/YCMStamp/yarp-matlab-bindings-gitclone-lastrun.txt'
2021-05-31T12:46:48.6638061Z   No patch step for 'yarp-matlab-bindings'
2021-05-31T12:46:48.6956570Z   Performing update step for 'yarp-matlab-bindings'
2021-05-31T12:46:48.7533277Z   Performing configure step for 'yarp-matlab-bindings'
2021-05-31T12:46:48.7670427Z   Not searching for unused variables given on the command line.
2021-05-31T12:46:48.7721007Z   loading initial cache file C:/robotology-superbuild/build/src/yarp-matlab-bindings/CMakeFiles/YCMTmp/yarp-matlab-bindings-cache-Release.cmake
2021-05-31T12:46:48.8649757Z   -- Found YARP: C:/robotology/robotology/lib/cmake/YARP (found version "3.4.5")
2021-05-31T12:46:48.8653719Z   CMake Deprecation Warning at C:/robotology/robotology/lib/cmake/YARP/YARPConfig.cmake:226 (message):
2021-05-31T12:46:48.8655079Z     The YARP_INCLUDE_DIRS variable is deprecated
2021-05-31T12:46:48.8655911Z   Call Stack (most recent call first):
2021-05-31T12:46:48.8656766Z     CMakeLists.txt:2147483647 (_yarp_deprecated_variable_warning)
2021-05-31T12:46:48.8657885Z     CMakeLists.txt:29 (get_target_property)
2021-05-31T12:46:48.8658379Z   
2021-05-31T12:46:48.8658632Z   
2021-05-31T12:46:48.8688273Z   -- Found YCM: C:/robotology/robotology/share/cmake/YCM (found version "0.12.2")
2021-05-31T12:46:48.8732388Z   CMake Deprecation Warning at C:/robotology/robotology/lib/cmake/YARP/YARPConfig.cmake:226 (message):
2021-05-31T12:46:48.8733454Z     The YARP_INCLUDE_DIRS variable is deprecated
2021-05-31T12:46:48.8734146Z   Call Stack (most recent call first):
2021-05-31T12:46:48.8734890Z     CMakeLists.txt:2147483647 (_yarp_deprecated_variable_warning)
2021-05-31T12:46:48.8735678Z     CMakeLists.txt:42 (include_directories)
2021-05-31T12:46:48.8736431Z   
2021-05-31T12:46:48.8736912Z   
2021-05-31T12:46:48.8862227Z   CMake Error at cmake/FindMatlab.cmake:1197 (list):
2021-05-31T12:46:48.8863103Z     list index: 1 out of range (-1, 0)
2021-05-31T12:46:48.8863652Z   Call Stack (most recent call first):
2021-05-31T12:46:48.8864333Z     C:/robotology/vcpkg/scripts/buildsystems/vcpkg.cmake:644 (_find_package)
2021-05-31T12:46:48.8865066Z     matlab/CMakeLists.txt:105 (find_package)
2021-05-31T12:46:48.8865571Z   
2021-05-31T12:46:48.8865933Z   
2021-05-31T12:46:48.8868395Z   -- Found Matlab: D:/a/robotology-superbuild/robotology-superbuild/msdk_R2020a_mexw64/extern/include (found version "D:/a/robotology-superbuild/robotology-superbuild/msdk_R2020a_mexw64") found components: MX_LIBRARY 
2021-05-31T12:46:48.8941205Z   CMake Deprecation Warning at C:/robotology/robotology/share/YCM/modules/InstallBasicPackageFiles.cmake:314 (message):
2021-05-31T12:46:48.8942544Z     TARGETS is deprecated.  Use EXPORT instead
2021-05-31T12:46:48.8944048Z   Call Stack (most recent call first):
2021-05-31T12:46:48.8944714Z     matlab/CMakeLists.txt:177 (install_basic_package_files)
2021-05-31T12:46:48.8945254Z   
2021-05-31T12:46:48.8945641Z   
2021-05-31T12:46:48.8946493Z   CMake Deprecation Warning at C:/robotology/robotology/share/YCM/modules/InstallBasicPackageFiles.cmake:385 (message):
2021-05-31T12:46:48.8947581Z     Compatibility variables are no longer generated.  Use
2021-05-31T12:46:48.8948373Z     ENABLE_COMPATIBILITY_VARS to re-enable them (deprecated) or define them
2021-05-31T12:46:48.8949143Z     using either INCLUDE_FILE or INCLUDE_CONTENT (recommended).
2021-05-31T12:46:48.8949797Z   Call Stack (most recent call first):
2021-05-31T12:46:48.8950427Z     matlab/CMakeLists.txt:177 (install_basic_package_files)
2021-05-31T12:46:48.8950948Z   
2021-05-31T12:46:48.8951326Z   
2021-05-31T12:46:48.8999531Z   -- Configuring incomplete, errors occurred!
2021-05-31T12:46:48.9000722Z   See also "C:/robotology-superbuild/build/src/yarp-matlab-bindings/CMakeFiles/CMakeOutput.log".
2021-05-31T12:46:48.9181662Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-mkdir.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-download.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-patch.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-update.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-configure.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-build.rule;C:\robotology-superbuild\build\CMakeFiles\8712d2dd53c1f82db1664840d045021c\yarp-matlab-bindings-install.rule;C:\robotology-superbuild\build\CMakeFiles\b36ea7d302539fe119e4ae242e53b394\yarp-matlab-bindings-complete.rule;C:\robotology-superbuild\build\CMakeFiles\aec1d57eab125169955141e75fd9ce08\yarp-matlab-bindings.rule' exited with code 1. [C:\robotology-superbuild\build\yarp-matlab-bindings.vcxproj]
2021-05-31T12:46:48.9892448Z   Creating directories for 'osqp-matlab'
@traversaro
Copy link
Member Author

The issue was solved disabling ROBOTOLOGY_USES_MATLAB on vcpkg/Windows, see #775 that was cherry-picked in releases/2021.05 branch in 3fb3134 .

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

No branches or pull requests

1 participant