having issues when I include sio.h

View previous topic View next topic Go down

having issues when I include sio.h

Post  kevinx on Sun Oct 19, 2008 8:40 pm

When I try to include sio.h in my object-c classes, I get all all sorts of errors.. such as:
../src/sio2/../bullet/btCollisionWorld.h:67: error: syntax error before 'btStackAlloc'

I assume it has something to do with how these include paths are worked out. I'm sure I'm doing something very noobish, but if someone could clue me in, it would be greatly appreciated. I'm assuming this is something that will pop out to someone as a simple mistake.. if you need more information, let me know.

kevinx

Posts : 3
Join date : 2008-10-19

View user profile

Back to top Go down

Re: having issues when I include sio.h

Post  sio2interactive on Sun Oct 19, 2008 11:36 pm

I would suggest you to simply use the template app. Everything is already set and linked for you, so you can start building on top of it.
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: having issues when I include sio.h

Post  kevinx on Sun Oct 19, 2008 11:45 pm

am using template app. But then for example.. I made a new class called 'Game' and tried to include sio.h but I get over 1k errors.

kevinx

Posts : 3
Join date : 2008-10-19

View user profile

Back to top Go down

Re: having issues when I include sio.h

Post  kevinx on Sun Oct 19, 2008 11:50 pm

hmm.. ok I got it.. I need to use .mm instead of .m

kevinx

Posts : 3
Join date : 2008-10-19

View user profile

Back to top Go down

Re: having issues when I include sio.h

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum