<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Audrius,<br>
<br>
I know you have moved on since then, but I answer nevertheless.<br>
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>
A temporary fix is to add "__declspec(dllexport)" to the
rtkProjectionGeometry class declaration in rtkProjectionGeometry.h.<br>
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>
<br>
Regards,<br>
Cyril<br>
<br>
<div class="moz-cite-prefix">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>
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>
Simon<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 30, 2015 at 4:53 PM,
Audrius Stundzia <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:audrius@tomographix.com" target="_blank">audrius@tomographix.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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 moz-do-not-send="true"
href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
<a moz-do-not-send="true"
href="http://public.kitware.com/mailman/listinfo/rtk-users"
target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/rtk-users">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>