boost icon indicating copy to clipboard operation
boost copied to clipboard

Why can't I build boost in my computer?

Open ZhikangLai opened this issue 1 year ago • 9 comments

figure1 figure2 figure3 figure4 figure5 figure6 figure7 figure8 I can't not see any .lib in lib folder, Why? figure9

ZhikangLai avatar Jul 26 '24 05:07 ZhikangLai

我换成1.83版本就编译过了

m1mist avatar Jul 26 '24 06:07 m1mist

build_output.txt This file recored the whole message I built boost 1.85 version.

ZhikangLai avatar Jul 26 '24 06:07 ZhikangLai

I have already fixed this issue. Take the attach file to replace ".\boost_1_85_0\tools\build\src\tools\msvc.jam". msvc.zip

Or you can add the code as the figure show: Snipaste_2024-07-26_22-15-26

ZhikangLai avatar Jul 26 '24 14:07 ZhikangLai

hi, @ZhikangLai. Can you please give me the entire steps to build boost and can use it in my local machine ? My system configuration are as follows:

  1. Windows 11 OS
  2. VS code and mingw installed.
  3. Also Qt creator is installed.

chilkaditya avatar Aug 11 '24 11:08 chilkaditya

hi, @ZhikangLai. Can you please give me the entire steps to build boost and can use it in my local machine ? My system configuration are as follows:

  1. Windows 11 OS
  2. VS code and mingw installed.
  3. Also Qt creator is installed.

Hi, Mr. @chilkaditya , Which step are you stuck on? Could you share more details about your compiler?If you're using GCC, you might not encounter the same issue I did. However, if you're using MSVC 14.3, it's likely you're facing a similar problem.

ZhikangLai avatar Aug 12 '24 03:08 ZhikangLai

@ZhikangLai sure, I do not have Microsoft visual studio IDE. I have vscode editor and mingw compiler downloaded separately. After downloading boost 1.85.0, using command prompt i run bootstrap.bat and then ./b2 command, then one bin.v2 folder generated but inside this folder there was libs folder. I attached image below.

image image image inside libs folder all folders is empty and I also cant use boost from vs code editor. I add bin.v2 path to environment variable. I am stuck here.

chilkaditya avatar Aug 12 '24 11:08 chilkaditya

@ZhikangLai sure, I do not have Microsoft visual studio IDE. I have vscode editor and mingw compiler downloaded separately. After downloading boost 1.85.0, using command prompt i run bootstrap.bat and then ./b2 command, then one bin.v2 folder generated but inside this folder there was libs folder. I attached image below.

image image image inside libs folder all folders is empty and I also cant use boost from vs code editor. I add bin.v2 path to environment variable. I am stuck here.

when you run "b2", have you try this command: b2 toolset=gcc ?

ZhikangLai avatar Aug 13 '24 04:08 ZhikangLai

非常感谢,一模一样的问题,这个问题搞了我一天,终于解决了。

chris155-hash avatar Jul 06 '25 07:07 chris155-hash

Is there anything further needed for this? Can this issue be closed?

nigels-com avatar Aug 31 '25 04:08 nigels-com