[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] On running the examples in source
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] On running the examples in source |
Date: |
Sat, 09 May 2015 00:17:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
Why don't you just use 'make'? only "make install" actually installs
something, and running just 'make' will compile the examples/ with the
right compiler options.
Removing 'platform.h' is probably not the answer, as that may work on
some platforms but might fail on more obscure ones.
-Christian
On 05/08/15 11:06, Prakash Premkumar wrote:
> Hi how do I run the examples in the src/examples ?
>
> I don't want to install MHD binary, I just want to run it along side the
> source code
>
> I tried this :
>
> gcc fileserver_example.c
> -I/Users/prakash-2282/Desktop/libmicrohttpd-0.9.41/src/include
>
>
>
> It gave me this error:
>
> * **fatal error: **'MHD_config.h'
> ** file not found*
>
>
>
> Thanks for your help