<div>Hi,</div><div><br></div><div>I would like to test OpenSlide (which looks great, thanks for this great work !) but I have some difficulties while compiling.</div><div>I just ran the classical commands (configure, make & make install) and everything looked ok. In fact, the two files libopenslide.so & <a href="http://libopenslide.la">libopenslide.la</a> were generated in /user/local/lib. "include" files were copied in the include directory named /usr/local/include/openslide. </div>
<div><br></div><div>Pkg-config seems also to work :</div><div>pkg-config openslide --cflags => -pthread -I/usr/local/include/openslide -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include </div><div>pkg-config openslide --libs=> -L/usr/local/lib -lopenslide</div>
<div><br></div><div>It is fantastic ;) </div><div><br></div><div>Then, I added the pkg-config commands in CFLAGS & LFLAGS in my MakeFile but it failed while linking :</div><div><br></div><div>/home/stevben/Bureau/src/acquisition/IoOpenSlide.cpp:9: undefined reference to `openslide_open(char const*)'</div>
<div>/home/stevben/Bureau/src/acquisition/IoOpenSlide.cpp:9: undefined reference to `openslide_open(char const*)'</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>Line 9 : openslide_t* slide = openslide_open(filename);</div>
<div><br></div><div> I'm looking for a solution since yesterday... Any idea would be a great help.</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Regards,</div><div><br></div><div>Ben</div>