[vtkusers] Problem creating VTK Python libraries on Win XP 32 bits with MinGW: Spaces are not supported in include path for windres

David Gobbi david.gobbi at gmail.com
Wed Jun 6 14:01:22 EDT 2012


I recommend Microsoft's free compilers, especially Visual Studio 2008
Express.  I use it with nmake from the command line.

 - David


On Wed, Jun 6, 2012 at 11:26 AM, Guillaume Jacquenot
<guillaume.jacquenot at gmail.com> wrote:
> I have tried it. But no, it does do the trick: one can not escape spaces
> with backslashes for include paths...
>
> Here is my test command to see if windres accepts to escape spaces with
> backslashes.
>
> $ cd "/C/Program Files/VTK 5.10.0/bin/Wrapping/Python" &&
> /C/MinGW/bin/windres.exe  -O coff -I"/C/Program\ Files/VTK\ 5.10.0/bin"
> -DVTK_IN_VTK "/C/Program Files/VTK 5.10.0/Wrapping/Python/vtkpython.rc"
> CMakeFiles/vtkpython.dir/vtkpython.rc.obj
> gcc: erreur: Files/VTK/\: No such file or directory
>
> gcc: erreur: 5.10.0/bin: No such file or directory
> c:\MinGW\bin\windres.exe: preprocessing failed.
>
>
> Now, that everything compiled fine, I just realized that I have another
> problem:
> Most test programs that have been compiled are linked to MatLab libraries
> and requires access to MatLab libraries.
> Most of them reports a missing entry point in MatLab libraries.
> I suppose that MatLab was not compiled with gcc but MSVC. Another source of
> problems
> I just turn off the VTK MatLab and start the compilation process again...
> I think I will have to do the magic trick again for my include paths...
>
> Guillaume



More information about the vtkusers mailing list