[Paraview] new plugin errors

Biddiscombe, John A. biddisco at cscs.ch
Tue Jan 19 03:34:10 EST 2010


Thanks Utkarsh, it works as normal again.

JB

> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
> Sent: 18 January 2010 18:15
> To: Biddiscombe, John A.
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] new plugin errors
> 
> There's a bug that got introduced while fixing the distribution issue
> with plugins. For now, I've reverted that change.
> 
> Index: CMake/ParaViewPlugins.cmake
> ===================================================================
> RCS file: /cvsroot/ParaView3/ParaView3/CMake/ParaViewPlugins.cmake,v
> retrieving revision 1.63
> diff -u -3 -p -r1.63 ParaViewPlugins.cmake
> --- CMake/ParaViewPlugins.cmake	12 Jan 2010 19:36:36 -0000	1.63
> +++ CMake/ParaViewPlugins.cmake	18 Jan 2010 17:03:46 -0000
> @@ -986,7 +986,7 @@ FUNCTION(ADD_PARAVIEW_PLUGIN NAME VERSIO
>      endif(MSVC)
> 
>      IF (PARAVIEW_BUILD_SHARED_LIBS)
> -      ADD_LIBRARY(${NAME} MODULE ${GUI_SRCS} ${SM_SRCS}
> ${ARG_SOURCES} ${plugin_sources})
> +      ADD_LIBRARY(${NAME} SHARED ${GUI_SRCS} ${SM_SRCS}
> ${ARG_SOURCES} ${plugin_sources})
>      ELSE (PARAVIEW_BUILD_SHARED_LIBS)
>        ADD_LIBRARY(${NAME} ${GUI_SRCS} ${SM_SRCS} ${ARG_SOURCES}
> ${plugin_sources})
>      ENDIF (PARAVIEW_BUILD_SHARED_LIBS)
> 
> 
> On Mon, Jan 18, 2010 at 11:03 AM, Biddiscombe, John A. <biddisco at cscs.ch>
> wrote:
> > Today after a CVS update, I'm getting the following error messages (lots
> of, but here's one example)
> >
> > Question : Is linking one plugin to another plugin forbidden now?
> > Setting CMAKE_BACKWARDS_COMPATIBILITY to 2.2 didn't seem to make any
> difference, errors persist. I will keep trying.
> >
> > thanks
> >
> > JB
> >
> > CMake Error at CSCS/ESPHI/pv3-plugin/CMakeLists.txt:115
> (TARGET_LINK_LIBRARIES):
> >  Target "CSCS_Common" of type MODULE_LIBRARY may not be linked into
> another
> >  target.  One may link only to STATIC or SHARED libraries, or to
> executables
> >  with the ENABLE_EXPORTS property set.
> >
> >  If you are developing a new project, re-organize it to avoid linking to
> >  modules.  If you are just trying to build an existing project, set
> >  CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow linking to
> modules.
> >
> > --
> > John Biddiscombe,                            email:biddisco @ cscs.ch
> > http://www.cscs.ch/
> > CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
> > Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82
> >
> >
> > _______________________________________________
> > 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
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >


More information about the ParaView mailing list