[Paraview] new plugin errors

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jan 18 12:15:03 EST 2010


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