<div dir="ltr">Eliminating the line didn't work. I added the modules that I thought were missing and have seemingly gotten further (less errors). See the attached screenshot for the errors that I'm now getting. I have pushed the change I made to my fork.<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 3:08 PM, David Cole <span dir="ltr"><<a href="mailto:DLRdave@aol.com" target="_blank">DLRdave@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can even try just eliminating that line, and see what errors you<br>
get then... The module system should pull in all the dependent<br>
libraries needed properly. It's been a while since I built it, though,<br>
so things have probably changed in VTK in the meantime.<br>
<br>
Good luck!<br>
<span class="HOEnZb"><font color="#888888"><br>
D<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Wed, Aug 17, 2016 at 2:58 PM, Zamir Khan <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>> wrote:<br>
> Thank you, David, I will give that a shot. The comment directly above that<br>
> line should have tipped me off!<br>
><br>
> "# This is odd and should be changed (by JJ)"<br>
><br>
> On Wed, Aug 17, 2016 at 2:45 PM, David Cole <<a href="mailto:DLRdave@aol.com">DLRdave@aol.com</a>> wrote:<br>
>><br>
>> This line:<br>
>><br>
>><br>
>> <a href="https://github.com/dlrdave/activizdotnet/commit/dae2417bdcc6bb517507ec4dc199e5443f5b229b?w=0#diff-af3b638bc2a3e6c650974192a53c7291R1050" rel="noreferrer" target="_blank">https://github.com/dlrdave/<wbr>activizdotnet/commit/<wbr>dae2417bdcc6bb517507ec4dc199e5<wbr>443f5b229b?w=0#diff-<wbr>af3b638bc2a3e6c650974192a53c72<wbr>91R1050</a><br>
>><br>
>> contains the target_link_libraries command which should pull in the<br>
>> necessary VTK unmanaged libraries to link to. If you are using the<br>
>> OpenGL2 backend, you'll have to update the list of libraries in that<br>
>> command appropriately.<br>
>><br>
>> I can't build it myself at the moment because I don't have access to<br>
>> an old VS 2008 install right now. If this doesn't get you past this<br>
>> error, I'll see if I can scrounge up access to a system like that this<br>
>> weekend.<br>
>><br>
>><br>
>> HTH,<br>
>> David C.<br>
>><br>
>><br>
>><br>
>> On Wed, Aug 17, 2016 at 2:32 PM, Zamir Khan <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>> wrote:<br>
>> > Thank you, David, that's very kind.<br>
>> ><br>
>> > <a href="https://github.com/zamirkhan/activizdotnet" rel="noreferrer" target="_blank">https://github.com/zamirkhan/<wbr>activizdotnet</a><br>
>> ><br>
>> > On Wed, Aug 17, 2016 at 2:29 PM, David Cole <<a href="mailto:DLRdave@aol.com">DLRdave@aol.com</a>> wrote:<br>
>> >><br>
>> >> If you can push a commit (or series of commits) to your fork, and<br>
>> >> point me to it, I can take a look to see if I can help you through the<br>
>> >> errors you're getting.<br>
>> >><br>
>> >> D<br>
>> >><br>
>> >><br>
>> >> On Wed, Aug 17, 2016 at 2:12 PM, Zamir Khan <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > @Matias Thank you for sharing the code. However, after successfulling<br>
>> >> > CMake-ing the project, the compilation of Activiz fails. There are a<br>
>> >> > few<br>
>> >> > errors, but this seems to be the root cause (occurs in every<br>
>> >> > project):<br>
>> >> ><br>
>> >> > Error 2219 fatal error LNK1104: cannot open file<br>
>> >> > 'vtkRenderingVolumeOpenGL.lib'<br>
>> >> ><br>
>> >> > When I view the Linker > Input for one of those projects, I see:<br>
>> >> ><br>
>> >> > ...<br>
>> >> ><br>
>> >> ><br>
>> >> > D:\dev\sandbox\Activiz\VTK-6.<wbr>2.0\bin-x64-opengl2\lib\Debug\<wbr>vtkRenderingFreeType-6.2.lib<br>
>> >> ><br>
>> >> ><br>
>> >> > D:\dev\sandbox\Activiz\VTK-6.<wbr>2.0\bin-x64-opengl2\lib\Debug\<wbr>vtkInteractionStyle-6.2.lib<br>
>> >> > vtkRenderingVolumeOpenGL.lib<br>
>> >> > vtkRenderingContextOpenGL.lib<br>
>> >> ><br>
>> >> ><br>
>> >> > D:\dev\sandbox\Activiz\VTK-6.<wbr>2.0\bin-x64-opengl2\lib\Debug\<wbr>vtkRenderingContext2D-6.2.lib<br>
>> >> ><br>
>> >> ><br>
>> >> > D:\dev\sandbox\Activiz\VTK-6.<wbr>2.0\bin-x64-opengl2\lib\Debug\<wbr>vtkViewsCore-6.2.lib<br>
>> >> > ...<br>
>> >> ><br>
>> >> > I think it should be looking for vtkRenderingVolumeOpenGL2-6.2.<wbr>lib<br>
>> >> > and<br>
>> >> > vtkRenderingContextOpenGL2-6.<wbr>2.lib instead, but I'm not sure how to<br>
>> >> > modify<br>
>> >> > the build to make that happen. Any ideas?<br>
>> >> ><br>
>> >> > @DavidCole Thanks. I forked that repo and if I get the Activiz 6.3<br>
>> >> > OpenGL2<br>
>> >> > build working, I will share the repo with the list<br>
>> >> ><br>
>> >> > @Lui See my response to DavidCole, but I don't think anyone has<br>
>> >> > gotten<br>
>> >> > Activiz working with VTK 7.0<br>
>> >> ><br>
>> >> > On Tue, Aug 16, 2016 at 9:57 PM, Liu_tj <<a href="mailto:tjlp@netease.com">tjlp@netease.com</a>> wrote:<br>
>> >> >><br>
>> >> >> Hi,<br>
>> >> >><br>
>> >> >> Would you like to share the code for ActiveZ? At present I prepare<br>
>> >> >> to<br>
>> >> >> build Activiz with VTK 7 by myself.<br>
>> >> >><br>
>> >> >> Thanks<br>
>> >> >><br>
>> >> >> 在2016-08-16,"Zamir Khan" <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>> 写道:<br>
>> >> >><br>
>> >> >> -----原始邮件-----<br>
>> >> >> 发件人:"Zamir Khan" <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>><br>
>> >> >> 发送时间:2016年08月16日 星期二<br>
>> >> >> 收件人:"Matias Montroull" <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>><br>
>> >> >> 抄送:"vtkusers" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
>> >> >> 主题:Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build<br>
>> >> >> Success<br>
>> >> >><br>
>> >> >><br>
>> >> >> Thank you, Matias! I have downloaded the code and will examine it<br>
>> >> >> within<br>
>> >> >> the next day or two. I will report back with my results.<br>
>> >> >><br>
>> >> >> On Tue, Aug 16, 2016 at 9:54 AM, Matias Montroull<br>
>> >> >> <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >>><br>
>> >> >>> Now I'm looking at the code, I don't think I built this using<br>
>> >> >>> OpenGL2,<br>
>> >> >>> in<br>
>> >> >>> fact I was trying to Build ActiViz 7.0 with OpenGL2 and I was<br>
>> >> >>> running<br>
>> >> >>> into<br>
>> >> >>> issues. see if the code I sent works for you.<br>
>> >> >>><br>
>> >> >>> El mar., 16 de ago. de 2016 a la(s) 10:50, Matias Montroull<br>
>> >> >>> <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>> escribió:<br>
>> >> >>>><br>
>> >> >>>> I just sent the source code of my ActiViz 6.3 through WeTransfer.<br>
>> >> >>>><br>
>> >> >>>> El mar., 16 de ago. de 2016 a la(s) 10:44, Matias Montroull<br>
>> >> >>>> <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>> escribió:<br>
>> >> >>>>><br>
>> >> >>>>> Yes, I will zip the project and send it over.<br>
>> >> >>>>><br>
>> >> >>>>> El lun., 15 de ago. de 2016 a la(s) 10:36, zkhan<br>
>> >> >>>>> <<a href="mailto:zamir.khan@gmail.com">zamir.khan@gmail.com</a>><br>
>> >> >>>>> escribió:<br>
>> >> >>>>>><br>
>> >> >>>>>> Hi Matias,<br>
>> >> >>>>>><br>
>> >> >>>>>> Thank you for your response! Is there a way for you to share the<br>
>> >> >>>>>> CMake<br>
>> >> >>>>>> and additional Activiz source changes you used to get the build<br>
>> >> >>>>>> working? I<br>
>> >> >>>>>> have already built VTK for OpenGL2 (both x86 and x64 as I would<br>
>> >> >>>>>> like to have<br>
>> >> >>>>>> both).<br>
>> >> >>>>>><br>
>> >> >>>>>> Thanks,<br>
>> >> >>>>>> Zamir<br>
>> >> >>>>>><br>
>> >> >>>>>> On Sat, Aug 13, 2016 at 10:04 AM, Matimont [via VTK] <[hidden<br>
>> >> >>>>>> email]><br>
>> >> >>>>>> wrote:<br>
>> >> >>>>>>><br>
>> >> >>>>>>> Hi Zamir, I'm using ActiViz 6.2 with OpenGL2, I can help you<br>
>> >> >>>>>>> building<br>
>> >> >>>>>>> it.<br>
>> >> >>>>>>><br>
>> >> >>>>>>> El vie., 12 de ago. de 2016 a la(s) 16:32, zkhan <[hidden<br>
>> >> >>>>>>> email]><br>
>> >> >>>>>>> escribió:<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> Hi all,<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> I've been able to successfully build Activiz 6.2 (both x86 and<br>
>> >> >>>>>>>> x64)<br>
>> >> >>>>>>>> thanks<br>
>> >> >>>>>>>> to all of the knowledge in this thread and the files provided<br>
>> >> >>>>>>>> by<br>
>> >> >>>>>>>> Mark.<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> I'm wondering if anyone has been able to successfully build<br>
>> >> >>>>>>>> Activiz<br>
>> >> >>>>>>>> 6.2 (or<br>
>> >> >>>>>>>> above) with the underlying VTK compiled for OpenGL2. I think I<br>
>> >> >>>>>>>> need<br>
>> >> >>>>>>>> to add<br>
>> >> >>>>>>>> references to the vtK...OpenGL2 libraries in the Activiz<br>
>> >> >>>>>>>> CMake,<br>
>> >> >>>>>>>> but<br>
>> >> >>>>>>>> I have<br>
>> >> >>>>>>>> yet to be able to do that successfully.<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> Thanks,<br>
>> >> >>>>>>>> Zamir<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>><br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> --<br>
>> >> >>>>>>>> View this message in context:<br>
>> >> >>>>>>>><br>
>> >> >>>>>>>><br>
>> >> >>>>>>>> <a href="http://vtk.1045678.n5.nabble.com/Activiz-6-2-with-VTK-6-2-and-NET-4-0-Build-Success-tp5733889p5739731.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Activiz-6-2-with-VTK-6-2-<wbr>and-NET-4-0-Build-Success-<wbr>tp5733889p5739731.html</a><br>
>> >> >>>>>>>> Sent from the VTK - Users mailing list archive at Nabble.com.<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<br>
>> >> >>>>>>>> <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:<br>
>> >> >>>>>>>> <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:<br>
>> >> >>>>>>>> <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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> >> >>>>>>><br>
>> >> >>>>>>> --<br>
>> >> >>>>>>> Matias<br>
>> >> >>>>>>><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<br>
>> >> >>>>>>> <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:<br>
>> >> >>>>>>> <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:<br>
>> >> >>>>>>> <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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> >> >>>>>>><br>
>> >> >>>>>>><br>
>> >> >>>>>>> ______________________________<wbr>__<br>
>> >> >>>>>>> If you reply to this email, your message will be added to the<br>
>> >> >>>>>>> discussion below:<br>
>> >> >>>>>>><br>
>> >> >>>>>>><br>
>> >> >>>>>>><br>
>> >> >>>>>>> <a href="http://vtk.1045678.n5.nabble.com/Activiz-6-2-with-VTK-6-2-and-NET-4-0-Build-Success-tp5733889p5739741.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Activiz-6-2-with-VTK-6-2-<wbr>and-NET-4-0-Build-Success-<wbr>tp5733889p5739741.html</a><br>
>> >> >>>>>>> To unsubscribe from Activiz 6.2 with VTK-6.2 and .NET 4.0 Build<br>
>> >> >>>>>>> Success, click here.<br>
>> >> >>>>>>> NAML<br>
>> >> >>>>>><br>
>> >> >>>>>><br>
>> >> >>>>>><br>
>> >> >>>>>> ______________________________<wbr>__<br>
>> >> >>>>>> View this message in context: Re: Activiz 6.2 with VTK-6.2 and<br>
>> >> >>>>>> .NET<br>
>> >> >>>>>> 4.0 Build Success<br>
>> >> >>>>>> Sent from the VTK - Users mailing list archive at Nabble.com.<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<br>
>> >> >>>>>> <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:<br>
>> >> >>>>>> <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:<br>
>> >> >>>>>> <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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> >> >>>>><br>
>> >> >>>>> --<br>
>> >> >>>>> Matias<br>
>> >> >>>><br>
>> >> >>>> --<br>
>> >> >>>> Matias<br>
>> >> >>><br>
>> >> >>> --<br>
>> >> >>> Matias<br>
>> >> >><br>
>> >> >><br>
>> >> ><br>
>> >> ><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<br>
>> >> > <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:<br>
>> >> > <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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
>> >> ><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>