<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-forward-container">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div markdown-here-wrapper-content-modified="true" style=""
        class="markdown-here-wrapper" data-md-url="Thunderbird">
        <p style="margin: 0px 0px 1.2em ! important;">Hello everyone,</p>
        <p style="margin: 0px 0px 1.2em ! important;"> I’m trying to get
          a project to compile using Qt Creator, but I keep running into
          a linker error:</p>
        <blockquote style="margin: 1.2em 0px;border-left: 4px solid
          rgb(221, 221, 221); padding: 0px 1em; color: rgb(119, 119,
          119); quotes: none;">
          <p style="margin: 0px 0px 1.2em ! important;">LINK : fatal
            error LNK1104: file”vtkRendering.lib” can not be opened </p>
        </blockquote>
        <p style="margin: 0px 0px 1.2em ! important;"> Obviously, the
          linker can not find the library it needs. This is what I did:</p>
        <p style="margin: 0px 0px 1.2em ! important;"> 1) Build VTK
          64bit from scratch using cmake-gui and MSCV13. I built both
          ALL_BUILD and INSTALL with administrator privileges. This
          installed VTK into C:\Program Files\VTK . I also set the
          VTK_GROUP_QT and BUILD_SHARED_LIBS flags.</p>
        <p style="margin: 0px 0px 1.2em ! important;">2) Set an
          environment variable VTK_DIR to C:\Program Files\VTK</p>
        <p style="margin: 0px 0px 1.2em ! important;"> 3) Set the
          CMakefile</p>
        <pre style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block ! important;">cmake_minimum_required (VERSION 2.6 FATAL_ERROR)

project      (pcl-visualizer)
find_package (Qt4 REQUIRED)
find_package (VTK REQUIRED)
find_package (PCL 1.7 REQUIRED)

include_directories (${PCL_INCLUDE_DIRS})
link_directories    (${PCL_LIBRARY_DIRS})
add_definitions     (${PCL_DEFINITIONS})

set  (project_SOURCES main.cpp pclviewer.cpp)
set  (project_HEADERS pclviewer.h)
set  (project_FORMS   pclviewer.ui)
set  (VTK_LIBRARIES   vtkRendering vtkGraphics vtkHybrid QVTK)

QT4_WRAP_CPP (project_HEADERS_MOC   ${project_HEADERS})
QT4_WRAP_UI  (project_FORMS_HEADERS ${project_FORMS})
qt4_add_resources(RCC_GENERATED ${RCC})

INCLUDE         (${QT_USE_FILE})
ADD_DEFINITIONS (${QT_DEFINITIONS})

ADD_EXECUTABLE  (pcl_visualizer ${project_SOURCES}
                            ${project_FORMS_HEADERS}
                            ${project_HEADERS_MOC})

TARGET_LINK_LIBRARIES (pcl_visualizer ${QT_LIBRARIES} ${PCL_LIBRARIES} ${VTK_LIBRARIES})
</code></pre>
        <p style="margin: 0px 0px 1.2em ! important;">4) Then I did a </p>
        <blockquote style="margin: 1.2em 0px;border-left: 4px solid
          rgb(221, 221, 221); padding: 0px 1em; color: rgb(119, 119,
          119); quotes: none;">
          <p style="margin: 0px 0px 1.2em ! important;">cmake . -G”NMake
            Makefiles”<br>
            nmake</p>
        </blockquote>
        <p style="margin: 0px 0px 1.2em ! important;">and after a
          compiling phase I’m told by nmake, that, as mentioned
          initially:</p>
        <blockquote style="margin: 1.2em 0px;border-left: 4px solid
          rgb(221, 221, 221); padding: 0px 1em; color: rgb(119, 119,
          119); quotes: none;">
          <p style="margin: 0px 0px 1.2em ! important;">LINK : fatal
            error LNK1104: file”vtkRendering.lib” can not be opened </p>
        </blockquote>
        <p style="margin: 0px 0px 1.2em ! important;">Interestingly
          enough, the file does indeed not exist in the C:\Program
          Files\VTK\lib directory, though there are files named quite
          similiarly:</p>
        <blockquote style="margin: 1.2em 0px;border-left: 4px solid
          rgb(221, 221, 221); padding: 0px 1em; color: rgb(119, 119,
          119); quotes: none;">
          <p style="margin: 0px 0px 1.2em ! important;">vtkRenderingOpenGL-6.2.lib<br>
            vtkRenderingQT-6.2.lib </p>
        </blockquote>
        <p style="margin: 0px 0px 1.2em ! important;">for example. What
          am I doing wrong? </p>
        <p style="margin: 0px 0px 1.2em ! important;">Thanks in advance!<br>
          Florian Thevißen</p>
        <div
title="MDH:SGVsbG8gZXZlcnlvbmUsPGJyPgo8YnI+CkknbSB0cnlpbmcgdG8gZ2V0IGEgcHJvamVjdCB0byBjb21waWxlIHVzaW5nIFF0IENyZWF0b3IsIGJ1dCBJIGtlZXAgcnVubmluZyBpbnRvIGEgbGlua2VyIGVycm9yOjxzcGFuIHN0eWxlPSIgY29sb3I6IzAwMDAwMDsiPjxicj4KICA8YnI+Cjwvc3Bhbj4K
PHAgc3R5bGU9IiBtYXJnaW4tdG9wOjBweDsgbWFyZ2luLWJvdHRvbTowcHg7IG1hcmdpbi1sZWZ0
OjBweDsgbWFyZ2luLXJpZ2h0OjBweDsgLXF0LWJsb2NrLWluZGVudDowOyB0ZXh0LWluZGVudDow
cHg7Ij48c3BhbiBzdHlsZT0iIGNvbG9yOiMwMDAwMDA7Ij4mZ3Q7IExJTksgOiBmYXRhbCBlcnJv
ciBMTksxMTA0OiBmaWxlInZ0a1JlbmRlcmluZy5saWIiIGNhbiBub3QgYmUgb3BlbmVkIDxicj4K
PC9zcGFuPjwvcD4KPHAgc3R5bGU9IiBtYXJnaW4tdG9wOjBweDsgbWFyZ2luLWJvdHRvbTowcHg7
IG1hcmdpbi1sZWZ0OjBweDsgbWFyZ2luLXJpZ2h0OjBweDsgLXF0LWJsb2NrLWluZGVudDowOyB0
ZXh0LWluZGVudDowcHg7Ij48c3BhbiBzdHlsZT0iIGNvbG9yOiMwMDAwMDA7Ij48YnI+Ck9idmlv
dXNseSwgdGhlIGxpbmtlciBjYW4gbm90IGZpbmQgdGhlIGxpYnJhcnkgaXQgbmVlZHMuIFRoaXMg
aXMgd2hhdCBJIGRpZDo8YnI+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Zy5saWIiIGNh
biBub3QgYmUgb3BlbmVkIDwvc3Bhbj48L3A+PGJyPkludGVyZXN0aW5nbHkgZW5vdWdoLCB0aGUg
ZmlsZSBkb2VzIGluZGVlZCBub3QgZXhpc3QgaW4gdGhlIEM6XFByb2dyYW0gRmlsZXNcVlRLXGxp
YiBkaXJlY3RvcnksIHRob3VnaCB0aGVyZSBhcmUgZmlsZXMgbmFtZWQgcXVpdGUgc2ltaWxpYXJs
eTo8YnI+PGJyPiZndDsgdnRrUmVuZGVyaW5nT3BlbkdMLTYuMmxpYjxicj4mZ3Q7IHZ0a1JlbmRl
cmluZ1FULTYuMi5saWIgPGJyPjxicj5mb3IgZXhhbXBsZS4gV2hhdCBhbSBJIGRvaW5nIHdyb25n
PyA8YnI+PGJyPlRoYW5rcyBpbiBhZHZhbmNlITxicj5GbG9yaWFuIFRoZXZpw59lbjxicj48YnI+"
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;">​</div>
      </div>
      <br>
    </div>
    <br>
  </body>
</html>