<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hi Cyril, <br></div>
<div> </div>
<div>Thank you for your reply and <span style="line-height: 11.8181819915771px;"> detailed  </span>explanation.</div>
<div> </div>
<div>On Thu, Apr 16, 2015, at 03:54, Cyril Mory wrote:<br></div>
<blockquote type="cite"><div>Hi Audrius,<br></div>
<div> </div>
<div>
    I know you have moved on since then, but I answer nevertheless.<br></div>
<div>
    Compiling on Windows 7 SP1, VS Community, with up-to-date RTK and
    ITK 4.7.1, in Debug and Shared Libs, I have experienced this same
    issue. <br></div>
<div>
    A temporary fix is to add "__declspec(dllexport)" to the
    rtkProjectionGeometry class declaration in rtkProjectionGeometry.h.<br></div>
<div>
    It should be equivalent to adding "RTK_EXPORT", but it currently
    isn't: there seems to be a problem in the way the macro RTK_EXPORT
    is interpreted. We are working on finding a solution to this
    problem.<br></div>
</blockquote><div> </div>
<div>Understood. Thank you for your work in finding a solution.<br></div>
<div> </div>
<div>Regards, <br></div>
<div> </div>
<div>Audrius</div>
<div> </div>
<blockquote type="cite"><div> </div>
<div>
    Regards,<br></div>
<div>
    Cyril<br></div>
<div> </div>
<div>On 03/30/2015 06:22 PM, Simon Rit
      wrote:<br></div>
<blockquote cite="mid:CAF0oig1Di_nCVnmT-Uz-AhXKShvpnqKmxceuCc8iCt65OGiExw@mail.gmail.com" type="cite"><div dir="ltr"><div><div>Hi,<br></div>
<div>No clue... Have you also compiled ITK in Debug mode with the
          same library setting (dynamic or shared)? This is required as
          far as I know.<br></div>
</div>
<div>Simon<br></div>
</div>
<div><div> </div>
<div defang_data-gmailquote="yes"><div>On Mon, Mar 30, 2015 at 4:53 PM,
          Audrius Stundzia <span dir="ltr"><<a href="mailto:audrius@tomographix.com" target="_blank" defang_rel="noreferrer">audrius@tomographix.com</a>></span>
          wrote:<br></div>
<blockquote style="margin:0 0 0&#x0a;            .8ex;border-left:1px #ccc solid;padding-left:1ex" defang_data-gmailquote="yes">Hello,<br> <br>
            OS: Windows 8.1 x64<br>
            IDE: Visual Studio 2010 x64<br>
            ITK: 4.7.1<br>
            RTK: 1.0.0<br> <br>
            The build in Release mode proceeds without any failures.
            Thank you.<br> <br>
            However, in Debug mode, the following link error occurs when
            building<br>
            the RTK project rtkcuda:<br> <br>
            1>RTK.lib(RTK.dll) : error LNK2005: "public: class
            std::vector<class<br>
            itk::Matrix<double,3,4>,class std::allocator<class<br>
            itk::Matrix<double,3,4> > > const & __cdecl<br>
            rtk::ProjectionGeometry<3>::GetMatrices(void)"<br>
(?GetMatrices@?$ProjectionGeometry@$02@rtk@@QEAAAEBV?$vector@V?$Matrix@N$02$03@itk@@V?$allocator@V?$Matrix@N$02$03@itk@@@std@@@std@@XZ)<br>
            already defined in rtkCudaFDKBackProjectionImageFilter.obj<br> <br>
            Any insight as to how to deal with this link error would be
            appreciated.<br> <br>
            Regards,<br> <br>
            Audrius<br>
            _______________________________________________<br>
            Rtk-users mailing list<br> <a href="mailto:Rtk-users@public.kitware.com" defang_rel="noreferrer">Rtk-users@public.kitware.com</a><br> <a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank" defang_rel="noreferrer">http://public.kitware.com/mailman/listinfo/rtk-users</a></blockquote></div>
<div> </div>
</div>
<div> </div>
<div> </div>
<pre>_______________________________________________
Rtk-users mailing list
<a href="mailto:Rtk-users@public.kitware.com" defang_rel="noreferrer">Rtk-users@public.kitware.com</a> <a href="http://public.kitware.com/mailman/listinfo/rtk-users" defang_rel="noreferrer">http://public.kitware.com/mailman/listinfo/rtk-users</a><br></pre></blockquote><div> </div>
</blockquote><div> </div>
</body>
</html>