<div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, Jan 22, 2019 at 4:32 PM BBerco <<a href="mailto:bebe0705@colorado.edu">bebe0705@colorado.edu</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm sorry for the confusion. Actually, the problem appears to arise when vtk<br>
and the armadillo library are loaded together. I haven't tried more<br>
combinations of library to see if the problem only arises in this specific<br>
case.<br>
<br>
Anyways, here's an even more minimal example demonstrating the problem. The<br>
CMakeLists.txt shows two different ways to find VTK. The call that's relying<br>
on COMPONENTS works fine, but the non-specific one leads to the error trace<br>
pasted below.<br></blockquote><div><br></div><div>I tried the example with VTK 8.2, cmake 3.13, and armadillo-9.200.7. For that combination, the example builds without errors. When I get to work, I can try again with VTK 8.1.</div><div><br></div><div>As for COMPONENTS in find_package, the components chosen may change the compile definitions and include directories. For newer versions of cmake, VTK tries to use newer features of cmake for attaching compile definitions and include dirs to the library dependencies that require them.</div><div><br></div><div> David</div><div> </div></div></div></div>