<html>
<head>
<meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
We regularly build CTK under Windows (superbuild) but not the
ctkDICOMDemoSCUMain.cpp (I think).<br>
<br>
What Visual Studio version are you using and which build options of
CTK did you change?<br>
<br>
- Sascha<br>
<br>
On 12/06/2011 04:19 PM, Steve Pieper wrote:
<blockquote
cite="mid:CA+OFd4xY3zCv2NnU=KKeGat2F_htpq2miaOCyoVjHWnFYr4rFg@mail.gmail.com"
type="cite">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?<br>
<br>
-teve<br>
<br>
<div class="gmail_quote">
On Mon, Dec 5, 2011 at 8:19 PM, looky12 looky12 <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:looky12@bk.ru">looky12@bk.ru</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>Hello Steve, thanks for your notice<br>
<br>
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.<br>
<br>
06 ฤลหมยาั 2011, 04:38 ฯิ Steve Pieper <<a
moz-do-not-send="true" href="mailto:pieper@ibility.net"
target="_blank">pieper@ibility.net</a>>:<br>
<blockquote style="border-left: 1px solid rgb(8, 87, 166);
margin: 10px; padding: 0pt 0pt 0pt 10px;">
<div>
<div>
<div>
<div>
<div class="im">Hi Oleg - <br>
<br>
Sorry - I wasn't clear - it's not your English
:)<br>
<br>
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.<br>
<br>
Hope that makes more sense,<br>
-Steve<br>
<br>
<br>
<br>
</div>
<div>
<div class="im">On Mon, Dec 5, 2011 at 7:22 PM,
looky12 looky12 <span dir="ltr"><<a
moz-do-not-send="true"
href="http://e.mail.ru/cgi-bin/sentmsg?compose&To=looky12@bk.ru"
target="_blank">looky12@bk.ru</a>></span>
wrote:<br>
</div>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>
<div class="im">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.
<br>
<br>
Sorry for my English<br>
Oleg.<br>
<br>
<br>
01Dec 2011, 23:11 ฯิ Steve Pieper <<a
moz-do-not-send="true"
href="http://e.mail.ru/cgi-bin/sentmsg?compose&To=pieper@ibility.net"
target="_blank">pieper@ibility.net</a>>:<br>
</div>
<blockquote style="border-left: 1px solid
rgb(8, 87, 166); margin: 10px; padding:
0pt 0pt 0pt 10px;">
<div>
<div>
<div>
<div>
<div class="im">
<div>Hi - <br>
<br>
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?<br>
<br>
-Steve<br>
<br>
</div>
</div>
<div>
<div class="im">
<div>
On Thu, Dec 1, 2011 at 11:29
AM, looky12 looky12 <span
dir="ltr"><<a
moz-do-not-send="true"
href="http://e.mail.ru/cgi-bin/sentmsg?compose&To=looky12@bk.ru"
target="_blank">looky12@bk.ru</a>></span>
wrote:<br>
</div>
</div>
<blockquote style="margin: 0pt
0pt 0pt 0.8ex; border-left:
1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>
<div class="h5">
<div>
<div>
<div>Hello everyone, i
have some problems
in build process,
thanks for your
attention.<br>
<br>
1>------ Build
started: Project:
qxmlrpc,
Configuration: Debug
Win32 ------<br>
1>Performing
update step (git
fetch) for 'qxmlrpc'<br>
1>Performing
configure step for
'qxmlrpc'<br>
1>-- Configuring
done<br>
1>-- Generating
done<br>
1>-- Build files
have been written
to:
C:/CTK/CTK-superbuild/qxmlrpc-build<br>
1>Performing
build step for
'qxmlrpc'<br>
1>Microsoft (R)
Visual Studio
Version 9.0.30729.1.<br>
1>Copyright (C)
Microsoft Corp. All
rights reserved.<br>
1>==========
Build: 0 succeeded,
0 failed, 3
up-to-date, 0
skipped ==========<br>
1>No install step
for 'qxmlrpc'<br>
1>Completed
'qxmlrpc'<br>
1>Build log was
saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\qxmlrpc.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\qxmlrpc.dir\Debug\BuildLog.htm"</a><br>
1>qxmlrpc - 0
error(s), 0
warning(s)<br>
2>------ Build
started: Project:
CTK-Configure,
Configuration: Debug
Win32 ------<br>
2>Performing
configure step for
'CTK-Configure'<br>
2>-- Generated:
C:/CTK/CTK-superbuild/CTK-build/DGraphInput-alldep.txt<br>
2>-- Generated:
C:/CTK/CTK-superbuild/CTK-build/DGraphInput-alldep-withext.txt<br>
2>-- Generated:
C:/CTK/CTK-superbuild/CTK-build/DGraphInput.txt<br>
2>-- Generated:
C:/CTK/CTK-superbuild/CTK-build/Project.xml<br>
2>-- CTKCore: BFD
support disabled<br>
2>-- Configuring
done<br>
2>-- Generating
done<br>
2>CMake Warning:<br>
2>
Manually-specified
variables were not
used by the project:<br>
2>
CTEST_USE_LAUNCHERS<br>
2>
DOCUMENTATION_ARCHIVES_OUTPUT_DIRECTORY<br>
2>
DOCUMENTATION_TARGET_IN_ALL<br>
2>-- Build files
have been written
to:
C:/CTK/CTK-superbuild/CTK-build<br>
2>No build step
for 'CTK-Configure'<br>
2>No install step
for 'CTK-Configure'<br>
2>Completed
'CTK-Configure'<br>
2>Build log was
saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\CTK-Configure.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\CTK-Configure.dir\Debug\BuildLog.htm"</a><br>
2>CTK-Configure -
0 error(s), 0
warning(s)<br>
3>------ Build
started: Project:
CTK-build,
Configuration: Debug
Win32 ------<br>
3>Microsoft (R)
Visual Studio
Version 9.0.30729.1.<br>
3>Copyright (C)
Microsoft Corp. All
rights reserved.<br>
3>1>------
Build started:
Project:
CTKVisualizationVTKWidgets,
Configuration: Debug
Win32 ------<br>
3>1>Compiling...<br>
3>2>------
Build started:
Project:
ctkDICOMDemoSCU,
Configuration: Debug
Win32 ------<br>
3>2>Linking...<br>
3>1>ctkVTKScalarsToColorsView.cpp<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public:
virtual class
OFCondition
__thiscall
ctkDcmSCU::sendECHORequest(unsigned
char)"
(?sendECHORequest@ctkDcmSCU@@UAE?AVOFCondition@@E@Z)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public:
virtual class
OFCondition
__thiscall
ctkDcmSCU::negotiateAssociation(void)"
(?negotiateAssociation@ctkDcmSCU@@UAE?AVOFCondition@@XZ)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public:
virtual __thiscall
ctkDcmSCU::~ctkDcmSCU(void)"
(??1ctkDcmSCU@@UAE@XZ)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public:
virtual class
OFCondition
__thiscall
ctkDcmSCU::initNetwork(void)"
(?initNetwork@ctkDcmSCU@@UAE?AVOFCondition@@XZ)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public: void
__thiscall
ctkDcmSCU::setPeerAETitle(class
OFString const
&)"
(?setPeerAETitle@ctkDcmSCU@@QAEXABVOFString@@@Z)
referenced in
function _main<br>
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@ctkDcmSCU@@QAE?AVOFCondition@@ABVOFString@@ABV?$OFList@VOFString@@@@W4T_ASC_SC_ROLE@@@Z)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public: void
__thiscall
ctkDcmSCU::setPeerPort(unsigned
short)"
(?setPeerPort@ctkDcmSCU@@QAEXG@Z)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public: void
__thiscall
ctkDcmSCU::setPeerHostName(class
OFString const
&)"
(?setPeerHostName@ctkDcmSCU@@QAEXABVOFString@@@Z)
referenced in
function _main<br>
3>2>ctkDICOMDemoSCUMain.obj
: error LNK2019:
unresolved external
symbol "public:
__thiscall
ctkDcmSCU::ctkDcmSCU(void)"
(??0ctkDcmSCU@@QAE@XZ)
referenced in
function _main<br>
3>2>C:\CTK\CTK-superbuild\CTK-build\bin\Debug\ctkDICOMDemoSCU.exe
: fatal error
LNK1120: 9
unresolved externals<br>
3>2>Build log
was saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\CTK-build\Applications\ctkDICOMDemoSCU\ctkDICOMDemoSCU.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\CTK-build\Applications\ctkDICOMDemoSCU\ctkDICOMDemoSCU.dir\Debug\BuildLog.htm"</a><br>
3>2>ctkDICOMDemoSCU
- 10 error(s), 0
warning(s)<br>
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 *'<br>
3>1>
Conversion from
integral type to
pointer type
requires
reinterpret_cast,
C-style cast or
function-style cast<br>
3>1>..\..\..\..\..\..\Libs\Visualization\VTK\Widgets\ctkVTKScalarsToColorsView.cpp(606)
: error C2664: 'void
vtkControlPointsItem::SpreadPoints(float,vtkIdTypeArray
*)' : cannot convert
parameter 2 from
'bool' to
'vtkIdTypeArray *'<br>
3>1>
Conversion from
integral type to
pointer type
requires
reinterpret_cast,
C-style cast or
function-style cast<br>
3>1>Build log
was saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\CTKVisualizationVTKWidgets.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\CTKVisualizationVTKWidgets.dir\Debug\BuildLog.htm"</a><br>
3>1>CTKVisualizationVTKWidgets
- 2 error(s), 0
warning(s)<br>
3>3>------
Build started:
Project:
CTKVisualizationVTKWidgetsPlugins,
Configuration: Debug
Win32 ------<br>
3>3>Linking...<br>
3>3>LINK :
fatal error LNK1104:
cannot open file
'..\..\..\..\..\bin\Debug\CTKVisualizationVTKWidgets.lib'<br>
3>3>Build log
was saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\Plugins\CTKVisualizationVTKWidgetsPlugins.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\CTK-build\Libs\Visualization\VTK\Widgets\Plugins\CTKVisualizationVTKWidgetsPlugins.dir\Debug\BuildLog.htm"</a><br>
3>3>CTKVisualizationVTKWidgetsPlugins
- 1 error(s), 0
warning(s)<br>
3>==========
Build: 0 succeeded,
3 failed, 29
up-to-date, 0
skipped ==========<br>
3>Project : error
PRJ0019: A tool
returned an error
code from <br>
3>Build log was
saved at
<a class="moz-txt-link-rfc2396E" href="file://c:\CTK\CTK-superbuild\CTK-build.dir\Debug\BuildLog.htm">"file://c:\CTK\CTK-superbuild\CTK-build.dir\Debug\BuildLog.htm"</a><br>
3>CTK-build - 14
error(s), 0
warning(s)<br>
========== Build: 2
succeeded, 1 failed,
5 up-to-date, 0
skipped ==========<br>
<br>
<br>
</div>
<br>
</div>
</div>
</div>
</div>
<div class="im">
<div>_______________________________________________<br>
Ctk-developers mailing
list<br>
<a moz-do-not-send="true"
href="http://e.mail.ru/cgi-bin/sentmsg?compose&To=Ctk-developers@commontk.org"
target="_blank">Ctk-developers@commontk.org</a><br>
<a moz-do-not-send="true"
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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>