gpt4 book ai didi

firebreath - 使用外部助推器构建火焰呼吸的问题

转载 作者:行者123 更新时间:2023-12-04 04:59:04 25 4
gpt4 key购买 nike

我正在尝试将 boost 1.46.0 与 firebreath 一起使用。我已经阅读了有关使用外部增强进行构建的 firebreath wiki,但无法弄清楚。

我将 boost 下载到 ~/boost_1_46_0 并用 bjam 编译它。我像这样调用 prepmake.sh:

prepmake.sh projectdir builddir -DCMAKE_BUILD_TYPE="Release" \
-DVERBOSE=1 \
-DWITH_SYSTEM_BOOST=1 \
-DBOOST_ROOT="~/boost_1_46_0/" \
-DBoost_USE_STATIC_LIBS=on \
-DBoost_USE_STATIC_RUNTIME=off

预制成功。然后我在 firebreath 构建目录中调用 make 但在最后遇到链接错误。
Linking CXX shared library ../../bin/Test/npTest.so
../../ScriptingCore/libScriptingCore.a(URI.cpp.o): In function `global constructors keyed to URI.cpp':
URI.cpp:(.text+0x637): undefined reference to `boost::system::generic_category()'
URI.cpp:(.text+0x643): undefined reference to `boost::system::generic_category()'
URI.cpp:(.text+0x64f): undefined reference to `boost::system::system_category()'
URI.cpp:(.text+0x65b): undefined reference to `boost::system::system_category()'
../../ScriptingCore/libScriptingCore.a(URI.cpp.o): In function `FB::URI::isLocalhost() const':
URI.cpp:(.text+0x3065): undefined reference to `boost::system::system_category()'
URI.cpp:(.text+0x3095): undefined reference to `boost::system::system_category()'
URI.cpp:(.text+0x32ed): undefined reference to `boost::system::system_category()'
../../ScriptingCore/libScriptingCore.a(URI.cpp.o):URI.cpp:(.text+0x3569): more undefined references to `boost::system::system_category()' follow

谢谢-达伦

最佳答案

看起来您缺少 boost-system 库

关于firebreath - 使用外部助推器构建火焰呼吸的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16364836/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com