[vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build Success
Zamir Khan
zamir.khan at gmail.com
Wed Aug 17 16:10:50 EDT 2016
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.
Thanks.
On Wed, Aug 17, 2016 at 3:08 PM, David Cole <DLRdave at aol.com> wrote:
> You can even try just eliminating that line, and see what errors you
> get then... The module system should pull in all the dependent
> libraries needed properly. It's been a while since I built it, though,
> so things have probably changed in VTK in the meantime.
>
> Good luck!
>
> D
>
>
>
> On Wed, Aug 17, 2016 at 2:58 PM, Zamir Khan <zamir.khan at gmail.com> wrote:
> > Thank you, David, I will give that a shot. The comment directly above
> that
> > line should have tipped me off!
> >
> > "# This is odd and should be changed (by JJ)"
> >
> > On Wed, Aug 17, 2016 at 2:45 PM, David Cole <DLRdave at aol.com> wrote:
> >>
> >> This line:
> >>
> >>
> >> https://github.com/dlrdave/activizdotnet/commit/
> dae2417bdcc6bb517507ec4dc199e5443f5b229b?w=0#diff-
> af3b638bc2a3e6c650974192a53c7291R1050
> >>
> >> contains the target_link_libraries command which should pull in the
> >> necessary VTK unmanaged libraries to link to. If you are using the
> >> OpenGL2 backend, you'll have to update the list of libraries in that
> >> command appropriately.
> >>
> >> I can't build it myself at the moment because I don't have access to
> >> an old VS 2008 install right now. If this doesn't get you past this
> >> error, I'll see if I can scrounge up access to a system like that this
> >> weekend.
> >>
> >>
> >> HTH,
> >> David C.
> >>
> >>
> >>
> >> On Wed, Aug 17, 2016 at 2:32 PM, Zamir Khan <zamir.khan at gmail.com>
> wrote:
> >> > Thank you, David, that's very kind.
> >> >
> >> > https://github.com/zamirkhan/activizdotnet
> >> >
> >> > On Wed, Aug 17, 2016 at 2:29 PM, David Cole <DLRdave at aol.com> wrote:
> >> >>
> >> >> If you can push a commit (or series of commits) to your fork, and
> >> >> point me to it, I can take a look to see if I can help you through
> the
> >> >> errors you're getting.
> >> >>
> >> >> D
> >> >>
> >> >>
> >> >> On Wed, Aug 17, 2016 at 2:12 PM, Zamir Khan <zamir.khan at gmail.com>
> >> >> wrote:
> >> >> > @Matias Thank you for sharing the code. However, after
> successfulling
> >> >> > CMake-ing the project, the compilation of Activiz fails. There are
> a
> >> >> > few
> >> >> > errors, but this seems to be the root cause (occurs in every
> >> >> > project):
> >> >> >
> >> >> > Error 2219 fatal error LNK1104: cannot open file
> >> >> > 'vtkRenderingVolumeOpenGL.lib'
> >> >> >
> >> >> > When I view the Linker > Input for one of those projects, I see:
> >> >> >
> >> >> > ...
> >> >> >
> >> >> >
> >> >> > D:\dev\sandbox\Activiz\VTK-6.2.0\bin-x64-opengl2\lib\Debug\
> vtkRenderingFreeType-6.2.lib
> >> >> >
> >> >> >
> >> >> > D:\dev\sandbox\Activiz\VTK-6.2.0\bin-x64-opengl2\lib\Debug\
> vtkInteractionStyle-6.2.lib
> >> >> > vtkRenderingVolumeOpenGL.lib
> >> >> > vtkRenderingContextOpenGL.lib
> >> >> >
> >> >> >
> >> >> > D:\dev\sandbox\Activiz\VTK-6.2.0\bin-x64-opengl2\lib\Debug\
> vtkRenderingContext2D-6.2.lib
> >> >> >
> >> >> >
> >> >> > D:\dev\sandbox\Activiz\VTK-6.2.0\bin-x64-opengl2\lib\Debug\
> vtkViewsCore-6.2.lib
> >> >> > ...
> >> >> >
> >> >> > I think it should be looking for vtkRenderingVolumeOpenGL2-6.2.lib
> >> >> > and
> >> >> > vtkRenderingContextOpenGL2-6.2.lib instead, but I'm not sure how
> to
> >> >> > modify
> >> >> > the build to make that happen. Any ideas?
> >> >> >
> >> >> > @DavidCole Thanks. I forked that repo and if I get the Activiz 6.3
> >> >> > OpenGL2
> >> >> > build working, I will share the repo with the list
> >> >> >
> >> >> > @Lui See my response to DavidCole, but I don't think anyone has
> >> >> > gotten
> >> >> > Activiz working with VTK 7.0
> >> >> >
> >> >> > On Tue, Aug 16, 2016 at 9:57 PM, Liu_tj <tjlp at netease.com> wrote:
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> Would you like to share the code for ActiveZ? At present I prepare
> >> >> >> to
> >> >> >> build Activiz with VTK 7 by myself.
> >> >> >>
> >> >> >> Thanks
> >> >> >>
> >> >> >> 在2016-08-16,"Zamir Khan" <zamir.khan at gmail.com> 写道:
> >> >> >>
> >> >> >> -----原始邮件-----
> >> >> >> 发件人:"Zamir Khan" <zamir.khan at gmail.com>
> >> >> >> 发送时间:2016年08月16日 星期二
> >> >> >> 收件人:"Matias Montroull" <matimontg at gmail.com>
> >> >> >> 抄送:"vtkusers" <vtkusers at vtk.org>
> >> >> >> 主题:Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
> >> >> >> Success
> >> >> >>
> >> >> >>
> >> >> >> Thank you, Matias! I have downloaded the code and will examine it
> >> >> >> within
> >> >> >> the next day or two. I will report back with my results.
> >> >> >>
> >> >> >> On Tue, Aug 16, 2016 at 9:54 AM, Matias Montroull
> >> >> >> <matimontg at gmail.com>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> Now I'm looking at the code, I don't think I built this using
> >> >> >>> OpenGL2,
> >> >> >>> in
> >> >> >>> fact I was trying to Build ActiViz 7.0 with OpenGL2 and I was
> >> >> >>> running
> >> >> >>> into
> >> >> >>> issues. see if the code I sent works for you.
> >> >> >>>
> >> >> >>> El mar., 16 de ago. de 2016 a la(s) 10:50, Matias Montroull
> >> >> >>> <matimontg at gmail.com> escribió:
> >> >> >>>>
> >> >> >>>> I just sent the source code of my ActiViz 6.3 through
> WeTransfer.
> >> >> >>>>
> >> >> >>>> El mar., 16 de ago. de 2016 a la(s) 10:44, Matias Montroull
> >> >> >>>> <matimontg at gmail.com> escribió:
> >> >> >>>>>
> >> >> >>>>> Yes, I will zip the project and send it over.
> >> >> >>>>>
> >> >> >>>>> El lun., 15 de ago. de 2016 a la(s) 10:36, zkhan
> >> >> >>>>> <zamir.khan at gmail.com>
> >> >> >>>>> escribió:
> >> >> >>>>>>
> >> >> >>>>>> Hi Matias,
> >> >> >>>>>>
> >> >> >>>>>> Thank you for your response! Is there a way for you to share
> the
> >> >> >>>>>> CMake
> >> >> >>>>>> and additional Activiz source changes you used to get the
> build
> >> >> >>>>>> working? I
> >> >> >>>>>> have already built VTK for OpenGL2 (both x86 and x64 as I
> would
> >> >> >>>>>> like to have
> >> >> >>>>>> both).
> >> >> >>>>>>
> >> >> >>>>>> Thanks,
> >> >> >>>>>> Zamir
> >> >> >>>>>>
> >> >> >>>>>> On Sat, Aug 13, 2016 at 10:04 AM, Matimont [via VTK] <[hidden
> >> >> >>>>>> email]>
> >> >> >>>>>> wrote:
> >> >> >>>>>>>
> >> >> >>>>>>> Hi Zamir, I'm using ActiViz 6.2 with OpenGL2, I can help you
> >> >> >>>>>>> building
> >> >> >>>>>>> it.
> >> >> >>>>>>>
> >> >> >>>>>>> El vie., 12 de ago. de 2016 a la(s) 16:32, zkhan <[hidden
> >> >> >>>>>>> email]>
> >> >> >>>>>>> escribió:
> >> >> >>>>>>>>
> >> >> >>>>>>>> Hi all,
> >> >> >>>>>>>>
> >> >> >>>>>>>> I've been able to successfully build Activiz 6.2 (both x86
> and
> >> >> >>>>>>>> x64)
> >> >> >>>>>>>> thanks
> >> >> >>>>>>>> to all of the knowledge in this thread and the files
> provided
> >> >> >>>>>>>> by
> >> >> >>>>>>>> Mark.
> >> >> >>>>>>>>
> >> >> >>>>>>>> I'm wondering if anyone has been able to successfully build
> >> >> >>>>>>>> Activiz
> >> >> >>>>>>>> 6.2 (or
> >> >> >>>>>>>> above) with the underlying VTK compiled for OpenGL2. I
> think I
> >> >> >>>>>>>> need
> >> >> >>>>>>>> to add
> >> >> >>>>>>>> references to the vtK...OpenGL2 libraries in the Activiz
> >> >> >>>>>>>> CMake,
> >> >> >>>>>>>> but
> >> >> >>>>>>>> I have
> >> >> >>>>>>>> yet to be able to do that successfully.
> >> >> >>>>>>>>
> >> >> >>>>>>>> Thanks,
> >> >> >>>>>>>> Zamir
> >> >> >>>>>>>>
> >> >> >>>>>>>>
> >> >> >>>>>>>>
> >> >> >>>>>>>> --
> >> >> >>>>>>>> View this message in context:
> >> >> >>>>>>>>
> >> >> >>>>>>>>
> >> >> >>>>>>>> http://vtk.1045678.n5.nabble.com/Activiz-6-2-with-VTK-6-2-
> and-NET-4-0-Build-Success-tp5733889p5739731.html
> >> >> >>>>>>>> Sent from the VTK - Users mailing list archive at
> Nabble.com.
> >> >> >>>>>>>> _______________________________________________
> >> >> >>>>>>>> Powered by www.kitware.com
> >> >> >>>>>>>>
> >> >> >>>>>>>> Visit other Kitware open-source projects at
> >> >> >>>>>>>> http://www.kitware.com/opensource/opensource.html
> >> >> >>>>>>>>
> >> >> >>>>>>>> Please keep messages on-topic and check the VTK FAQ at:
> >> >> >>>>>>>> http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >>>>>>>>
> >> >> >>>>>>>> Search the list archives at:
> >> >> >>>>>>>> http://markmail.org/search/?q=vtkusers
> >> >> >>>>>>>>
> >> >> >>>>>>>> Follow this link to subscribe/unsubscribe:
> >> >> >>>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers
> >> >> >>>>>>>
> >> >> >>>>>>> --
> >> >> >>>>>>> Matias
> >> >> >>>>>>>
> >> >> >>>>>>> _______________________________________________
> >> >> >>>>>>> Powered by www.kitware.com
> >> >> >>>>>>>
> >> >> >>>>>>> Visit other Kitware open-source projects at
> >> >> >>>>>>> http://www.kitware.com/opensource/opensource.html
> >> >> >>>>>>>
> >> >> >>>>>>> Please keep messages on-topic and check the VTK FAQ at:
> >> >> >>>>>>> http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >>>>>>>
> >> >> >>>>>>> Search the list archives at:
> >> >> >>>>>>> http://markmail.org/search/?q=vtkusers
> >> >> >>>>>>>
> >> >> >>>>>>> Follow this link to subscribe/unsubscribe:
> >> >> >>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers
> >> >> >>>>>>>
> >> >> >>>>>>>
> >> >> >>>>>>> ________________________________
> >> >> >>>>>>> If you reply to this email, your message will be added to the
> >> >> >>>>>>> discussion below:
> >> >> >>>>>>>
> >> >> >>>>>>>
> >> >> >>>>>>>
> >> >> >>>>>>> http://vtk.1045678.n5.nabble.com/Activiz-6-2-with-VTK-6-2-
> and-NET-4-0-Build-Success-tp5733889p5739741.html
> >> >> >>>>>>> To unsubscribe from Activiz 6.2 with VTK-6.2 and .NET 4.0
> Build
> >> >> >>>>>>> Success, click here.
> >> >> >>>>>>> NAML
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>> ________________________________
> >> >> >>>>>> View this message in context: Re: Activiz 6.2 with VTK-6.2 and
> >> >> >>>>>> .NET
> >> >> >>>>>> 4.0 Build Success
> >> >> >>>>>> Sent from the VTK - Users mailing list archive at Nabble.com.
> >> >> >>>>>> _______________________________________________
> >> >> >>>>>> Powered by www.kitware.com
> >> >> >>>>>>
> >> >> >>>>>> Visit other Kitware open-source projects at
> >> >> >>>>>> http://www.kitware.com/opensource/opensource.html
> >> >> >>>>>>
> >> >> >>>>>> Please keep messages on-topic and check the VTK FAQ at:
> >> >> >>>>>> http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >>>>>>
> >> >> >>>>>> Search the list archives at:
> >> >> >>>>>> http://markmail.org/search/?q=vtkusers
> >> >> >>>>>>
> >> >> >>>>>> Follow this link to subscribe/unsubscribe:
> >> >> >>>>>> http://public.kitware.com/mailman/listinfo/vtkusers
> >> >> >>>>>
> >> >> >>>>> --
> >> >> >>>>> Matias
> >> >> >>>>
> >> >> >>>> --
> >> >> >>>> Matias
> >> >> >>>
> >> >> >>> --
> >> >> >>> Matias
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > _______________________________________________
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >> >
> >> >> > Search the list archives at: http://markmail.org/search/?q=
> vtkusers
> >> >> >
> >> >> > Follow this link to subscribe/unsubscribe:
> >> >> > http://public.kitware.com/mailman/listinfo/vtkusers
> >> >> >
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160817/ad6c723e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-08-17 at 4.03.58 PM.png
Type: image/png
Size: 38798 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160817/ad6c723e/attachment.png>
More information about the vtkusers
mailing list