[Icecast] Compiling icecast on windows?

Karl Heyes karl at xiph.org
Fri Jul 8 04:45:58 PDT 2005


On Fri, 2005-07-08 at 11:35, Ricardo Meechan wrote:
> Hi,
> Thanks for the reply,
> I got the dependancies but with no lucl :(
> 
> Its just error after error.
> 
> Does anyone on the list have experience with compiling on windows? 
> Does anyone have a compiled version icecast-2.2-kh12d?
> Should I just give up and wait for the next official release? :(
> 
> Heres the errors I get now:

>From what is shown below, it looks like the same error over and over
above. interesting to see that even VS 2003 still doesn't support
__attribute__

The best way forward is to make sure you compile with the HAVE_CONFIG_H
set on the command line, and copy the config.h from your linux build
(it's created automatically from configure) and tweak it so to match the
settings for your compiler

eg add the following and it should get rid of the log.h errors

#define __attribute__(x)

For other messages I'd have to see them each run through so I can see
what shows up.

> ------ Build started: Project: icecast, Configuration: Release Win32
> ------
> 
> Compiling...
> yp.c
> icecast-2.2-kh12d\src\log\log.h(37) : error C2061: syntax error :
> identifier '__attribute__'
> icecast-2.2-kh12d\src\log\log.h(37) : error C2059: syntax error : ';'
> icecast-2.2-kh12d\src\log\log.h(37) : error C2059: syntax error : ','
> icecast-2.2-kh12d\src\log\log.h(37) : error C2143: syntax error :
> missing ')' before 'constant'
> icecast-2.2-kh12d\src\log\log.h(37) : error C2143: syntax error :
> missing ')' before 'constant'
> icecast-2.2-kh12d\src\logging.h(33) : warning C4117: macro name
> '__FUNCTION__' is reserved, '#define' ignored

karl.




More information about the Icecast mailing list