I am getting the following error, despite putting all the proper code in the parent directory:<br><br>configure:12617: gcc -std=gnu99 -o conftest.exe -g -O2 conftest.c -ljpeg >&5<br>configure:12617: $? = 0<br>configure:12634: result: -ljpeg<br>
configure:12648: checking for jpeg_boolean<br>configure:12648: gcc -std=gnu99 -c -g -O2 conftest.c >&5<br>conftest.c: In function 'main':<br>conftest.c:32: error: 'jpeg_boolean' undeclared (first use in this function)<br>
conftest.c:32: error: (Each undeclared identifier is reported only once<br>conftest.c:32: error: for each function it appears in.)<br>configure:12648: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "OpenSlide"<br>
| #define PACKAGE_TARNAME "openslide"<br>| #define PACKAGE_VERSION "3.2.3"<br>| #define PACKAGE_STRING "OpenSlide 3.2.3"<br>| #define PACKAGE_BUGREPORT "<a href="mailto:openslide-users@lists.andrew.cmu.edu">openslide-users@lists.andrew.cmu.edu</a>"<br>
| #define PACKAGE_URL "<a href="http://openslide.cs.cmu.edu">http://openslide.cs.cmu.edu</a>"<br>| #define PACKAGE "openslide"<br>| #define VERSION "3.2.3"<br>| #define STDC_HEADERS 1<br>| #define HAVE_SYS_TYPES_H 1<br>
| #define HAVE_SYS_STAT_H 1<br>| #define HAVE_STDLIB_H 1<br>| #define HAVE_STRING_H 1<br>| #define HAVE_MEMORY_H 1<br>| #define HAVE_STRINGS_H 1<br>| #define HAVE_INTTYPES_H 1<br>| #define HAVE_STDINT_H 1<br>| #define HAVE_UNISTD_H 1<br>
| #define HAVE__BOOL 1<br>| #define HAVE_STDBOOL_H 1<br>| #define HAVE_FSEEKO 1<br>| #define HAVE_DLFCN_H 1<br>| #define LT_OBJDIR ".libs/"<br>| /* end confdefs.h. */<br>| #include <stdio.h><br>| #include <jpeglib.h><br>
| <br>| int<br>| main ()<br>| {<br>| if (sizeof (jpeg_boolean))<br>| return 0;<br>| ;<br>| return 0;<br>| }<br>configure:12648: result: no<br>configure:12661: checking for OpenJPEG<br>configure:12678: gcc -std=gnu99 -o conftest.exe -g -O2 conftest.c -lopenjpeg -ljpeg >&5<br>
conftest.c:27:22: error: openjpeg.h: No such file or directory<br>conftest.c: In function 'main':<br>conftest.c:31: warning: implicit declaration of function 'opj_version'<br>conftest.c:31: warning: initialization makes pointer from integer without a cast<br>
configure:12678: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "OpenSlide"<br>| #define PACKAGE_TARNAME "openslide"<br>| #define PACKAGE_VERSION "3.2.3"<br>
| #define PACKAGE_STRING "OpenSlide 3.2.3"<br>| #define PACKAGE_BUGREPORT "<a href="mailto:openslide-users@lists.andrew.cmu.edu">openslide-users@lists.andrew.cmu.edu</a>"<br>| #define PACKAGE_URL "<a href="http://openslide.cs.cmu.edu">http://openslide.cs.cmu.edu</a>"<br>
| #define PACKAGE "openslide"<br>| #define VERSION "3.2.3"<br>| #define STDC_HEADERS 1<br>| #define HAVE_SYS_TYPES_H 1<br>| #define HAVE_SYS_STAT_H 1<br>| #define HAVE_STDLIB_H 1<br>| #define HAVE_STRING_H 1<br>
| #define HAVE_MEMORY_H 1<br>| #define HAVE_STRINGS_H 1<br>| #define HAVE_INTTYPES_H 1<br>| #define HAVE_STDINT_H 1<br>| #define HAVE_UNISTD_H 1<br>| #define HAVE__BOOL 1<br>| #define HAVE_STDBOOL_H 1<br>| #define HAVE_FSEEKO 1<br>
| #define HAVE_DLFCN_H 1<br>| #define LT_OBJDIR ".libs/"<br>| /* end confdefs.h. */<br>| <br>| #include <openjpeg.h><br>| int<br>| main ()<br>| {<br>| const char *ver = opj_version();<br>| return 0;<br>
| }<br>| <br>configure:12696: error: in `/cygdrive/f/UCSF/Informatics/openslide':<br>configure:12698: error: cannot find OpenJPEG<br>See `config.log' for more details<br>