<div dir="ltr">Good day, <div><br></div><div>I am currently investigating the possible use of OpenSlide for a project with large images in a GUI program that needs to be "easy to zoom, smooth, flicker free". I downloaded the source files and tried to run my first program but had little success. Please allow me to explain what I did. (I'm still a bit of a beginner, so please excuse me if I did something "stupid")</div><div><br></div><div><b>Operating System</b></div><div>Ubuntu 14.04</div><div><br></div><div><b>Download</b></div><div>I firstly downloaded the latest stable source files (V3.4.1) from <a href="http://openslide.org/download/">http://openslide.org/download/</a> and extracted the contents into /home/<UserName>/openslide-master. This file contains various folders and files including the README.txt</div><div><br></div><div><b>Opened an IDE</b></div><div>I then tried to write my first program in an IDE using QtCreator 3.3.1 (opensource) based on Qt 5.4.1 (GCC 4.6.1, 64 bit). I wrote the following code (source and project files are attached): </div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#include <iostream><br>extern "C" {<br>#include "../../openslide-master/src/openslide.h"<br>}<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">int main()<br>{<br>    std::cout << "Welcome to OpenSlide Version: " << openslide_get_version() << std::endl;<br>    return 0;<br>}</blockquote><div><br></div>I also added the following to my project (.pro) file: <div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">LIBS += -L${libdir} -lopenslide <br>CCFLAG += -I${includedir}/openslide</blockquote><div><br></div><div>However, I get the following build error: </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">/home/evert/OpenSlide/FirstProgram/main.cpp:13: error: undefined reference to `openslide_get_version' </blockquote><div><br></div><div>It seems that it doesn't seem to find the library file functions even though I added the header file and linked against openslide? Any help would be appreciated. </div><div><br></div><div>Kindest regards, </div><div>Evert </div></div>