<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thank you Benjamin. I thought it was trivial. After getting the libopenjpeg Ubuntu package, I can proceed.<br><br><div><div id="ecxSkyDrivePlaceholder"></div>> Date: Mon, 3 Sep 2012 13:57:03 -0400<br>> From: bgilbert@cs.cmu.edu<br>> To: openslide-users@lists.andrew.cmu.edu<br>> Subject: Re: Building openslide on Ubuntu 12.04<br>> <br>> On 09/03/2012 12:56 AM, John Minnie wrote:<br>> > The openslide configure script thinks it cannot find the<br>> > OpenJPEG dependency, even though it is located in the path that I<br>> > specify in CFLAGS. The config.log file is attached showing the configure<br>> > failure. What baffles me is that the OpenJPEG library compiled without<br>> > trouble, but when trying to build a trivial C program that #include's<br>> > openjpeg.h, then it fails.<br>> <br>> The public headers in OpenJPEG trunk have some problems:<br>> <br>> 1. They use constructs from stdio.h without #including it. This is the <br>> cause of your configure error.<br>> <br>> 2. They #include OpenJPEG's autogenerated config.h. This will cause <br>> redefinition warnings (or worse) in any dependent program that has its <br>> own Autoconf-generated config.h.<br>> <br>> I recommend sticking with a released version of OpenJPEG for now. On <br>> Ubuntu 12.04, you should just be able to install the libopenjpeg-dev <br>> package.<br>> <br>> --Benjamin Gilbert<br>> <br>> _______________________________________________<br>> openslide-users mailing list<br>> openslide-users@lists.andrew.cmu.edu<br>> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users<br></div>                                            </div></body>
</html>