project with source files of Zbar

穿精又带淫゛_ 提交于 2019-12-12 02:57:11

问题


I am building an iOS, code scanner project using ZBar SDK. I am trying to build my project directly from the source of ZBar, rather than including the libzbar.a static library.

Here are the steps i did

1) Copied the source file to my project.

2) Added the path to the folder containing the source and headers to the Header Search Paths build setting of the project. (eg include/ZBarSdk)

3)Added the following user defined build setting to the project:

EXCLUDE_SOURCE_FILE_NAMES

USE_HEADERMAP

But am not able to compile it, it still gives error at this

#import <ZBarSDK/ZBarReaderView.h> 

Error: no such file or directory

来源:https://stackoverflow.com/questions/10205636/project-with-source-files-of-zbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!