[Paraview] Build ParaViewWeb on windows
Yu Yu
jtxqhao at gmail.com
Tue May 19 05:59:58 EDT 2015
Thanks for the info. I make the change (comment out that line) and rebuild.
This time i can see WebApplication, vtkWebApps, vtkWebCore... and etc in
the Solution Explorer in VS 2013. And when I build all solutions,
everything compile properly except 2 errors:
Error 7064 error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class vtkAVIWriter * __cdecl
vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) referenced
in function "protected: bool __cdecl
vtkSMAnimationSceneImageWriter::CreateWriter(void)"
(?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ)
D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj
vtkPVAnimation
Error 7065 error LNK1120: 1 unresolved externals
D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll
vtkPVAnimation
Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I turn
that off from cmake (if ParaViewWeb do not require vtkPVAnimation).
Thanks for your help.
On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> 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/20150519/c14c3728/attachment.html>
More information about the ParaView
mailing list