Classification: UNCLASSIFIED
Caveats: NONE

Utkarsh,

Is Ninja also preferred if I am using VS2008 to build the superbuild on 
Windows? 

Is this the Ninja - http://martine.github.io/ninja/manual.html ?

Thanks
-simon

-----Original Message-----
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Utkarsh 
Ayachit
Sent: Wednesday, September 03, 2014 10:25 AM
To: Reuter, Michael A.
Cc: paraview@paraview.org
Subject: Re: [Paraview] Superbuild and Windows

Michael,

Are you using VS generator? Can you switch to using Ninja? You can still use 
the MSVC compilers. The error is popping up when the build is trying to 
compiler the pygments *.py files. You'll get the same error later when it's 
trying to compile the ParaView *.py files.

Also, another thing to note is that Windows has issues with long paths. So I'd 
suggest moving the superbuild source and build directories to something lower 
to avoid those e.g. C:/tmp/pvs-src and C:/tmp/pvs-build.

Finally, if you're using VS2012, you'll need to use a system Python.
Currently. the Python included in the superbuild is intended for VS2008. Also 
VS2012, is currently untested. As a first pass, if possible, I'd suggest using 
VS 2008. Once that's working, you can give
 VS2012 try. Hopefully, it should work (except the Python caveat), but I am 
always wary of VS version differences.

Utkarsh



On Wed, Sep 3, 2014 at 10:07 AM, Reuter, Michael A. <reute...@ornl.gov> wrote:
> Hi,
>
>
>
>                 I’m having an issue with the ParaView Superbuild on 
> Windows (VS2012). I get this error during the build process:
>
>
>
>          322>  Compiling Python package 'pygments'
>
>
>
>          322>  Listing
> C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib
> /site-packages/pygments
> ...
>
>
>
>          322>  Listing
> C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib
> /site-packages/pygments\filters
> ...
>
>
>
>          322>  Listing
> C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib
> /site-packages/pygments\formatters
> ...
>
>
>
>          322>  Listing
> C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib
> /site-packages/pygments\lexers
> ...
>
>
>
>          322>  Listing
> C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib
> /site-packages/pygments\styles
> ...
>
>
>
>          322>  ImportError: No module named site
>
>
>
>      9>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5):
> error MSB6006: "cmd.exe" exited with code 1.
> [C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj]
>
>
>
>          322>
>
>          322>Build FAILED.
>
>
>
> However, the site module exists when I run python. I’m building from a 
> script so I can control the environment. Everything else seems to 
> build just fine. However, nothing appears in the install directory for 
> cpack to find. I can’t tell if this build error is disrupting the 
> process or something else is going wrong. What controls the pygments 
> build so I can shut it off for now?
>
>
>
> Thanks,
>
> M
>
>
>
> Dr. Michael Reuter
>
> Scientific Data Analysis Group
>
> Neutron Data Analysis and Visualization Division
>
> Oak Ridge National Laboratory
>
>
>
> Office: 1-865-241-7216
>
> Fax: 1-865-574-6080
>
> Email: reute...@ornl.gov
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Classification: UNCLASSIFIED
Caveats: NONE


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to