下载后我已经构建了boost库。现在,如果我右键单击项目-> 属性-> C/C++ 常规-> 路径和符号并添加 $(NDK_PATH)/boost,文件会在构建之前得到识别,但是当我尝试构建时,我得到未解决的错误。请注意,我没有在 boost 库中创建 Android.mk 文件,如此处所示
因为我将它包含在路径和符号中。这是错的吗??
我遵循了 Igor 在我之前的评论
Using Boost in android ndk with windows 中告诉我的步骤。我没有$ANDROID_NDK/sources/boost/android
代码实验链接中指出的任何文件夹。有什么问题吗?
我正在使用以下命令:
b2 --without-python --without-serialization threading=multi link=static runtime-link=static toolset=gcc-android target-os=linux --stagedir=android stage
我得到的错误是:
notice: could not find main target stage notice: assuming it is a name of file to create. don't know how to make <e>stage ...found 1 target... ...can't find 1 target...
Android ndk:r8e
环境:Windows 64 位
日食:朱诺 4.2.1