[ITK Community] [Insight-users] Compile time issue SimpleITK-0.7.1.post1 in Visual Studio 2012

Matias Montroull matimontg at gmail.com
Thu Dec 19 12:46:13 EST 2013


Number 1 didn't work, I get an error saying it's not a valid assembly..

Your steps in number 2 worked like a charm Bradley.

Now, when I type "using ITK" for example, it doesn't recognize the name, am
I missing something?

Thanks,


On Thu, Dec 19, 2013 at 1:35 PM, Bradley Lowekamp <brad at lowekamp.net> wrote:

> -) Adding CSharp SimpleITK to a VS Project.
>
> I'll try to get some time to create a visual guide for this but here is
> some brief info:
>
> 0) make sure you have the correct matching architecture/cpu/platform
> configuration
>
> 1) Add SimpleITKCSharpManaged as reference
>  In the "Solution Explorer", right-click on CSharp application add select
> "Add Reference". Browse to SimpleITKCSharpManaged.dll, and click OK
>
> 2) Add SimpleITKCSharpNative
>
> a) In the "Solution Explorer", right-click on the application and select
> "Add->Existing Item". Ensure "Executable Files" and "Add As Link" are
> selected then browse to SimpleITKCSharpNative.dll; click OK
> b) In the "Solution Explorer", right-click on the newlly added
> SimpleITKCSharpNative.dll reference and select "Properties". Make sure
> "Build Action" is "Content" and "Copy To Output Directory" is "Copy always".
>
>
> On Dec 19, 2013, at 10:11 AM, Matias Montroull <matimontg at gmail.com>
> wrote:
>
> > Hi,
> >
> > I've downloaded SimpleITK-0.7.1.post1 and I compiled it using Cmake
> succesfully. Now, when I go to VS2012, and I build the solution, it takes
> forever. I left my machine on during the whole night and when I woke up it
> was kind of stuck.
> >
> > Any reported issues with this?  The problem I have is that I downloaded
> the DLLs but I seem to miss one class: BinaryMask3DMeshSource
> >
> > I can't even import the DLL into my solution so I was trying to build it
> manually to see if it worked. I was able to import only
> SimpleITKCSharpManaged but not SimpleITKCSharpNative
> >
> > Thanks!
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131219/84a5bcbf/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list