Compiling Enet in iphone xcode project

Posted by EToreo on Stack Overflow See other posts from Stack Overflow or by EToreo
Published on 2010-05-30T06:00:46Z Indexed on 2010/05/30 6:02 UTC
Read the original article Hit count: 239

Filed under:
|
|
|

Hello, I am trying to compile the Enet source code into my code framework for iPhone games. After modifying the header files I get it compiling and linking, but I absolutely must be compiling with the "Compile Source As" set to "Objective-C++" in my xcode project (because the framework code requires this). When I flip this switch in my test project, I get these errors:

Undefined symbols: "_enet_list_clear", referenced from: _enet_host_connect in host.o ...

Can anyone help get this linking with "Compile Source As" set to "Objective-C++"?

© Stack Overflow or respective owner

Related posts about xcode

Related posts about library