<div dir="ltr">
<div>Hello,</div><div><br></div><div>I have a problem while trying to link taglib to my simple project, which is done in windows with Qt 5.15 and C++. <br></div><div><br></div><div>I
have followed the steps of the installation guide. As a result, I have 3
folders named bin, include and lib and I have copied them into the
folder of my project inside a folder called taglib. So the path to the
include folder would be: <br></div><div>$root_folder_of_project$/taglib/include . <br></div><div><br></div><div>Once
I have them there, I have modified the CMakeList.txt to try to use it
in my project. To accomplish this, I have added the following lines:</div><div>add_subdirectory("./taglib")</div><div>target_link_libraries(AudioDatabaseManager PRIVATE "absolute_path_to_root_folder\\taglib\\lib")</div><div><br></div><div>The line: <i>target_link_libraries</i>(...) I have added just after the <i>target_link_libraries() </i>used for connecting the other Qt libraries.</div><div><br></div><div>After
these steps, QT Creator 10.0.2 is able to autocomplete the path to the
files and autocomplete the classes and their methods. So, I am assuming
that it has worked. However, when I try to build, it fails. The error
that I am encountering is :</div><div><img src="cid:ii_lmw8adoj0" alt="image.png" width="541" height="107" class="gmail-CToWUd gmail-a6T" tabindex="0"></div><div><br></div><div>I have been searching for some response for some days and I couldn't find anything.</div><div><br></div><div>I would like to ask which may be the issue and what I am doing wrong in the procedure.</div><div><br></div><div>Thank you,</div><div><br></div><div>Pedro Mitidieri</div>
</div>