我从GitHub下载了OpenCV 2.4.13版本。然后,我使用CMake-gui为android配置了CMake项目。
有一个名为ANDROID_ABI的变量,我可以使用下拉列表为其选择值。但是在此列表中,我只能选择armeabi,带VFP的armeabi-v6,带NEON的armeabi-v7a,带VFPV3的armeabi-v7a。
我可以使用CMake控制台为arm64配置和生成项目,也可以修改cmake脚本并手动列出。但是,当我尝试生成生成的项目时,出现错误unknown type name '__uint128_t'__uint128_t。因此,我认为有一些原因导致我无法从下拉列表中选择此变体。
如何选择arm64变体进行构建,为什么会出现此类错误?
我正在尝试创建一个dll pdfium.我正在使用Visual Studio 2013(C++)我试过按照https://github.com/pvginkel/PdfiumViewer的说明但是没有用.(我试图获得一个不是PdfiumViewer的项目的pdfium dll ).我收到以下错误:
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1193,5): warning MSB8012: TargetPath(\build\Debug\lib\pdfium.dll) does not match the Linker's OutputFile property value (C:\build\Debug\pdfium.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2> Creating library \build\Debug\pdfium.lib and object \build\Debug\pdfium.exp
2>fpdfdoc.lib(doc_form.obj) : error LNK2019: unresolved external symbol __imp_CreateFontA referenced in function "public: static class CPDF_Font * __cdecl CPDF_InterForm::AddSystemFont(class CPDF_Document const *,class CFX_ByteString,unsigned …Run Code Online (Sandbox Code Playgroud)