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

David Cole DLRdave at aol.com
Wed Sep 16 10:11:45 EDT 2015


> "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
>


More information about the vtkusers mailing list