[slicer-users] Problems building 3dslicer with cgwin and windowsXP

Andras Lasso lasso at cs.queensu.ca
Mon Dec 13 12:19:21 EST 2010

Does the "L:/cygwin/home/CVALEN~1/Slicer3-build/lib/Slicer3/Slicer3Version.txt" file exist on your machine?





From: slicer-users-bounces at bwh.harvard.edu [mailto:slicer-users-bounces at bwh.harvard.edu] On Behalf Of cvalencia
Sent: Monday, December 13, 2010 11:30 AM
To: slicer-users at bwh.harvard.edu
Subject: Re: [slicer-users] Problems building 3dslicer with cgwin and windowsXP



I already install win XP 32 and now when I run the getbuiltest.tcl in cygwin appears this:

can somebody help me with this?

thanks a lot



  Preferred POSIX equivalent is: /home/CVALEN~1/Slicer3/Scripts/versioner.tcl

  CYGWIN environment variable option "nodosfilewarning" turns off this warning.

  Consult the user's guide for more details about POSIX paths:


couldn't open "L:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-build/lib/Slicer3/Slic

er3Version.txt": no such file or directory

    while executing

"open $versionFile "w""

    invoked from within

"set fp [open $versionFile "w"]"

    (file "L:/cygwin/home/CVALEN~1/Slicer3/Scripts/versioner.tcl" line 68)

running: L:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/CMake-build/bin/cmake.ex

e -DCTEST_TEST_TIMEOUT=180 {-DMAKECOMMAND:STRING=c:/Program Files (x86)/Microsof

t Visual Studio 9.0/Common7/IDE/VCExpress.exe Slicer3.sln /out buildlog.txt /bui

ld Debug /project ALL_BUILD} L:/cygwin/home/CVALEN~1/Slicer3

-- Slicer3_BUILD:win32

-- Configuring incomplete, errors occurred!


CMake Error at L:/cygwin/home/cvalencia/Slicer3-lib/CMake-build/share/cmake-2.8/

Modules/FindITK.cmake:90 (INCLUDE):

  include could not find load file:




Call Stack (most recent call first):

  CMakeLists.txt:221 (find_package)



CMake Error at CMakeLists.txt:225 (include):

  include called with wrong number of arguments.  Include only takes one




CMake Error at CMakeLists.txt:230 (FIND_PACKAGE):

  Could not find module FindKWWidgets.cmake or a configuration file for

  package KWWidgets.


  Adjust CMAKE_MODULE_PATH to find FindKWWidgets.cmake or set KWWidgets_DIR

  to the directory containing a CMake configuration file for KWWidgets.  The

  file will have one of the following names:







CMake Error at CMakeLists.txt:232 (MESSAGE):

  Need KWWidgets to build



running: L:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/CMake-build/bin/ctest -D

 Experimental -C Debug


   Build name: Win32-VCExpress

Create new tag: 20101213-1619 - Experimental

Configure project

   Each . represents 1024 bytes of output

    . Size of output: 0K

Build project

   Each symbol represents 1024 bytes of output.

   '!' represents an error and '*' a warning.

    . Size of output: 0K

   0 Compiler errors

   1 Compiler warnings

Test project L:/cygwin/home/cvalencia/Slicer3-build

Performing coverage

Submit files (using http)

   Using HTTP submit method

   Drop site:http://www.cdash.org/CDash/submit.php?project=Slicer3

   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Build.


   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Config


   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Test.x


   Submission successful


Error(s) when configuring the project

Error(s) when building project

No tests were found!!!

 Cannot find any coverage files. Ignoring Coverage request.

Errors while running CTest


2010/10/18 Andras Lasso [via slicer-users] <[hidden email]>


I assume you have a 64-bit XP (as your compiler is in the c:/Program Files 
(x86)/... directory). This configuration was not tested regularly, 
especially not with VS Express. 

You have two options: 

-If you don't want to spend time with investigating this problem, then just 
get a 32-bit WindowsXP machine with VS 2008 Professional and build Slicer on 

-If you need to compile Slicer on that specific PC, or don't have access to 
a 32-bit XP or VS 2008 Professional then try to find the root cause of the 
issue. It might be an incorrectly installed VS, multiple installed VS, 
partially installed/uninstalled VS, attempt to build as a restricted user, 
etc. Start with a simpler task, e.g., VTK compilation (see instructions on 
your PC at C:/cygwin/home/cvalencia/Slicer3/Slicer3-lib/VTK/README.html). If 
VTK compilation fails then you have to search for the solution on CMake and 
VTK forums. If VTK compilation is successful but Slicer build still fails 
then you can get further help from slicer-devel mailing list. 


-----Original Message----- 

From: [hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=0>  
[mailto:[hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=1> ] On Behalf Of cvalencia 
Sent: Friday, October 15, 2010 11:54 AM 

To: [hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=2>  
Subject: [slicer-users] Problems building 3dslicer with cgwin and windowsXP 

Hi everybody, 
I have problems building 3d Slicer, 
I downloaded the source code, cygwin, VS 2008 and everything the tutorials 
and wiki said 
and when I tried to build Slicer, I had these errors  (look the attached log 
I tried to find the errors with the help of the tutorials, but I couldn't. 
(I turned off python, I install only VS 2008 ....) 
Any ideas? 


http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt <http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt?by-user=t&by-user=t>  log.txt 
View this message in context: 
http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwi <http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwi?by-user=t&by-user=t> 
Sent from the slicer-users mailing list archive at Nabble.com. 
slicer-users mailing list 

[hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=3>  


To unsubscribe: send email to [hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=4>  

with unsubscribe as the subject 

slicer-users mailing list 
[hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=5>  


To unsubscribe: send email to [hidden email] <http://user/SendEmail.jtp?type=node&node=1728489&i=6>  with unsubscribe as the subject 


View message @ http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwin-and-windowsXP-tp1709117p1728489.html <http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwin-and-windowsXP-tp1709117p1728489.html?by-user=t>  
To unsubscribe from Problems building 3dslicer with cgwin and windowsXP, click here <http://slicer-users.65878.n3.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=1709117&code=bGFjYXJvM0BnbWFpbC5jb218MTcwOTExN3wtMzQ4NzI2MTY4&by-user=t> . 


Carolina Valencia Muñoz
301 6411824

Evite imprimir, piense en su compromiso con el medio Ambiente / 

Avoid printing, think about your responsibility with the Environment.



View this message in context: Re: Problems building 3dslicer with cgwin and windowsXP <http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwin-and-windowsXP-tp1709117p2079641.html> 
Sent from the slicer-users mailing list archive <http://slicer-users.65878.n3.nabble.com/>  at Nabble.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://massmail.spl.harvard.edu/pipermail/slicer-users/attachments/20101213/e0d69db9/attachment.html>

More information about the slicer-users mailing list