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.

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 mistake, the problem was cause by my prefix file.