Perhaps user error, but getting a build error when trying to use CocoaHTTPServer

33 views
Skip to first unread message

Justin Hill

unread,
Mar 5, 2012, 9:24:42 AM3/5/12
to cocoaht...@googlegroups.com
I've been trying with no success to get CocoaHTTPServer to build in a simple Foundation project, and I'm not quite sure what I'm doing wrong.  This is the first time I have attempted to use a third-party library with Obj-C.  I have taken the following steps already:

  1. Copied the Core and Vendor folders into my project
  2. Imported "Core/HTTPServer.h"
  3. Allocated and initialized an HTTPServer object.
My very simplistic code can be found here: http://pastebin.com/BPGNQuM8

The error I'm getting can be found below.  The way I understand it, this message implies that the compiler doesn't know what an HTTPServer object is.

I truly appreciate any insight anyone can provide!

Regards,
Justin Hill


Joe Francia

unread,
Mar 5, 2012, 12:21:43 PM3/5/12
to cocoaht...@googlegroups.com
Change this:
#import "Core/HTTPServer.h"

To this:
#import "HTTPServer.h"


-- 
Joe Francia

--
You received this message because you are subscribed to the Google Groups "CocoaHTTPServer" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocoahttpserver/-/7tl8HN7huhEJ.
To post to this group, send email to cocoaht...@googlegroups.com.
To unsubscribe from this group, send email to cocoahttpserv...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocoahttpserver?hl=en.

Reply all
Reply to author
Forward
0 new messages