Some simple code:
#include <stdio.h>
#include <png.h>

int main(int argc, char **argv)
{
png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);


        return 0;
}

Compiled with:
gcc -o pngtest pngtest.c -mno-cygwin -mwin32 -mwindows -lpng

Additional info: it works if I remove the -mno-cygwin flag.

 /Marco


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/



Reply via email to