[Insight-users] Problem compiling on Windows

Robb Brown brownr at ucalgary.ca
Mon, 12 Jan 2004 12:26:54 -0700


Thanks for the advice RE spaces... static libraries compile now, but 
the shared libraries (and Python wrapping) does not.  Same type of 
error.  Is this is a problem that's fixed in more recent version of 
VC++ or do the ITK wrappings not compile on Windows yet?

Thanks,

Robb


On Jan 9, 2004, at 3:11 PM, Hari Sundar wrote:

> Robb,
>
> I had the same problem a few weeks ago and it turned out (thanks to 
> Luis) that
> this happens because of spaces in the path. In your case "Documents and
> Settings". Change the install directory and the problem should get 
> fixed.
>
> -Hari
>
> Quoting Robb Brown <brownr at ucalgary.ca>:
>
> =} I'm trying to compile ITK 1.4 on Windows using Visual Studio 6, 
> CMake
> =} 1.8.
> =}
> =} CableSwig compiles fine.  But when I go to compile ITK I get the
> =} following error:
> =}
> =} Building Custom Rule "C:\Documents and
> =} Settings\Administrator\Desktop\Python-
> =} Windows\download\ITK\InsightToolkit
> =} -1.4.0\Wrapping\CSwig\SwigRuntime\swigrun.h"
> =} Error executing C:/Documents and
> =} 
> Settings/Administrator/Desktop/Python-Windows/download/ITK/CableSwigb/
> =} bin/Debug/gccxml_cc1plus.exe
> =} Error executing c:\windows\system32\cmd.exe.
> =}
> =}
> =} I notice that the slashes are the wrong way around on the Error
> =} executing line.  Is this a problem in CMake?  Any suggestions?
> =}
> =} BTW -- so far the build on OS X is going fine.  Much better than it
> =} used to be.  :)
> =}
> =} _____________________________
> =} Robb Brown
> =} Seaman Family MR Center
> =} Calgary, AB
> =}
> =} _______________________________________________
> =} Insight-users mailing list
> =} Insight-users at itk.org
> =} http://www.itk.org/mailman/listinfo/insight-users
> =}
>
>
> -- 
>  .--------------------------------------------------.
>  |      .--.                                        |
>  |     |o_o |      Hari Sundar                      |
>  |     |:_/ |      hsundar at seas.upenn.edu           |
>  |    //   \ \                                      |
>  |   (|     | )    University of Pennsylvania       |
>  |  /'\_   _/`\                                     |
>  |  \___)=(___/                                     |
>  `--------------------------------------------------'
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
_____________________________
Robb Brown
Seaman Family MR Center
Calgary, AB