Failure of ./configure in Windows Openslide build

Peter Cooper petercooper at pgctesting001.com
Thu Dec 9 18:18:53 EST 2010


I am getting the following error, despite putting all the proper code in the
parent directory:

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


More information about the openslide-users mailing list