<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">dean.inglis@camris.ca</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 bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi all,</font></div>
<div><font face="Arial" size="2">Ive been trying to keep up with all the development 
and compile ctk to see if it</font></div>
<div><font face="Arial" size="2">can be done with my toolchain.  Im using VS 
2010 nmake, 32bit, on Win7, shared, debug </font></div>
<div><font face="Arial" size="2">configured with </font><font face="Arial" size="2">cmake 2.8.3.  NMake is stopping with the following error: 
</font></div>
<div><font face="Arial" size="2">Dean</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">[ 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">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>