[Ctk-developers] ctkDICOMDemoSCUMain.obj : error LNK2019

looky12 looky12 looky12 at bk.ru
Tue Dec 6 23:11:18 UTC 2011


I use vs 2008 with QT addin. Attached archive contain ctk files of root directory (with ctk configuration i think).

06 декабря 2011, 21:06 от Sascha Zelzer <s.zelzer at dkfz-heidelberg.de>:
 
  
  
 
 We regularly build CTK under Windows (superbuild) but not the ctkDICOMDemoSCUMain.cpp (I think).
 
 What Visual Studio version are you using and which build options of CTK did you change?
 
 - Sascha
 
 On 12/06/2011 04:19 PM, Steve Pieper wrote: Maybe someone else on the ctk list has ideas - I've been building ctk on linux from within slicer4 and it's working fine but I haven't tried windows lately - has anyone else?
 
 -teve
 
 
 On Mon, Dec 5, 2011 at 8:19 PM, looky12 looky12 <looky12 at bk.ru> wrote:
  
Hello Steve, thanks for your notice
 
 At first i attempt too build ctk-cuperbuild, but not all projects (vtk, dcmtk, etc)  correctly checkouts at once, and i manually select " build current project" .  Then if all packages checkouts and builds, but error still exist, i open package dirictory with errors and trying to rebuild it.
 
 06 декабря 2011, 04:38 от Steve Pieper <pieper at ibility.net>:
  
 
 
 
 
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> 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.........................................................................................................................

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20111207/208fc322/attachment.htm>


More information about the Ctk-developers mailing list