[vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build Success

Zamir Khan zamir.khan at gmail.com
Wed Aug 17 14:26:56 EDT 2016


I have the .lib file, but the problem is that the CMake is not generating
the correct reference to that lib. In the Linker > Input > Additional
Dependencies for a given project, it has a line that says:

vtkRenderingVolumeOpenGL.lib

where I believe it should really say something like:

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\
vtkRenderingVolumeOpenGL2-6.2.lib

So it seems to be looking for the wrong version/name of the library and
also not in the correct location (possibly the two are related). When you
CMake that code, what does the Linker > Input > AdditionalDependencies for
a given *.Umanaged project look like for you?

On Wed, Aug 17, 2016 at 2:21 PM, Matias Montroull <matimontg at gmail.com>
wrote:

> Zamir, that .lib should be in your VTK 6.3 lib directory:
> example:
> C:\VTK-6.3.0_Buildx64\lib\Release
>
> I have the .lib file you reference in that directory
> (vtkRenderingVolumeOpenGL-6.3.lib)
>
> El mié., 17 de ago. de 2016 a la(s) 15:12, Zamir Khan <
> zamir.khan at gmail.com> escribió:
>
>> @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]
>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5739750&i=0>> 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]
>>>>>>>> <http:///user/SendEmail.jtp?type=node&node=5739741&i=0>> 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
>>>>>>>> <http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> View this message in context: Re: Activiz 6.2 with VTK-6.2 and .NET
>>>>>>> 4.0 Build Success
>>>>>>> <http://vtk.1045678.n5.nabble.com/Activiz-6-2-with-VTK-6-2-and-NET-4-0-Build-Success-tp5733889p5739750.html>
>>>>>>> Sent from the VTK - Users mailing list archive
>>>>>>> <http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html> 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
>>>>
>>>
>>>
>> --
> Matias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160817/3231d47d/attachment.html>


More information about the vtkusers mailing list