The solution to the total crash of the vcpkg installation of the ceres library

Recently, the author used vcpkg to install the ceres library, input

.\vcpkg.exe install ceres:x64-windows

After the system downloads a package called ceres_solver, the computer always freezes when proceeding to the next step. As long as it runs to this step, it freezes. At first, I thought it was a problem with the package downloaded by the author, so I installed and uninstalled it repeatedly, and turned it on repeatedly. Knowing that I checked the information carefully, I discovered that vcpkg does not install two dependent files by default when downloading the Ceres library, so it is good to install it during installation. The specific command line is as follows

.\vcpkg install ceres[suitesparse,cxsparse]:x64-windows --recurse

In this way, the problem is solved perfectly, and I hope it will help you. After all, this problem has troubled me for a long time.

Guess you like

Origin blog.csdn.net/qq_41803340/article/details/108300053