[futurebasic] Re: [FB] Incorporating External Frameworks into an FB Project

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2013 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Mon, 6 May 2013 11:39:18 -0700
On May 6, 2013, at 9:01 AM, Ken Shmidheiser <kshmidheiser@...> wrote:

> ./configure --enable-static --disable-shared
> make

thanks Ken. These were the same commands I used including building the empty pig-config. I had no idea what configure parms to use.
configure now works ( I was using it without those parms ) but make fails with errors. This is OS X 10.8.3

qrenc.c:30:17: error: png.h: No such file or directory
qrenc.c: In function ‘writePNG’:
qrenc.c:243: error: ‘png_structp’ undeclared (first use in this function)
qrenc.c:243: error: (Each undeclared identifier is reported only once
qrenc.c:243: error: for each function it appears in.)
qrenc.c:243: error: expected ‘;’ before ‘png_ptr’
qrenc.c:244: error: ‘png_infop’ undeclared (first use in this function)
qrenc.c:244: error: expected ‘;’ before ‘info_ptr’
qrenc.c:245: error: ‘png_colorp’ undeclared (first use in this function)
qrenc.c:245: error: expected ‘;’ before ‘palette’
qrenc.c:246: error: ‘png_byte’ undeclared (first use in this function)
qrenc.c:246: error: expected ‘;’ before ‘alpha_values’
qrenc.c:269: error: ‘png_ptr’ undeclared (first use in this function)
qrenc.c:269: warning: implicit declaration of function ‘png_create_write_struct’
qrenc.c:269: error: ‘PNG_LIBPNG_VER_STRING’ undeclared (first use in this function)
qrenc.c:275: error: ‘info_ptr’ undeclared (first use in this function)
qrenc.c:275: warning: implicit declaration of function ‘png_create_info_struct’
qrenc.c:281: warning: implicit declaration of function ‘setjmp’
qrenc.c:281: warning: implicit declaration of function ‘png_jmpbuf’
qrenc.c:282: warning: implicit declaration of function ‘png_destroy_write_struct’
qrenc.c:287: error: ‘palette’ undeclared (first use in this function)
qrenc.c:287: error: expected ‘;’ before ‘malloc’
qrenc.c:294: error: ‘alpha_values’ undeclared (first use in this function)
qrenc.c:296: warning: implicit declaration of function ‘png_set_PLTE’
qrenc.c:297: warning: implicit declaration of function ‘png_set_tRNS’
qrenc.c:299: warning: implicit declaration of function ‘png_init_io’
qrenc.c:300: warning: implicit declaration of function ‘png_set_IHDR’
qrenc.c:303: error: ‘PNG_COLOR_TYPE_PALETTE’ undeclared (first use in this function)
qrenc.c:304: error: ‘PNG_INTERLACE_NONE’ undeclared (first use in this function)
qrenc.c:305: error: ‘PNG_COMPRESSION_TYPE_DEFAULT’ undeclared (first use in this function)
qrenc.c:306: error: ‘PNG_FILTER_TYPE_DEFAULT’ undeclared (first use in this function)
qrenc.c:307: warning: implicit declaration of function ‘png_set_pHYs’
qrenc.c:310: error: ‘PNG_RESOLUTION_METER’ undeclared (first use in this function)
qrenc.c:311: warning: implicit declaration of function ‘png_write_info’
qrenc.c:316: warning: implicit declaration of function ‘png_write_row’
qrenc.c:348: warning: implicit declaration of function ‘png_write_end’
make[2]: *** [qrencode-qrenc.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



Brian S.