Name Conflict when Building Boost libraries with Cygwin/GCC

前端 未结 1 554
情话喂你
情话喂你 2021-02-09 04:18

I\'m in the process of migrating a C++ application from VC++ to GCC (running on Windows using Cygwin). My first problem now is that I cannot build the Boost libraries.

F

1条回答
  •  攒了一身酷
    2021-02-09 05:05

    Although the error message is not perfect, this is operator error. By default, the build uses system naming of library -- the naming you would have on your typical Unix system. So, yea, if you try to build both debug and release variant, you get naming clash.

    If you add --layout=tagged or --layout=versioned to your command line, things should work. You can run "./b2 --help" from the top directory to get some explanation for these mean.

    0 讨论(0)
提交回复
热议问题