Building openslide on Ubuntu 12.04

John Minnie jminnie at live.com
Mon Sep 3 14:12:44 EDT 2012



Thank you Benjamin. I thought it was trivial. After getting the libopenjpeg Ubuntu package, I can proceed.

> Date: Mon, 3 Sep 2012 13:57:03 -0400
> From: bgilbert at cs.cmu.edu
> To: openslide-users at lists.andrew.cmu.edu
> Subject: Re: Building openslide on Ubuntu 12.04
> 
> On 09/03/2012 12:56 AM, John Minnie wrote:
> > The openslide configure script thinks it cannot find the
> > OpenJPEG dependency, even though it is located in the path that I
> > specify in CFLAGS. The config.log file is attached showing the configure
> > failure. What baffles me is that the OpenJPEG library compiled without
> > trouble, but when trying to build a trivial C program that #include's
> > openjpeg.h, then it fails.
> 
> The public headers in OpenJPEG trunk have some problems:
> 
> 1.  They use constructs from stdio.h without #including it.  This is the 
> cause of your configure error.
> 
> 2.  They #include OpenJPEG's autogenerated config.h.  This will cause 
> redefinition warnings (or worse) in any dependent program that has its 
> own Autoconf-generated config.h.
> 
> I recommend sticking with a released version of OpenJPEG for now.  On 
> Ubuntu 12.04, you should just be able to install the libopenjpeg-dev 
> package.
> 
> --Benjamin Gilbert
> 
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20120903/d73827ab/attachment.html 


More information about the openslide-users mailing list