How do I build Boost 1.55 with MinGW?

前端 未结 4 1306
-上瘾入骨i
-上瘾入骨i 2020-12-14 08:08

I have downloaded Boost 1.55 and MinGW.

The console answers me that I haven\'t any command. I can\'t understand how to bind two paths and activate the GCC compiler.<

4条回答
  •  温柔的废话
    2020-12-14 08:46

    I was able to build it following the instructions from Antimony. However I initially got this error:

    Bootstrapping the build engine
    \Windows was unexpected at this time.
    

    The error was solved by clearing the PATH variable and putting just the MinGW folder in it:

    set PATH=C:\MinGW\bin
    

    Then Antimony's instructions did the job for me. Thanks!!

    Just two other small things that might be helpful. BOOST for MinGW should be build from the Windows shell, not from the MSYS shell. And in version 1.57 the bootstrap.bat script is no longer in tools\build\v2, but directly in tools\build.

提交回复
热议问题