CTBConsulting / Card.io-for-Capital-One-vertical-Cards

Code to Enhance Card.io so it can recognize Vertical Credit Card Formats from Capital One
Other
27 stars 10 forks source link

Unknown type name 'namespace' #2

Closed safwanmalik closed 8 years ago

safwanmalik commented 8 years ago

I'm getting 3 error as below when compile the project after follow the step and all in the same file. Can somebody assist me where I do wrong ? or can somebody try it and share if successfully compile everything for reference.

CTBConsulting commented 8 years ago

safwanmalik: We will be back to you in a bit with an answer to your issue...

CTBConsulting commented 8 years ago

I think we are know what you are referring to. This can happen when xcode tries to compile objective c++ as objective c. The repository card.io files are objective c++ (the DMZ) and I think you may be trying to compile them as objective c. In objective c namespace do not exist. It happens by default when opening the source code and they don't explain how to fix it. We will double check our configuration but think your issue is probably the xcode compiler not being configured properly.

safwanmalik commented 8 years ago

As per instruction inside the document, dmz should be extract into card.io dmz folder. It should cause dmz to inherited compile setting set for card.io which added into Teserract project. I have the same thought before this cause by the mixed of different compile setting in each project, and try to fixed it with no success.

CTBConsulting commented 8 years ago

safwanmalik We have a solution that should work for you. We have uploaded an updated version to the master branch. See the updated file "Environment Configurations.pdf" that is now in the master directory at:

https://github.com/CTBConsulting/Card.io-for-Capital-One-vertical-Cards/blob/master/Environment%20Configurations.pdf

This updated procedure list should fix your issue.