[Paraview] Build ParaViewWeb on windows

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon May 18 10:28:37 EDT 2015


Replace the following CMake lines

# ParaViewWeb on Windows needs win32api which is not provided by default
# For now the default behavior would be to disable it on Windows build
if (WIN32)
  set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
else()
  cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON
    "PARAVIEW_ENABLE_PYTHON" OFF)
endif()

with the following =====

# ParaViewWeb on Windows needs win32api which is not provided by default
# For now the default behavior would be to disable it on Windows build
if (WIN32)
  # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
else()
  cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON
    "PARAVIEW_ENABLE_PYTHON" OFF)
endif()

Then you should be good to go.

Seb

On Mon, May 18, 2015 at 3:09 AM, Yu Yu <jtxqhao at gmail.com> wrote:

> Hi,
>
> I want to build ParaViewWeb on windows (64-but), I have install win32api
> for python in my machine. I am using cmake-gui, and every time I click
> ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will
> turn ParaView_Enable_Web to off. Is there a way to make it on ?
>
> I found this in the cmake text:
> # ParaViewWeb on Windows needs win32api which is not provided by default
> # For now the default behavior would be to disable it on Windows build
>
> Can I know how to enable ParaViewWeb for windows build ?
>
> Thanks for your help.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150518/235732e1/attachment.html>


More information about the ParaView mailing list