From posutsai at gmail.com Thu Jun 14 13:09:07 2018 From: posutsai at gmail.com (YuehLin Tsai) Date: Fri, 15 Jun 2018 01:09:07 +0800 Subject: I have an issue when I try to build openslide. Message-ID: Dear the maintainer of OpenSlide, When I tried to follow the first instruction "./configure" on README to build openslide, it keep showing this error message. "cannot find OpenJPEG" But I pretty sure I have installed openjpeg on my linux server. I can compile and execute following code which I copied from configure.ac well. #include int main() { const char *ver = opj_version(); return 0; } use gcc test.c -lopenjp2 -o test to output executable I am wondering if there is version issue of openjpeg or the path of openjpeg.h may be wrong place. Last but not least, thanks for such a great project. It really helps me a lot. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bgilbert at cs.cmu.edu Fri Jun 15 23:51:26 2018 From: bgilbert at cs.cmu.edu (Benjamin Gilbert) Date: Fri, 15 Jun 2018 23:51:26 -0400 Subject: I have an issue when I try to build openslide. In-Reply-To: References: Message-ID: <20180616035125.GA19098@hyliota.hl.backtick.net> On Fri, Jun 15, 2018 at 01:09:07AM +0800, YuehLin Tsai wrote: > When I tried to follow the first instruction "./configure" on README > to build openslide, it keep showing this error message. "cannot find > OpenJPEG" > But I pretty sure I have installed openjpeg on my linux server. Check that the OpenJPEG pkg-config file is in your PKG_CONFIG_PATH. For example, if you've installed OpenJPEG into /usr/local, run configure as: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --Benjamin Gilbert