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

Boost Version Update #12

Open
yuquan1210 opened this issue Feb 26, 2022 · 2 comments
Open

Boost Version Update #12

yuquan1210 opened this issue Feb 26, 2022 · 2 comments

Comments

@yuquan1210
Copy link

yuquan1210 commented Feb 26, 2022

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
Copy link
Collaborator

lenerd commented Feb 26, 2022

MOTION only builds Boost if it cannot find a suitable version on the system. Have you tried installing a more recent version?

@yuquan1210
Copy link
Author

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.

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

2 participants