<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>This is odd, and I suspect it has to do with some Cmake settings. </div>
<div><br>
</div>
<div>I'm compiling a project that depends on QVTKWidgetPlugin. In CMakeLists I have the following:</div>
<div><br>
</div>
<div>
<div>find_package(VTK REQUIRED)</div>
<div>include(${VTK_USE_FILE})</div>
<div>set(LIBS ${LIBS} QVTKWidgetPlugin vtkRenderingFreeTypeOpenGL vtkRenderingVolumeOpenGL vtkInteractionStyle vtkChartsCore )</div>
</div>
<div><br>
</div>
<div>ld: library not found for -lQVTKWidgetPlugin</div>
<div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
</div>
<div><br>
</div>
<div>The only difference I've noticed is in VTK/lib, all other libraries have version numbering, e.g.</div>
<div><br>
</div>
<div>
<div>libvtkzlib-6.0.1.dylib</div>
<div>libvtkzlib-6.0.dylib</div>
</div>
<div><br>
</div>
<div>And QVTKWidgetPlugin does not:</div>
<div><br>
</div>
<div>libQVTKWidgetPlugin.dylib</div>
<div><br>
</div>
<div>But even when I manually create symbolic links, linking fails with exactly the same error!</div>
<div><br>
</div>
<div>Any ideas? Thanks!</div>
<div><br>
</div>
<div>-Aaron</div>
</body>
</html>