Problems building 3dslicer with cgwin and windowsXP

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems building 3dslicer with cgwin and windowsXP

cvalencia
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 file)
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?

Regards

log.txt
Reply | Threaded
Open this post in threaded view
|

Re: Problems building 3dslicer with cgwin and windowsXP

Isaiah Norton
Can you open the solution (.SLN) files with VS 2008? for example, VTK.SLN

On 10/15/2010 11:53 AM, cvalencia wrote:

> 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
> file)
> 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?
>
> Regards
>
> http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt log.txt
>    

_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Problems building 3dslicer with cgwin and windowsXP

pieper
Administrator
Hi -

It looks like cmake isn't working on your vtk checkout (something about
the compiler config?).  You may be able to run cmake manually and
troubleshoot this issue and then re-try building slicer.

> running: C:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/CMake-build/bin/cmake.exe {-GVisual Studio 9 2008} -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=ON {-DCMAKE_CXX_COMPILER:STRING=c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl} {-DCMAKE_CXX_COMPILER_FULLPATH:FILEPATH=c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl} {-DCMAKE_C_COMPILER:STRING=c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl} {-DCMAKE_C_COMPILER_FULLPATH:FILEPATH=c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl} -DBUILD_TESTING:BOOL=OFF -DVTK_USE_CARBON:BOOL=OFF -DVTK_USE_X:BOOL=ON -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_HYBRID:BOOL=ON -DVTK_USE_PATENTED:BOOL=ON -DVTK_USE_PARALLEL:BOOL=ON -DVTK_DEBUG_LEAKS:BOOL=ON -DTCL_INCLUDE_PATH:PATH=C:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/tcl-build/include -DTK_INCLUDE_PATH:PATH=C:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/tcl-build/include -DTCL_LIBRARY:FILEPATH=C:/cygwin/hom
e/CVALEN~1/Slicer3/../Slicer3-lib/tcl-build/lib/tcl84.lib -DTK_LIBRARY:FILEPATH=C:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/tcl-build/lib/tk84.lib -DTCL_TCLSH:FILEPATH=C:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/tcl-build/bin/tclsh84.exe {} ../VTK
> -- Check for working C compiler using: Visual Studio 9 2008
> -- Check for working C compiler using: Visual Studio 9 2008 -- broken
> -- Configuring incomplete, errors occurred!
>

Best,
Steve


On 10/15/2010 02:06 PM, Isaiah Norton wrote:

> Can you open the solution (.SLN) files with VS 2008? for example, VTK.SLN
>
> On 10/15/2010 11:53 AM, cvalencia wrote:
>> 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
>> file)
>> 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?
>>
>> Regards
>>
>> http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt log.txt
>>
>
> _______________________________________________
> slicer-users mailing list
> [hidden email]
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to [hidden email] with unsubscribe as the subject
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Problems building 3dslicer with cgwin and windowsXP

Andras Lasso
In reply to this post by cvalencia
Hi,

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
that.

-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.

Andras


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of cvalencia
Sent: Friday, October 15, 2010 11:54 AM
To: [hidden email]
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
file)
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?

Regards

http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt log.txt
--
View this message in context:
http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwi
n-and-windowsXP-tp1709117p1709117.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email]
with unsubscribe as the subject


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
Reply | Threaded
Open this post in threaded view
|

Re: Problems building 3dslicer with cgwin and windowsXP

cvalencia
Hi
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:

    L:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/Insight-build/ITKConfig.cmake

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
  file.


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:

    KWWidgetsConfig.cmake
    kwwidgets-config.cmake



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
   Site: LINK-7CFE6EDCFF
   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
   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Build.
xml
   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Config
ure.xml
   Uploaded: L:/cygwin/home/cvalencia/Slicer3-build/Testing/20101213-1619/Test.x
ml
   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]>
Hi,

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
that.

-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.

Andras


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of cvalencia
Sent: Friday, October 15, 2010 11:54 AM
To: [hidden email]
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
file)
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?

Regards

http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt log.txt
--
View this message in context:
http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwi
n-and-windowsXP-tp1709117p1709117.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
To unsubscribe: send email to [hidden email]
with unsubscribe as the subject


_______________________________________________
slicer-users mailing list
[hidden email]
To unsubscribe: send email to [hidden email] with unsubscribe as the subject



View message @ http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwin-and-windowsXP-tp1709117p1728489.html
To unsubscribe from Problems building 3dslicer with cgwin and windowsXP, click here.




--
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.

Reply | Threaded
Open this post in threaded view
|

Re: Problems building 3dslicer with cgwin and windowsXP

Andras Lasso

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

 

Andras

 

 

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

 

Hi

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:

 

    L:/cygwin/home/CVALEN~1/Slicer3/../Slicer3-lib/Insight-build/ITKConfig.cmake

 

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

  file.

 

 

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:

 

    KWWidgetsConfig.cmake

    kwwidgets-config.cmake

 

 

 

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

   Site: LINK-7CFE6EDCFF

   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

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

xml

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

ure.xml

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

ml

   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]>

Hi,

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
that.

-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.

Andras


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

From: [hidden email]
[mailto:[hidden email]] On Behalf Of cvalencia
Sent: Friday, October 15, 2010 11:54 AM

To: [hidden email]
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
file)
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?

Regards

http://slicer-users.65878.n3.nabble.com/file/n1709117/log.txt log.txt
--
View this message in context:
http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwi
n-and-windowsXP-tp1709117p1709117.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list

[hidden email]

To unsubscribe: send email to [hidden email]

with unsubscribe as the subject

_______________________________________________
slicer-users mailing list
[hidden email]

To unsubscribe: send email to [hidden email] with unsubscribe as the subject


View message @ http://slicer-users.65878.n3.nabble.com/Problems-building-3dslicer-with-cgwin-and-windowsXP-tp1709117p1728489.html
To unsubscribe from Problems building 3dslicer with cgwin and windowsXP, click here.

 




--
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
Sent from the slicer-users mailing list archive at Nabble.com.


_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject