简体   繁体   中英

XCode iOS - Need help on Compiling C Error

I'm trying include this barcode source code Stefanhafeneger - Barcode github.com to my project because this is the only DataMatrix library for iOS I can find so far. I have no problem compile and run the source code on xcode 4.2 but when i try to use the library in my project. I received quite lots of error as follows.

http://dl.dropbox.com/u/2305062/Screen%20Shot%202012-04-07%20at%2003.13.08.png

After some surfing, i found that they were foundation error which i think is cause by the.C files for example file - dmtx.c it is under libdmtx library.

When i remove the library for debugging all error were gone and left 'dmtx.h' file not found so i think xcode does regconized these files. Any idea to compile these C files?

Many Thanks Kin

My assumption is that you did not have the Foundation.framework instanciated in your project...

My mistake, the problem was cause by my prefix file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM