Thanks, Burlen. I'll plan to look into it before we tag 5.5.2.

Utkarsh


On Wed, Jun 6, 2018 at 5:58 PM Burlen Loring <[email protected]> wrote:

> Hi Utkarsh,
>
> Sorry I missed your reply, I thought my post got bounced and didn't look.
>
> BUILD_SHARED_LIBS=OFF and PARAVIEW_USE_VISITBRIDGE=ON will reproduce the
> issue.
>
> I was able to quickly move past it by finding VISIT_STATIC in the cmake
> code and making the following change
>
> ParaView/Utilities/VisItBridge$git diff
> diff --git a/Library/VisItLib/CMake/VisItCommon.cmake
> b/Library/VisItLib/CMake/VisItCommon.cmake
> index 0bfad93..b4f136c 100644
> --- a/Library/VisItLib/CMake/VisItCommon.cmake
> +++ b/Library/VisItLib/CMake/VisItCommon.cmake
> @@ -26,14 +26,14 @@ if(VISIT_DISABLE_COMPILER_WARNINGS)
>   endif(VISIT_DISABLE_COMPILER_WARNINGS)
>
>   #set up some vars we need to compile
> -set(VISIT_STATIC)
> -if (BUILD_SHARED_LIBS)
> +#set(VISIT_STATIC)
> +#if (BUILD_SHARED_LIBS)
>     set(VISIT_STATIC 0)
>     add_definitions(-DVISIT_BUILD_SHARED_LIBS)
> -else(VISIT_STATIC)
> -  set(VISIT_STATIC 1)
> -  add_definitions(-DVISIT_STATIC -DGLEW_STATIC)
> -endif()
> +#else(VISIT_STATIC)
> +#  set(VISIT_STATIC 1)
> +#  add_definitions(-DVISIT_STATIC -DGLEW_STATIC)
> +#endif()
>
>   set(VISIT_SOURCE_DIR ${VisItBridgePlugin_SOURCE_DIR})
>   set(VISIT_BINARY_DIR ${VisItBridgePlugin_BINARY_DIR})
>
>
> On 06/05/2018 01:15 PM, Utkarsh Ayachit wrote:
> > Burlen,
> >
> > Are you doing a static build of ParaView? What Cmake flags did you use?
> >
> > Utkarsh
>
>
_______________________________________________
Powered by www.kitware.com

ParaView discussion is moving! Please visit https://discourse.paraview.org/ for 
future posts.

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:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to