[Ctk-developers] ctkDICOMDemoSCUMain.obj : error LNK2019
Steve Pieper
pieper at ibility.net
Tue Dec 6 00:38:22 UTC 2011
Hi Oleg -
Sorry - I wasn't clear - it's not your English :)
I meant that because the superbuild (top) level of the ctk cmake process
does checkouts and builds of several other packages (vtk, dcmtk, etc) I
wondered if one of those external projects was out of data or didn't build
correctly. If you tried to build the packages by hand that might explain
the issue - typically for ctk we would just configure the ctk superbuild
level and let it take care of the dependencies.
Hope that makes more sense,
-Steve
On Mon, Dec 5, 2011 at 7:22 PM, looky12 looky12 <looky12 at bk.ru> wrote:
> If i turn off only VTK in this configuration, all other projects builds.
> "Makes me wonder if somehow your build isn't up to date" - sorry but i
> think i understand this not correctly, maybe because i attempt build
> projects separately at first, and then all solution**.
>
> Sorry for my English
> Oleg.
>
>
> 01 Dec 2011, 23:11 от Steve Pieper <pieper at ibility.net>:
>
> Hi -
>
> Looks like you are also getting build errors related to ctkVTK -- makes me
> wonder if somehow your build isn't up to date. If you turn off dicom and
> vtk does everything else build?
>
> -Steve
>
> On Thu, Dec 1, 2011 at 11:29 AM, looky12 looky12 <looky12 at bk.ru<http://e.mail.ru/cgi-bin/sentmsg?compose&To=looky12@bk.ru>
> > wrote:
>
> Hello everyone, i have some problems in build process, thanks for your
> attention.
>
> 1>------ Build started: Project: qxmlrpc, Configuration: Debug Win32 ------
> 1>Performing update step (git fetch) for 'qxmlrpc'
> 1>Performing configure step for 'qxmlrpc'
> 1>-- Configuring done
> 1>-- Generating done
> 1>-- Build files have been written to: C:/CTK/CTK-superbuild/qxmlrpc-build
> 1>Performing build step for 'qxmlrpc'
> 1>Microsoft (R) Visual Studio Version 9.0.30729.1.
> 1>Copyright (C) Microsoft Corp. All rights reserved.
> 1>========== Build: 0 succeeded, 0 failed, 3 up-to-date, 0 skipped
> ==========
> 1>No install step for 'qxmlrpc'
> 1>Completed 'qxmlrpc'
> 1>Build log was saved at
> "file://c:\CTK\CTK-superbuild\qxmlrpc.dir\Debug\BuildLog.htm"
> 1>qxmlrpc - 0 error(s), 0 warning(s)
> 2>------ Build started: Project: CTK-Configure, Configuration: Debug Win32
> ------
> 2>Performing configure step for 'CTK-Configure'
> 2>-- Generated: C:/CTK/CTK-superbuild/CTK-build/DGraphInput-alldep.txt
> 2>-- Generated:
> C:/CTK/CTK-superbuild/CTK-build/DGraphInput-alldep-withext.txt
> 2>-- Generated: C:/CTK/CTK-superbuild/CTK-build/DGraphInput.txt
> 2>-- Generated: C:/CTK/CTK-superbuild/CTK-build/Project.xml
> 2>-- CTKCore: BFD support disabled
> 2>-- Configuring done
> 2>-- Generating done
> 2>CMake Warning:
> 2> Manually-specified variables were not used by the project:
> 2> CTEST_USE_LAUNCHERS
> 2> DOCUMENTATION_ARCHIVES_OUTPUT_DIRECTORY
> 2> DOCUMENTATION_TARGET_IN_ALL
> 2>-- Build files have been written to: C:/CTK/CTK-superbuild/CTK-build
> 2>No build step for 'CTK-Configure'
> 2>No install step for 'CTK-Configure'
> 2>Completed 'CTK-Configure'
> 2>Build log was saved at
> "file://c:\CTK\CTK-superbuild\CTK-Configure.dir\Debug\BuildLog.htm"
> 2>CTK-Configure - 0 error(s), 0 warning(s)
> 3>------ Build started: Project: CTK-build, Configuration: Debug Win32
> ------
> 3>Microsoft (R) Visual Studio Version 9.0.30729.1.
> 3>Copyright (C) Microsoft Corp. All rights reserved.
> 3>1>------ Build started: Project: CTKVisualizationVTKWidgets,
> Configuration: Debug Win32 ------
> 3>1>Compiling...
> 3>2>------ Build started: Project: ctkDICOMDemoSCU, Configuration: Debug
> Win32 ------
> 3>2>Linking...
> 3>1>ctkVTKScalarsToColorsView.cpp
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: virtual class OFCondition __thiscall
> ctkDcmSCU::sendECHORequest(unsigned char)" (?sendECHORequest at ctkDcmSCU
> @@UAE?AVOFCondition@@E at Z) referenced in function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: virtual class OFCondition __thiscall
> ctkDcmSCU::negotiateAssociation(void)" (?negotiateAssociation at ctkDcmSCU
> @@UAE?AVOFCondition@@XZ) referenced in function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: virtual __thiscall ctkDcmSCU::~ctkDcmSCU(void)" (??1ctkDcmSCU@
> @UAE at XZ) referenced in function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: virtual class OFCondition __thiscall ctkDcmSCU::initNetwork(void)"
> (?initNetwork at ctkDcmSCU@@UAE?AVOFCondition@@XZ) referenced in function
> _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: void __thiscall ctkDcmSCU::setPeerAETitle(class OFString const &)"
> (?setPeerAETitle at ctkDcmSCU@@QAEXABVOFString@@@Z) referenced in function
> _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: class OFCondition __thiscall
> ctkDcmSCU::addPresentationContext(class OFString const &,class OFList<class
> OFString> const &,enum T_ASC_SC_ROLE)" (?addPresentationContext at ctkDcmSCU
> @@QAE?AVOFCondition@@ABVOFString@@ABV?$OFList at VOFString
> @@@@W4T_ASC_SC_ROLE@@@Z) referenced in function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: void __thiscall ctkDcmSCU::setPeerPort(unsigned short)"
> (?setPeerPort at ctkDcmSCU@@QAEXG at Z) referenced in function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: void __thiscall ctkDcmSCU::setPeerHostName(class OFString const
> &)" (?setPeerHostName at ctkDcmSCU@@QAEXABVOFString@@@Z) referenced in
> function _main
> 3>2>ctkDICOMDemoSCUMain.obj : error LNK2019: unresolved external symbol
> "public: __thiscall ctkDcmSCU::ctkDcmSCU(void)" (??0ctkDcmSCU@@QAE at XZ)
> referenced in function _main
> 3>2>C:\CTK\CTK-superbuild\CTK-build\bin\Debug\ctkDICOMDemoSCU.exe : fatal
> error LNK1120: 9 unresolved externals
> 3>2>Build log was saved at
> "file://c:\CTK\CTK-superbuild\CTK-build\Applications\ctkDICOMDemoSCU\ctkDICOMDemoSCU.dir\Debug\BuildLog.htm"
> 3>2>ctkDICOMDemoSCU - 10 error(s), 0 warning(s)
> 3>1>..\..\..\..\..\..\Libs\Visualization\VTK\Widgets\ctkVTKScalarsToColorsView.cpp(596)
> : error C2664: 'void vtkControlPointsItem::MovePoints(const vtkVector2f
> &,vtkIdTypeArray *)' : cannot convert parameter 2 from 'bool' to
> 'vtkIdTypeArray *'
> 3>1> Conversion from integral type to pointer type requires
> reinterpret_cast, C-style cast or function-style cast
> 3>1>..\..\..\..\..\..\Libs\Visualization\VTK\Widgets\ctkVTKScalarsToColorsView.cpp(606)
> : error C2664: 'void
> vtkControlPointsItem::SpreadPoints(float,vtkIdTypeArray *)' : cannot
> convert parameter 2 from 'bool' to 'vtkIdTypeArray *'
> 3>1> Conversion from integral type to pointer type requires
> reinterpret_cast, C-style cast or function-style cast
> 3>1>Build log was saved at
> "file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\CTKVisualizationVTKWidgets.dir\Debug\BuildLog.htm"
> 3>1>CTKVisualizationVTKWidgets - 2 error(s), 0 warning(s)
> 3>3>------ Build started: Project: CTKVisualizationVTKWidgetsPlugins,
> Configuration: Debug Win32 ------
> 3>3>Linking...
> 3>3>LINK : fatal error LNK1104: cannot open file
> '..\..\..\..\..\bin\Debug\CTKVisualizationVTKWidgets.lib'
> 3>3>Build log was saved at
> "file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\Plugins\CTKVisualizationVTKWidgetsPlugins.dir\Debug\BuildLog.htm"
> 3>3>CTKVisualizationVTKWidgetsPlugins - 1 error(s), 0 warning(s)
> 3>========== Build: 0 succeeded, 3 failed, 29 up-to-date, 0 skipped
> ==========
> 3>Project : error PRJ0019: A tool returned an error code from
> 3>Build log was saved at
> "file://c:\CTK\CTK-superbuild\CTK-build.dir\Debug\BuildLog.htm"
> 3>CTK-build - 14 error(s), 0 warning(s)
> ========== Build: 2 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
>
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org<http://e.mail.ru/cgi-bin/sentmsg?compose&To=Ctk-developers@commontk.org>
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20111205/a2579eb1/attachment.htm>
More information about the Ctk-developers
mailing list