[prev in list] [next in list] [prev in thread] [next in thread]
List: insight-users
Subject: [Insight-users] Fwd: Problem with
From: Sergio Vera <sergio.vera () alma3d ! com>
Date: 2010-12-21 16:17:20
Message-ID: AANLkTinJRbF_XQdxMP8eDGUxd4VHzs6XxiVDPgBR3iUE () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks David for the help.
The truth is that my CmakeLists.txt was not 100% correct, (they have grown a
lot by now and sometimes one can get lost on them) and the line that I was
modifying was the incorrect one :)
Sorry for the inconveniences!
On Tue, Dec 21, 2010 at 4:31 PM, David Doria <daviddoria@gmail.com> wrote:
> I'm not at a machine where I can verify this (hence the offlist
> email), but try linking to ITKReview. If it works you can reply to the
> list and let everyone know. If not, we'll wait for a better reply :)
>
> David
>
>
>
> On Tue, Dec 21, 2010 at 10:26 AM, Sergio Vera <sergio.vera@alma3d.com>
> wrote:
> > Hello,
> > The following code:
> > typedef itk::Statistics::GaussianDistribution GausDist;
> > GausDist::Pointer test = GausDist::New();
> > Makes the compilation to fail at link stage:
> > error LNK2019: unresolved external symbol "protected: __thiscall
> > itk::Statistics::GaussianDistribution::GaussianDistribution(void)"
> > (??0GaussianDistribution@Statistics@itk@@IAE@XZ) referenced in function
> > "public: static class itk::SmartPointer<class
> > itk::Statistics::GaussianDistribution> __cdecl
> > itk::Statistics::GaussianDistribution::New(void)"
> > (?New@GaussianDistribution@Statistics@itk
> @@SA?AV?$SmartPointer@VGaussianDistribution@Statistics@itk@@@3@XZ)
> > However, my executable is linking with:
> > ITKBasicFilters ITKAlgorithms ITKStatistics ITKNumerics ITKCommon ITKIO
> > itkgdcm itkNetlibSlatec
> > in CMakeLists.txt
> >
> > I'm using itk 3.20.0 and Visual studio 9
> > I'm running out of ideas by now and cannot make the code to compile
> > correctly
> > Thanks in advance.
> >
> > --
> > Sergio Vera
> >
> > Alma IT Systems
> > C/ Vilana, 4B, 4º 1ª
> > 08022 Barcelona
> > T. (+34) 932 380 592
> > www.alma3d.com
> >
> > _____________________________________
> > 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.html
> >
> > 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
> >
> >
>
--
Sergio Vera
Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
--
Sergio Vera
Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
[Attachment #5 (text/html)]
<div class="gmail_quote"><br>Thanks David for the help.<div><br></div><div>The truth \
is that my CmakeLists.txt was not 100% correct, (they have grown a lot by now and \
sometimes one can get lost on them) and the line that I was modifying was the \
incorrect one :)</div>
<div><br></div><div>Sorry for the inconveniences!<div><div></div><div \
class="h5"><br><br><div class="gmail_quote">On Tue, Dec 21, 2010 at 4:31 PM, David \
Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" \
target="_blank">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">I'm not at a machine where I can verify this (hence the \
offlist<br> email), but try linking to ITKReview. If it works you can reply to \
the<br> list and let everyone know. If not, we'll wait for a better reply :)<br>
<br>
David<br>
<div><div></div><div><br>
<br>
<br>
On Tue, Dec 21, 2010 at 10:26 AM, Sergio Vera <<a \
href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>> \
wrote:<br> > Hello,<br>
> The following code:<br>
> typedef itk::Statistics::GaussianDistribution GausDist;<br>
> GausDist::Pointer test = GausDist::New();<br>
> Makes the compilation to fail at link stage:<br>
> error LNK2019: unresolved external symbol "protected: __thiscall<br>
> itk::Statistics::GaussianDistribution::GaussianDistribution(void)"<br>
> (??0GaussianDistribution@Statistics@itk@@IAE@XZ) referenced in function<br>
> "public: static class itk::SmartPointer<class<br>
> itk::Statistics::GaussianDistribution> __cdecl<br>
> itk::Statistics::GaussianDistribution::New(void)"<br>
> (?New@GaussianDistribution@Statistics@itk@@SA?AV?$SmartPointer@VGaussianDistribution@Statistics@itk@@@3@XZ)<br>
> However, my executable is linking with:<br>
> ITKBasicFilters ITKAlgorithms ITKStatistics ITKNumerics ITKCommon ITKIO<br>
> itkgdcm itkNetlibSlatec<br>
> in CMakeLists.txt<br>
><br>
> I'm using itk 3.20.0 and Visual studio 9<br>
> I'm running out of ideas by now and cannot make the code to compile<br>
> correctly<br>
> Thanks in advance.<br>
><br>
> --<br>
> Sergio Vera<br>
><br>
> Alma IT Systems<br>
> C/ Vilana, 4B, 4º 1ª<br>
> 08022 Barcelona<br>
> T. (+34) 932 380 592<br>
> <a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" \
target="_blank">www.kitware.com</a><br> ><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> ><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" \
target="_blank">http://www.kitware.com/products/protraining.html</a><br> ><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" \
target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br> ><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" \
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br> ><br>
><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div class="im">Sergio \
Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. \
(+34) 932 380 592<br> <a href="http://www.alma3d.com" \
target="_blank">www.alma3d.com</a><br>
</div></div>
</div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ \
Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a \
href="http://www.alma3d.com">www.alma3d.com</a><br>
_____________________________________
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.html
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic