小编Ora*_*bet的帖子

Boost Python教程上运行bjam的链接器错误

我已经使用我能找到的每个boost python资源以及我能想到的每个安装和构建排列来解决这个问题已有40个小时了,但找不到对我有用的任何东西。

像我之前的许多人一样,当我在boost/boost_1_60_0/libs/python/example/tutorial目录中运行bjam时,出现链接器错误。我有Visual Studio 2015,并且尝试通过user-config.jam位于主目录中的文件的不同配置在32位Anaconda,64位Anaconda和纯Python 2.7上运行bjam 。

这是bjam使用任何设置运行后的构建日志。

    Performing configuration checks

        - 32-bit                   : yes (cached)
        - arm                      : no  (cached)
        - mips1                    : no  (cached)
        - power                    : no  (cached)
        - sparc                    : no  (cached)
        - x86                      : yes (cached)
    ...found 7 targets...
        - symlinks supported       : yes
    ...found 1 target...
    ...updating 1 target...
    config-cache.write bin\project-cache.jam
    ...updated 1 target...
    ...patience...
    ...patience...
    ...found 1917 targets...
    ...updating 9 targets...
    msvc.link.dll ..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.dll
       Creating library ..\..\..\..\bin.v2\libs\python\build\msvc-14.0\debug\threading-multi\boost_python-vc140-mt-gd-1_60.lib and …
Run Code Online (Sandbox Code Playgroud)

boost lnk2019 bjam boost-python lnk2001

5
推荐指数
1
解决办法
702
查看次数

标签 统计

bjam ×1

boost ×1

boost-python ×1

lnk2001 ×1

lnk2019 ×1