<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Thanks!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Actually I found a hack by adding "#undef <span>vtkRenderingOpenGL2_AUTOINIT"</span> in one header of my project. Though it's not very elegant, it did the job.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best,</p>
<p style="margin-top:0;margin-bottom:0">Boris<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De :</b> Allie Vacanti <allison.vacanti@kitware.com><br>
<b>Envoyé :</b> mardi 23 janvier 2018 19:10<br>
<b>À :</b> Boris Basic<br>
<b>Cc :</b> vtk vtk<br>
<b>Objet :</b> Re: [vtkusers] How to disable linking with GL2PS VTK module?</font>
<div> </div>
</div>
<div>
<div dir="ltr">vtkRenderingGL2PSOpenGL2 is an implementation detail that bridges the rendering library and gl2ps without creating a direct dependency on gl2ps. By design, linking to it should not pull in the actual gl2ps library as a dependency.<br>
<br>
I'm not aware of any way to disable this module, AFAIK it seems to be autoenabled it implements a pure abstract interface in vtkRenderingOpenGL2. Someone with more knowledge of the details for the IMPLEMENTS keyword in the module system may know of a trick
that I'm not aware of, though.<br>
<br>
HTH,<br>
Allie</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Tue, Jan 23, 2018 at 3:26 AM, Boris Basic <span dir="ltr">
<<a href="mailto:baljci@hotmail.com" target="_blank">baljci@hotmail.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_1193644110518194944divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0; margin-bottom:0">Hi,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">When generating a Visual Studio project using CMake, project which depends on vtkRenderingOpenGL2, the following preprocessor definition is added to the vcxproj:
<span>"vtkRenderingOpenGL2_AUTOINIT=<wbr>1(vtkRenderingGL2PSOpenGL2)</span>". This requires the project to link with
<span>vtkRenderingGL2PSOpenGL2.</span> But as my project does not require GL2PS, I would like to get rid of this forced dependency, but could not find how to remove or change the autoinit definition. Is it possible to do that?</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Cheers,</p>
<p style="margin-top:0; margin-bottom:0">Boris<br>
</p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">
http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>