project with source files of Zbar

2019-08-27 15:26发布

问题:

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