[vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build Success
Matias Montroull
matimontg at gmail.com
Wed Sep 23 18:54:51 EDT 2015
Thank you Mark,
I'm downloading VS Standard which provides the x64 mode when generating
with Cmake. I was using VS express and selecting just Visual Studio 9 in
Cmake.
I will give it a try tomorrow
Thanks.
Matias
Matias
On Sep 23, 2015 7:47 PM, "Mark DeArman" <mark at cascadeacoustic.com> wrote:
> I did't do a x64 build. I will be next month.
> I'm also going to look into switching from gccxml to CastXML with the
> gccxml emulation mode.
>
> All you should need to do is switch the arch in the VS solution
> configuration manager for VTK and Activiz.
> You shouldn't need to change anything at the CMAKE level or regenerate.
>
> Mark DeArman
> Cascade Acoustic Research
> http://www.cascadeacoustic.com
> (253) 200-5353
>
> ------------------------------
> *From*: "Matias Montroull" <matimontg at gmail.com>
> *Sent*: Wednesday, September 23, 2015 1:27 PM
> *To*: mark at cascadeacoustic.com
> *Subject*: Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
> Success
>
> Mark, one question, were you able to build the 64 bits version of this? I
> noticed mine was buiolt using 32 bits. What needs to happen to build 64
> bits?
> Thank you!
> Matias.
>
> El mié., 16 de sept. de 2015 a la(s) 11:20 p. m., Mark DeArman <
> mark at cascadeacoustic.com> escribió:
>
>> Great news! Glad to hear you got it all built. Now the hard part has
>> started for me, actually getting the viewmodels put together to interface
>> with our application ;-)
>>
>> Mark DeArman
>> Cascade Acoustic Research
>> http://www.cascadeacoustic.com
>> (253) 200-5353
>>
>> ------------------------------
>> *From*: "Matias Montroull" <matimontg at gmail.com>
>> *Sent*: Wednesday, September 16, 2015 4:42 PM
>> *To*: mark at cascadeacoustic.com, vtkusers at vtk.org
>>
>> *Subject*: Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
>> Success
>>
>> Hi,
>>
>> I was able to build ActiViz successfully. Altough Mummy did not
>> completely built, I got the 2 Kitware.Mummy DLLs that are needed for
>> ActiViz to be built as well as the mummy.exe file.
>>
>> *I thank Mark for all the information he provided*, I'll try to post the
>> steps I followed, it's pretty similar to what you can find in the Wiki Page
>> but there are some tweaks that need to be done in order to get it working.
>>
>> I had to add the vtkRenderingContextOpenGL-6.2.lib before configuring
>> the project with Cmake and needed to change vtkCommonEL_dll to
>> vtkCommonCoreEL_dll in some of the .in files and vtkGraphicsEL_dll to vtkFiltersProgrammableEL_dll
>> in the vtkProgrammableAttributeDataFilter_Extra.cs
>>
>> Regards,
>>
>> Matias.
>>
>> El mié., 16 de sept. de 2015 a la(s) 3:20 p. m., Mark DeArman <
>> mark at cascadeacoustic.com> escribió:
>>
>>> >Why not just publish a git branch with your changes on GitHub or some
>>> >other publicly hosted site? Perhaps your branch would get picked up by
>>> >the folks maintaining the ActiViz repo now.
>>>
>>> Because I don't use git. We use TFS at work, and the easiest way to
>>> publish it was to zip it all up and put it on a cloud drive.
>>>
>>> Re: gcc-xml and Mummy, I agree that abandoning gccxml is the real
>>> solution. What is the point in patching it for modern VS support if it's a
>>> dead project. Fixing mummy to support the standard VTK wrapping libraries
>>> makes the most since.
>>>
>>>
>>> Mark DeArman
>>> Cascade Acoustic Research
>>> http://www.cascadeacoustic.com
>>> (253) 200-5353
>>>
>>> ------------------------------
>>> *From*: "David Cole" <DLRdave at aol.com>
>>> *Sent*: Wednesday, September 16, 2015 7:12 AM
>>> *To*: mark at cascadeacoustic.com
>>> *Cc*: "vtkusers at vtk.org" <vtkusers at vtk.org>
>>>
>>> *Subject*: Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
>>> Success
>>>
>>> > "if my idea of adding a second build step can get rid of the
>>> VS2008/MSCRT9 dependency for the final library"
>>>
>>> Yes, I think it absolutely could. It would be based on the assumption,
>>> however, that the interface generated by analyzing the source under
>>> the VS2008 environment would in the end be compatible with what you
>>> compile and link for the final library. And it would mean a two-stage
>>> build, with VS2008 still required for the first stage.
>>>
>>> I would be interested to see if anybody can replace gcc-xml with the
>>> new&improved CastXML, and still build ActiViz using a more modern VS
>>> all in one go. I haven't had time to investigate bringing things up to
>>> date for using CastXML, but if anybody else does, please do let us all
>>> know here on the VTK lists.
>>>
>>> Question for you:
>>> Why not just publish a git branch with your changes on GitHub or some
>>> other publicly hosted site? Perhaps your branch would get picked up by
>>> the folks maintaining the ActiViz repo now.
>>>
>>>
>>> Cheers,
>>> David C.
>>>
>>>
>>>
>>>
>>> On Wed, Sep 16, 2015 at 1:13 AM, Mark DeArman <mark at cascadeacoustic.com>
>>> wrote:
>>> > Mallikarjun,
>>> > Your very welcome. I hope they'll help someone else out. I've been very
>>> > excited about using Activiz in a project for years. Since I was a kid
>>> stuck
>>> > running BSD on mac68k I've always enjoyed the challenge of porting
>>> software,
>>> > so I had a great time working on the build.
>>> >
>>> > gccxml generates the XML description of the C++ VTK library exports.
>>> Mummy
>>> > reads these and generates the csharp wrapper files. I really have not
>>> dug
>>> > into it deep enough yet to know how the Activiz export layer source
>>> fits
>>> > into the puzzle, but if I get some time, I'll see if my idea of adding
>>> a
>>> > second build step can get rid of the VS2008/MSCRT9 dependency for the
>>> final
>>> > library.
>>> >
>>> > Mark DeArman
>>> > Cascade Acoustic Research
>>> > http://www.cascadeacoustic.com
>>> > (253) 200-5353
>>> >
>>> > ________________________________
>>> > From: "Mallikarjun K" <mallikarjun49 at gmail.com>
>>> > Sent: Tuesday, September 15, 2015 9:52 PM
>>> > To: mark at cascadeacoustic.com
>>> > Subject: Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
>>> Success
>>> >
>>> > Hi Mark,
>>> >
>>> > Thanks for sharing the source directories. One quick question..if I am
>>> not
>>> > wrong,the purpose of gcc-xml is to generate the xml descryption of c++
>>> > program, I found link https://github.com/dgobbi/WrapVTK which has a
>>> > generator for xml.
>>> >
>>> > Thank you.
>>> >
>>> > On Tue, Sep 15, 2015 at 4:48 AM, Mark DeArman <
>>> mark at cascadeacoustic.com>
>>> > wrote:
>>> >>
>>> >> Nothing will make it build in VS2013. Because of gccxml, you have to
>>> have
>>> >> VS2008 to do the build.
>>> >> I started to work on patching gccxml, but that was kind of a nightmare
>>> >> I'll leave to someone with more time.
>>> >> I am not a C++ template guru.
>>> >>
>>> >> But, the changes I've made build the binaries targeting .NET 4.0
>>> instead
>>> >> of .NET 2.0.
>>> >>
>>> >> Here is the link to the Source download directory. I'm uploading it
>>> right
>>> >> now, so it will be a little bit.
>>> >>
>>> >>
>>> >>
>>> https://onedrive.live.com/redir?resid=C21891647818579A!108957&authkey=!ADS9VLyqTef24FY&ithint=folder%2c
>>> >>
>>> >> Mark DeArman
>>> >> Cascade Acoustic Research
>>> >> http://www.cascadeacoustic.com
>>> >> (253) 200-5353
>>> >>
>>> >> ________________________________
>>> >> From: "Mallikarjun K" <mallikarjun49 at gmail.com>
>>> >> Sent: Monday, September 14, 2015 5:55 AM
>>> >> To: mark at cascadeacoustic.com
>>> >> Subject: Re: [vtkusers] Activiz 6.2 with VTK-6.2 and .NET 4.0 Build
>>> >> Success
>>> >>
>>> >> Hi Mark,
>>> >>
>>> >> Can you send me the patched source directories. I want to make use of
>>> >> activiz 6.2 for vtk 6.2 with vs2013?
>>> >>
>>> >> Thanks
>>> >>
>>> >>
>>> >> On Mon, Sep 14, 2015 at 10:49 AM, Mark DeArman <
>>> mark at cascadeacoustic.com>
>>> >> wrote:
>>> >>>
>>> >>> I finally finished patching and testing the build.
>>> >>> VTK-6.2 built with Intel C++ 14.0
>>> >>> Activiz 6.2 built with .NET 4.0
>>> >>> Mummy 1.0.3 built with .NET 4.0
>>> >>>
>>> >>> If anyone else is having trouble getting this working, feel free to
>>> get
>>> >>> in contact with me, I can send you my patched source directories.
>>> This is
>>> >>> my first experience with CMake, and I've got to say it sure made
>>> things a
>>> >>> breeze.
>>> >>>
>>> >>> The only thing which drove me nuts was the number of times a full
>>> rebuild
>>> >>> got triggered after patching individual source files. I wish the
>>> >>> maintainers would remove the gccxml/mummy generate functions from the
>>> >>> configure step, and just make it another build step.
>>> >>>
>>> >>> I hope I can get more involved with the project but I've got a lot of
>>> >>> learning to do before I'd feel comfortable in CMake.
>>> >>>
>>> >>> Mark DeArman
>>> >>> Cascade Acoustic Research
>>> >>> http://www.cascadeacoustic.com
>>> >>> (253) 200-5353
>>> >>>
>>> >>> _______________________________________________
>>> >>> 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
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> With Kind Regards:
>>> >> Mallikarjuna K,
>>> >> 07795531103/09908238861.
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> 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
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > With Kind Regards:
>>> > Mallikarjuna K,
>>> > 07795531103/09908238861.
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>>
>>> _______________________________________________
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150923/c3f723cd/attachment.html>
More information about the vtkusers
mailing list