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
Building ceres alone is generally no problem, but when features like ceres[lapack] are required, things get more compilcated.
It can be built in the latest vcpkg version for the triplet x64-windowswithout overlays, but with them, it fails for both triplets I need. x64-win-llvm is shown below.
There was an error message about overloaded extern "C" functions, for which reason I tried the flag /Zc:externC- mentioned in the earlier issue, with no success. Now the error is one about confllicting types (oce const off), but it only occurs with the overlay.
-- Using cached ceres-solver-ceres-solver-f68321e7de8929fbcdb95dd42877531e64f72f66.tar.gz.
-- Cleaning sources at C:/Code/vcpkg/buildtrees/ceres/src/1e64f72f66-a013de02a8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Code/vcpkg/downloads/ceres-solver-ceres-solver-f68321e7de8929fbcdb95dd42877531e64f72f66.tar.gz
-- Applying patch 0001_cmakelists_fixes.patch
-- Applying patch 0002_use_glog_target.patch
-- Applying patch 0003_fix_exported_ceres_config.patch
-- Applying patch find-package-required.patch
-- Using source at C:/Code/vcpkg/buildtrees/ceres/src/1e64f72f66-a013de02a8.clean
-- -DSCHUR_SPECIALIZATIONS=OFF
-- -DSUITESPARSE=OFF
-- -DCXSPARSE=OFF
-- -DLAPACK=ON
-- -DEIGENSPARSE=OFF
-- -DGFLAGS=OFF
-- -DCUDA=OFF
-- Configuring x64-win-llvm
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
The following variables are not used in CMakeLists.txt:
LIB_SUFFIX
Please recheck them and remove the unnecessary options from the
`vcpkg_cmake_configure` call.
If these options should still be passed for whatever reason, please use the
`MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
ports/ceres/portfile.cmake:53 (vcpkg_cmake_configure)
scripts/ports.cmake:191 (include)
-- Building x64-win-llvm-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/Code/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j13
Working Directory: C:/Code/vcpkg/buildtrees/ceres/x64-win-llvm-dbg
See logs for more information:
C:\Code\vcpkg\buildtrees\ceres\install-x64-win-llvm-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/ceres/portfile.cmake:68 (vcpkg_cmake_install)
scripts/ports.cmake:191 (include)
The main difference between vcpkg and the port overlays is that MKL is used for BLAS/LAPACK. Since there is no overlay for ceres I probably did not try to build it yet with MKL. There probably needs to be a switch to inform ceres to use ILP instead of LP.
There is a possible typo at the end of intel-mkl\portfile.cmake: interfache instead of interface - but changing that alone did not help yet, which is probably unsurprising, considering your assumption...
Building
ceres
alone is generally no problem, but when features likeceres[lapack]
are required, things get more compilcated.It can be built in the latest vcpkg version for the triplet
x64-windows
without overlays, but with them, it fails for both triplets I need.x64-win-llvm
is shown below.There was an error message about overloaded
extern "C"
functions, for which reason I tried the flag/Zc:externC-
mentioned in the earlier issue, with no success. Now the error is one about confllicting types (oceconst
off), but it only occurs with the overlay.Package: ceres[core,lapack]:[email protected]#5
Host Environment
vcpkg-scripts version: 52be198ec 2024-06-19 (3 hours ago)
To Reproduce
vcpkg --overlay-triplets=..\my-vcpkg-triplets --overlay-ports=..\my-vcpkg-ports install ceres[lapack]:x64-win-llvm
Failure logs
C:\Code\vcpkg\buildtrees\ceres\install-x64-win-llvm-dbg-out.log
The text was updated successfully, but these errors were encountered: