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@vtkAVIWriter@@SAPEAV1@XZ) referenced in function "protected: bool __cdecl vtkSMAnimationSceneImageWriter::CreateWriter(void)" (?CreateWriter@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 < [email protected]> 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 <[email protected]> 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 >> >> >
_______________________________________________ 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
