Boost Version Update
yuquan1210 opened this issue · 2 comments
yuquan1210 commented
Can you update the boost version? It is currently using 1.76.0, which does not recognize Visual Studio 2022 and caused error when installing.
Found with vswhere C:\Program Files\Microsoft Visual Studio\2022\Community
###
### "Unknown toolset: vcunk"
###
### You can specify the toolset as the argument, i.e.:
### .\build.bat msvc
###
### Toolsets supported by this script are: borland, como, gcc,
### gcc-nocygwin, intel-win32, mingw,
### vc12, vc14, vc141, vc142
###
### If you have Visual Studio 2017 installed you will need to either update
### the Visual Studio 2017 installer or run from VS 2017 Command Prompt
### as we where unable to detect your toolset installation.
###
Failed to build Boost.Build engine.
mingw32-make[2]: *** [CMakeFiles\external_boost.dir\build.make:91: boost/src/external_boost-stamp/external_boost-configure] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:120: CMakeFiles/external_boost.dir/all] Error 2
mingw32-make: *** [makefile:135: all] Error 2
lenerd commented
MOTION only builds Boost if it cannot find a suitable version on the system. Have you tried installing a more recent version?
yuquan1210 commented
Yes, I installed the latest version boost, and ran cmake .. -DCMAKE_PREFIX_PATH=C:\Softwares\boost_1_78_0
and then make
in the build directory. But it still installs the old version boost for me. Is the command wrong? I am very new to installing frameworks.