<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16722">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi Jc,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Yes, this is before trying to build any of the
CTK_APPs too. I even tried building</FONT></DIV>
<DIV><FONT size=2 face=Arial>with ctk pulling its own copy of vtk and the same
thing occurs. I turned off the vtk</FONT></DIV>
<DIV><FONT size=2 face=Arial>widgets and tried building some of the apps, and
the error also occurs. Can anyone</FONT></DIV>
<DIV><FONT size=2 face=Arial>else confirm this with VS 2010 command
line tools using nmake?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Dean</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=jchris.fillionr@kitware.com
href="mailto:jchris.fillionr@kitware.com">Jean-Christophe Fillion-Robin</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dean.inglis@camris.ca
href="mailto:dean.inglis@camris.ca">Dean Inglis</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=Ctk-developers@commontk.org
href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 15, 2011 4:42
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Ctk-developers] ctk VS2010
nmake build error</DIV>
<DIV><BR></DIV>Hi Dean, <BR><BR>If I understand properly, after you enable
VisualizationVTKCore library, the error '<FONT size=2 face=Arial>U1095'
described earlier starts to occur ? <BR><BR>Thks<BR>Jc<BR></FONT><BR>
<DIV class=gmail_quote>On Tue, Feb 15, 2011 at 2:51 PM, Dean Inglis <SPAN
dir=ltr><<A
href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2 face=Arial>Hi Jc,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I tried configuring the ctk build in D:/ but
nothing gets built:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>D:\>cmake d:/Developer/Sources/CTK -G"NMake
Makefiles"<BR>-- Generated: D://DGraphInput-alldep.txt<BR>-- Generated:
D://DGraphInput-alldep-withext.txt<BR>-- Generated:
D://DGraphInput.txt<BR>-- Generated: D://Project.xml<BR>-- Configuring
done<BR>-- Generating done<BR>-- Build files have been written to:
D:/</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>D:\>nmake</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Microsoft (R) Program Maintenance Utility
Version 10.00.30319.01<BR>Copyright (C) Microsoft Corporation. All
rights reserved.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Built target Log4Qt<BR>Built target
CTKData<BR>Built target DCMTK<BR>Built target CTK-Utilities<BR>Built target
CTK-Configure<BR>Built target CTK-build</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>so I tried building in D:/ctk incrementally
turning on different modules. I got</FONT></DIV>
<DIV><FONT size=2 face=Arial>as far as </FONT></DIV>
<DIV><FONT size=2 face=Arial>//Enable Visualization/VTK/Core
Library.<BR>CTK_LIB_Visualization/VTK/Core:BOOL=ON</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>//Enable Visualization/VTK/Widgets Library.
<DIV
class=im><BR>CTK_LIB_Visualization/VTK/Widgets:BOOL=ON</DIV></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>and thats when the nmake error occurs. Im
linking to an external vtk build so</FONT></DIV>
<DIV><FONT size=2 face=Arial>that I dont have to download and wait for it to
build within ctk. So i specify</FONT></DIV><FONT size=2 face=Arial>
<DIV><BR>VTK_DIR:PATH=D:/Developer/VS10/x86/SHARED/Install/lib/vtk-5.7</DIV>
<DIV> </DIV>
<DIV>in my ctk root cmakecache.txt</DIV>
<DIV> </DIV><FONT color=#888888>
<DIV>Dean</DIV></FONT></FONT></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228)"><B>From:</B>
<A title=jchris.fillionr@kitware.com
href="mailto:jchris.fillionr@kitware.com" target=_blank>Jean-Christophe
Fillion-Robin</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dean.inglis@camris.ca
href="mailto:dean.inglis@camris.ca" target=_blank>Dean Inglis</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=Ctk-developers@commontk.org
href="mailto:Ctk-developers@commontk.org"
target=_blank>Ctk-developers@commontk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 15, 2011
11:24 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Ctk-developers] ctk
VS2010 nmake build error</DIV>
<DIV><BR></DIV><BR>Could you try to build CTK from D:/ itself, seems the
problem come from the path length limitation on
windows.<BR><BR>Thks<BR>Jc<BR><BR>
<DIV class=gmail_quote>On Tue, Feb 15, 2011 at 11:21 AM, Dean Inglis <SPAN
dir=ltr><<A href="mailto:dean.inglis@camris.ca"
target=_blank>dean.inglis@camris.ca</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2 face=Arial>Hi all,</FONT></DIV>
<DIV><FONT size=2 face=Arial>Ive been trying to keep up with all the
development and compile ctk to see if it</FONT></DIV>
<DIV><FONT size=2 face=Arial>can be done with my toolchain. Im
using VS 2010 nmake, 32bit, on Win7, shared, debug </FONT></DIV>
<DIV><FONT size=2 face=Arial>configured with </FONT><FONT size=2
face=Arial>cmake 2.8.3. NMake is stopping with the following
error: </FONT></DIV>
<DIV><FONT size=2 face=Arial>Dean</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>[ 24%] Completed 'DCMTK'<BR>[ 38%] Built
target DCMTK<BR>[ 50%] Built target QtSOAP<BR>[ 63%] Built target
VTK<BR>[ 63%] No configure step for 'CTK-Utilities'<BR>[ 63%] No build
step for 'CTK-Utilities'<BR>[ 63%] No install step for
'CTK-Utilities'<BR>[ 63%] Completed 'CTK-Utilities'<BR>[ 75%] Built
target CTK-Utilities<BR>[ 75%] Performing configure step for
'CTK-Configure'<BR>NMAKE : fatal error U1095: expanded command line
'echo && "C:\Program
File<BR> (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TESTING:BOOL=ON
-DCTK_USE_KWSTYLE:BOOL=<BR>FF -DWITH_COVERAGE:BOOL=OFF
-DDOCUMENTATION_TARGET_IN_ALL:BOOL=OFF -DCTEST_USE_<BR>AUNCHERS:BOOL=
-DCTK_WRAP_PYTHONQT_FULL:BOOL= -DCTK_WRAP_PYTHONQT_LIGHT:BOOL=
-<BR>CTK_LIB_Core:BOOL=ON -DCTK_LIB_PluginFramework:BOOL=ON
-DCTK_LIB_Widgets:BOOL=O<BR> -DCTK_LIB_DICOM/Core:BOOL=ON
-DCTK_LIB_DICOM/Widgets:BOOL=ON
-DCTK_LIB_Scripti<BR>g/Python/Core:BOOL=OFF
-DCTK_LIB_Scripting/Python/Widgets:BOOL=OFF
-DCTK_LIB_Vi<BR>ualization/VTK/Core:BOOL=ON
-DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON
-DCTK_P<BR>UGIN_org.commontk.eventbus:BOOL=OFF
-DCTK_PLUGIN_org.commontk.configadmin:BOOL=<BR>N
-DCTK_PLUGIN_org.commontk.dah.app:BOOL=ON
-DCTK_PLUGIN_org.commontk.dah.core:<BR>OOL=ON
-DCTK_PLUGIN_org.commontk.dah.exampleapp:BOOL=ON
-DCTK_PLUGIN_org.common<BR>k.dah.examplehost:BOOL=ON
-DCTK_PLUGIN_org.commontk.dah.host:BOOL=ON
-DCTK_PLUG<BR>N_org.commontk.eventadmin:BOOL=ON
-DCTK_PLUGIN_org.commontk.log:BOOL=ON
-DCTK_P<BR>UGIN_org.commontk.log4qt:BOOL=ON
-DCTK_PLUGIN_org.commontk.metatype:BOOL=ON
-DC<BR>K_PLUGIN_org.commontk.plugingenerator.core:BOOL=ON -<A
href="http://DCTK_PLUGIN_org.commontk.pl"
target=_blank>DCTK_PLUGIN_org.commontk.pl</A><BR>gingenerator.ui:BOOL=ON
-DCTK_PLUGIN_org.commontk.qtmobility.service:BOOL=OFF
-<BR>CTK_APP_ctkCLIPluginExplorer:BOOL=OFF -DCTK_APP_ctkDICOM:BOOL=OFF
-DCTK_APP_ctk<BR>ICOMIndexer:BOOL=OFF -DCTK_APP_ctkDICOMDemoSCU:BOOL=OFF
-DCTK_APP_ctkDICOMQuery<BR>BOOL=OFF -DCTK_APP_ctkDICOMRetrieve:BOOL=OFF
-DCTK_APP_ctkDICOMQueryRetrieve:BO<BR>L=OFF
-DCTK_APP_ctkExampleHost:BOOL=OFF
-DCTK_APP_ctkExampleHostedApp:BOOL=OFF<BR>DCTK_APP_ctkPluginBrowser:BOOL=OFF
-DCTK_APP_ctkPluginGenerator:BOOL=OFF
-DCTK_<BR>PP_ctkDICOMObjectViewer:BOOL=OFF
-DCTK_APP_ctkSimplePythonShell:BOOL=OFF
-DCTK_<BR>IB_Scripting/Python/Core_PYTHONQT_USE_VTK:BOOL=OFF
-DCTK_LIB_Scripting/Python/C<BR>re_PYTHONQT_WRAP_QTCORE:BOOL=OFF
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_<BR>TGUI:BOOL=OFF
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTNETWORK:BOOL=OFF<BR>DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTOPENGL:BOOL=OFF
-DCTK_LIB_Script<BR>ng/Python/Core_PYTHONQT_WRAP_QTSQL:BOOL=OFF
-DCTK_LIB_Scripting/Python/Core_PYT<BR>ONQT_WRAP_QTSVG:BOOL=OFF
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTUITOOL<BR>:BOOL=OFF
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTWEBKIT:BOOL=OFF
-DCTK<BR>LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTXML:BOOL=OFF
-DCTK_LIB_Scripting/Pyth<BR>n/Core_PYTHONQT_WRAP_QTXMLPATTERNS:BOOL=OFF
-DCTK_SUPERBUILD:BOOL=OFF
-DDOCUMEN<BR>ATION_ARCHIVES_OUTPUT_DIRECTORY:PATH=D:/Developer/VS10/x86/SHARED/ctk
"-DDOXYGE<BR>_EXECUTABLE:FILEPATH=C:/Program Files
(x86)/doxygen/bin/doxygen.exe"
-DCTK_SUPE<BR>BUILD_BINARY_DIR:PATH=D:/Developer/VS10/x86/SHARED/ctk
-DCTK_CMAKE_ARCHIVE_OUTP<BR>T_DIRECTORY:PATH=D:/Developer/VS10/x86/SHARED/ctk/CTK-build/bin
-DCTK_CMAKE_LIB<BR>ARY_OUTPUT_DIRECTORY:PATH=D:/Developer/VS10/x86/SHARED/ctk/CTK-build/bin
-DCTK_<BR>MAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=D:/Developer/VS10/x86/SHARED/ctk/CTK-build/b<BR>n
-DCTK_INSTALL_BIN_DIR:STRING=bin
-DCTK_INSTALL_LIB_DIR:STRING=lib/ctk-0.1
-DC<BR>K_INSTALL_INCLUDE_DIR:STRING=include/ctk-0.1
-DCTK_INSTALL_DOC_DIR:STRING=doc
-<BR>CMAKE_INSTALL_PREFIX:PATH=D:/Developer/VS10/x86/SHARED/ctk/CMakeExternals/Insta<BR>l
-DCMAKE_BUILD_TYPE:STRING=Debug "-DCTK_CXX_FLAGS:STRING= /DWIN32
/D_WINDOWS /<BR>3 /Zm1000 /EHsc /GR /wd4290"
"-DCTK_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /Z<BR>1000 "
-DCTK_EXTERNAL_LIBRARY_DIRS:STRING=
-DQT_QMAKE_EXECUTABLE:FILEPATH=D:/D<BR>veloper/VS10/x86/SHARED/qt-4.7.1/bin/qmake.exe
-DCTKData_DIR:PATH=D:/Developer/<BR>S10/x86/SHARED/ctk/CMakeExternals/Source/CTKData
-DZMQ_DIR:PATH= -DOpenIGTLink_<BR>IR:PATH=
-DCTK_KWSTYLE_EXECUTABLE:FILEPATH=
-DDCMTK_DIR:PATH=D:/Developer/VS10/<BR>86/SHARED/ctk/CMakeExternals/Install
-DVTK_DIR:PATH=D:/Developer/VS10/x86/SHARE<BR>/Install/lib/vtk-5.7
-DPYTHON_EXECUTABLE:FILEPATH= -DPYTHON_INCLUDE_DIR:PATH=
-<BR>PYTHON_LIBRARY:FILEPATH= -DPYTHONQT_INSTALL_DIR:PATH=
-DPYTHONQTGENERATOR_EXECU<BR>ABLE:FILEPATH=
-DLog4Qt_DIR:PATH=D:/Developer/VS10/x86/SHARED/ctk/CMakeExternal<BR>/Install
-DQtSOAP_DIR:PATH=D:/Developer/VS10/x86/SHARED/ctk/Utilities/QtSOAP/
-<BR>QtMobility_DIR:PATH=
-DLog4Qt_LIBRARIES_INCLUDE_DIRS:STRING=Log4Qt_INCLUDE_DIR<BR>DLog4Qt_LIBRARIES_LIBRARY_DIRS:STRING=
-DLog4Qt_LIBRARIES_FIND_PACKAGE_CMD:STRI<BR>G=Log4Qt
-DVTK_LIBRARIES_INCLUDE_DIRS:STRING=VTK_INCLUDE_DIRS
-DVTK_LIBRARIES_L<BR>BRARY_DIRS:STRING=VTK_LIBRARY_DIRS
-DVTK_LIBRARIES_FIND_PACKAGE_CMD:STRING=VTK<BR>DDCMTK_LIBRARIES_INCLUDE_DIRS:STRING=DCMTK_INCLUDE_DIR
-DDCMTK_LIBRARIES_LIBRAR<BR>_DIRS:STRING=
-DDCMTK_LIBRARIES_FIND_PACKAGE_CMD:STRING=DCMTK
-DQTSOAP_LIBRARY_<BR>NCLUDE_DIRS:STRING=QTSOAP_INCLUDE_DIR
-DQTSOAP_LIBRARY_LIBRARY_DIRS:STRING=
-DQ<BR>SOAP_LIBRARY_FIND_PACKAGE_CMD:STRING=QtSOAP "-GNMake Makefiles"
d:/Developer/So<BR>rces/CTK' too long<BR>Stop.<BR>NMAKE : fatal error
U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.<BR>\VC\BIN\nmake.exe"' : return code '0x2'<BR>Stop.<BR>NMAKE : fatal
error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.<BR>\VC\BIN\nmake.exe"' : return code
'0x2'<BR>Stop.</FONT></DIV></DIV><BR>_______________________________________________<BR>Ctk-developers
mailing list<BR><A href="mailto:Ctk-developers@commontk.org"
target=_blank>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><BR
clear=all><BR>-- <BR>Direct: 1-518-836-2174<BR>Ext:
304<BR></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>--
<BR>Direct: 1-518-836-2174<BR>Ext: 304<BR></BLOCKQUOTE></BODY></HTML>