<div dir="ltr">Michael,<div><br></div><div>The patches would be great! I don't think we tested with system Python on Windows.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 8:34 AM, Reuter, Michael A. <span dir="ltr"><<a href="mailto:reuterma@ornl.gov" target="_blank">reuterma@ornl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I used a system Python which is pointed at a Python we distribute with Mantid on Windows. BTW, do you want me to pass along the patches I have for the USE_SYSTEM_matplotlib issues I run into, or should I just handle those in a Superbuild fork?<br>
<br>
Thanks,<br>
M<br>
<span class=""><br>
<br>
On Sep 11, 2014, at 1:21 AM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>>> wrote:<br>
<br>
Michael, with VS2012, what was your selection for Python? Were you<br>
using system Python or did you let the superbuild build its own?<br>
<br>
Utkarsh<br>
<br>
</span><span class="">On Fri, Sep 5, 2014 at 4:58 PM, Reuter, Michael A. <<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>>> wrote:<br>
I’m working with VS2012. Thanks for the update on Mavericks.<br>
<br>
M<br>
</span><span class="">On Sep 5, 2014, at 4:32 PM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>>> wrote:<br>
<br>
Great! Which VS was this? The Pygments thing should be tracked down.<br>
I'll see what's happening there. BTW, I am making progress on<br>
Mavericks build. I think I have most things ironed out. I'll send an<br>
updated email once I have dashboard testing it.<br>
<br>
Utkarsh<br>
<br>
</span><span class="">On Fri, Sep 5, 2014 at 4:29 PM, Reuter, Michael A. <<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>>> wrote:<br>
I switched to Ninja and shortened up the paths, but what really got things working was passing the VTK_USE_SYSTEM_PYGMENTS down to the ParaView CMake config via the PV_EXTRA_CMAKE_ARGS. After that, the build went smoothly. I hit a snag on creating the package because I’m triggering the USE_SYSTEM_matplotlib option and the Projects/win32/paraview.bundle.cmake does not trap the copying of matplotlib related items when this flag is used. I see a similar issue in the Projects/apple/paraview.bundle.cmake file as well. I added a AND NOT USE_SYSTEM_matplotlib to the if (matplotlib_ENABLED) line and that fixed the generated cmake_install.cmake file and the package created fine. I’ve tested the resulting package and so far so good.<br>
<br>
M<br>
<br>
<br>
</span><span class="">On Sep 3, 2014, at 10:24 AM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>>> wrote:<br>
<br>
Michael,<br>
<br>
Are you using VS generator? Can you switch to using Ninja? You can<br>
still use the MSVC compilers. The error is popping up when the build<br>
is trying to compiler the pygments *.py files. You'll get the same<br>
error later when it's trying to compile the ParaView *.py files.<br>
<br>
Also, another thing to note is that Windows has issues with long<br>
paths. So I'd suggest moving the superbuild source and build<br>
directories to something lower to avoid those e.g. C:/tmp/pvs-src and<br>
C:/tmp/pvs-build.<br>
<br>
Finally, if you're using VS2012, you'll need to use a system Python.<br>
Currently. the Python included in the superbuild is intended for<br>
VS2008. Also VS2012, is currently untested. As a first pass, if<br>
possible, I'd suggest using VS 2008. Once that's working, you can give<br>
VS2012 try. Hopefully, it should work (except the Python caveat), but<br>
I am always wary of VS version differences.<br>
<br>
Utkarsh<br>
<br>
<br>
<br>
</span><div><div class="h5">On Wed, Sep 3, 2014 at 10:07 AM, Reuter, Michael A. <<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>>> wrote:<br>
Hi,<br>
<br>
<br>
<br>
I’m having an issue with the ParaView Superbuild on Windows<br>
(VS2012). I get this error during the build process:<br>
<br>
<br>
<br>
322> Compiling Python package 'pygments'<br>
<br>
<br>
<br>
322> Listing<br>
C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments<br>
...<br>
<br>
<br>
<br>
322> Listing<br>
C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\filters<br>
...<br>
<br>
<br>
<br>
322> Listing<br>
C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\formatters<br>
...<br>
<br>
<br>
<br>
322> Listing<br>
C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\lexers<br>
...<br>
<br>
<br>
<br>
322> Listing<br>
C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\styles<br>
...<br>
<br>
<br>
<br>
322> ImportError: No module named site<br>
<br>
<br>
<br>
9>C:\Program Files<br>
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5):<br>
error MSB6006: "cmd.exe" exited with code 1.<br>
[C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj]<br>
<br>
<br>
<br>
322><br>
<br>
322>Build FAILED.<br>
<br>
<br>
<br>
However, the site module exists when I run python. I’m building from a<br>
script so I can control the environment. Everything else seems to build just<br>
fine. However, nothing appears in the install directory for cpack to find. I<br>
can’t tell if this build error is disrupting the process or something else<br>
is going wrong. What controls the pygments build so I can shut it off for<br>
now?<br>
<br>
<br>
<br>
Thanks,<br>
<br>
M<br>
<br>
<br>
<br>
Dr. Michael Reuter<br>
<br>
Scientific Data Analysis Group<br>
<br>
Neutron Data Analysis and Visualization Division<br>
<br>
Oak Ridge National Laboratory<br>
<br>
<br>
<br>
Office: 1-865-241-7216<br>
<br>
Fax: 1-865-574-6080<br>
<br>
</div></div>Email: <a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>><mailto:<a href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a>><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<div class="HOEnZb"><div class="h5"><br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at:<br>
<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>