<a href="http://massmail.spl.harvard.edu/public-archives/slicer-devel/2012/008780.html">http://massmail.spl.harvard.edu/public-archives/slicer-devel/2012/008780.html</a> <div>j.<br><br><div class="gmail_quote">On Fri, May 25, 2012 at 1:39 PM, Danielle Pace <span dir="ltr"><<a href="mailto:danielle.pace@kitware.com" target="_blank">danielle.pace@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>I've just re-built Slicer after updating my source directory from Slicer 4.1.0-rc3 to the current nightly, and get build errors when building CTK that are related to DICOM. I'm on 64-bit Ubuntu 10.04.</div>
<div><br></div><div>The CTK source update involves going from CTK git tag cc33baed043a0552fd4c5336e8e1492ec7fe6a5c to 222971ed755c59e52625fe66ee8fb95455d5bf01.</div><div><br></div><div>When building, I was prompted to use my root password to install dcmtk, which I did.</div>
<div><br></div><div>Any suggestions? The fact that function handleFINDResponse is hidden can't be good, regardless of whether it is causing my problem.</div><div><br></div><div>Thanks,<br><br>Danielle</div><div><br>
</div>
<div><br></div><div><div>[ 64%] Building CXX object Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkDICOMQuery.cpp.o</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:67: error: ‘QRResponse’ has not been declared</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK-build/CMakeExternals/Install/include/dcmtk/dcmnet/scu.h:484: warning: ‘virtual OFCondition DcmSCU::handleFINDResponse(T_ASC_PresentationContextID, FINDResponse*, bool&)’ was hidden [-Woverloaded-virtual]</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:66: warning: by ‘virtual OFCondition ctkDICOMQuerySCUPrivate::handleFINDResponse(T_ASC_PresentationContextID, int*, bool&)’ [-Woverloaded-virtual]</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp: In member function ‘virtual OFCondition ctkDICOMQuerySCUPrivate::handleFINDResponse(T_ASC_PresentationContextID, int*, bool&)’:</div>
<div>
/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:74: error: no matching function for call to ‘ctkDICOMQuerySCUPrivate::handleFINDResponse(const T_ASC_PresentationContextID&, int*&, bool&)’</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK-build/CMakeExternals/Install/include/dcmtk/dcmnet/scu.h:484: note: candidates are: virtual OFCondition DcmSCU::handleFINDResponse(T_ASC_PresentationContextID, FINDResponse*, bool&)</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp: In member function ‘bool ctkDICOMQuery::query(ctkDICOMDatabase&)’:</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:383: error: ‘QRResponse’ was not declared in this scope</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:383: error: template argument 1 is invalid</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:383: error: invalid type in declaration before ‘;’ token</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:401: error: no matching function for call to ‘ctkDICOMQuerySCUPrivate::sendFINDRequest(Uint16&, DcmDataset*&, int*)’</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK-build/CMakeExternals/Install/include/dcmtk/dcmnet/scu.h:458: note: candidates are: virtual OFCondition DcmSCU::sendFINDRequest(T_ASC_PresentationContextID, DcmDataset*, FINDResponses*)</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:415: error: ‘QRResponse’ cannot appear in a constant-expression</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:415: error: template argument 1 is invalid</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:415: error: invalid type in declaration before ‘=’ token</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:415: error: request for member ‘begin’ in ‘responses’, which is of non-class type ‘int’</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:415: error: request for member ‘end’ in ‘responses’, which is of non-class type ‘int’</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:417: error: invalid type argument of ‘unary *’</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:462: error: ‘QRResponse’ cannot appear in a constant-expression</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:462: error: template argument 1 is invalid</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:462: error: invalid type in declaration before ‘;’ token</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:463: error: no matching function for call to ‘ctkDICOMQuerySCUPrivate::sendFINDRequest(Uint16&, DcmDataset*&, int*)’</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK-build/CMakeExternals/Install/include/dcmtk/dcmnet/scu.h:458: note: candidates are: virtual OFCondition DcmSCU::sendFINDRequest(T_ASC_PresentationContextID, DcmDataset*, FINDResponses*)</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:466: error: ‘QRResponse’ cannot appear in a constant-expression</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:466: error: template argument 1 is invalid</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:466: error: invalid type in declaration before ‘=’ token</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:466: error: request for member ‘begin’ in ‘responses’, which is of non-class type ‘int’</div>
<div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:466: error: request for member ‘end’ in ‘responses’, which is of non-class type ‘int’</div><div>/home/dpace/Slicer4Trunk/Slicer4-debug/CTK/Libs/DICOM/Core/ctkDICOMQuery.cpp:468: error: invalid type argument of ‘unary *’</div>
<div>make[5]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkDICOMQuery.cpp.o] Error 1</div><div>make[4]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/all] Error 2</div><div>make[3]: *** [all] Error 2</div><div>
make[2]: *** [CMakeFiles/CTK-build] Error 2</div>
<div>make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2</div><div>make: *** [all] Error 2</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>
<br></div>-- <br>Danielle Pace, M.ESc.<br>Research and Development Engineer<br>Kitware Inc.,<br>North Carolina Office<div><br></div><div><a href="http://www.kitware.com" target="_blank">www.kitware.com</a></div><div><a href="tel:919-969-6990%20X%20319" value="+19199696990" target="_blank">919-969-6990 X 319</a></div>
<br>
</font></span></div>
<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br></div>