Hi, I went in big trouble compiling Flac (Windows). With configure (msys and mingw32-make 4.5.2) I didn't have success to compile. Makefile.lite the same. I used also the patches for SIZE_T_MAX UINT_MAX .
Then I could compile every (!) project in flac with MSVC 2008 and I got all libraries, *.dll and *.exe. The libraries are passing all test-programs. With my own tools I see the *.dlls inside are working. So I tried to compile "examples\cpp\decode\file\main.cpp" and "examples\c\decode\file\main.c" separate with the compiled libraries. Again no problem with MSVC. But GNU 4.5.2 doesn't do that job (my own programs are compiled with GNU - so I need this to work - also with Linux). All libraries are linked. examples\c\decode\file\main.c ------------------------------------------ I can compile if I don't use this variables (at the bottom of this site / extern FLAC_API...): http://flac.sourceforge.net/api/stream__decoder_8h.html <cstring> doesn't change anything. i.e.: //fprintf(stderr, " state: %s\n", FLAC__StreamDecoderStateString[FLAC__stream_decoder_get_state(decoder)]); If I use this variables I get: undefined reference to `FLAC__StreamDecoderInitStatusString' examples\cpp\decode\file\main.cpp ------------------------------------------------- I cannot compile at all. The same as in C (above) AND ... : flac.o:flac.cpp:(.text+0xc): undefined reference to `FLAC__StreamDecoderErrorStatusString' flac.o:flac.cpp:(.text+0x565): undefined reference to `FLAC::Decoder::File::File()' flac.o:flac.cpp:(.text+0x592): undefined reference to `FLAC::Decoder::Stream::set_md5_checking(bool)' flac.o:flac.cpp:(.text+0x5a1): undefined reference to `FLAC::Decoder::File::init(char const*)' What is the missing link? Any idea? Thanks a lot! Regards Thomas _______________________________________________ Flac mailing list Flac@xiph.org http://lists.xiph.org/mailman/listinfo/flac