Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Cocoa Apps with Dylib

Avatar
Rank

Total Posts: 3

Joined 0

PM

Hello,

I really hope someone here can help me..

i'm trying to make a cocoa apps (Xcode 4.4.1) with demo_DLL. for now I just to try to diaplay the MSG received from the USB key to a graphical window. (not in the console)

but I always have this error:

Typedef redefinition with different types ('unsigned char' vs 'signed char')

in file: type.h line:110 , typedef unsigned char BOOL;

thanks
Eric      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Eric,

It would look like there may be some conflicts in the definitions in types.h with some other code that you are using for your Cocoa application.

We are not very familiar with Cocoa development, but looking around, this seems to be a fairly common issue developers encounter when working with Cocoa (not just using the ANT libraries, but other 3rd party libraries).

This post has some suggestions on how to deal with this
http://www.dreamincode.net/forums/topic/234951-cobjective-c-typedef-error/