My apologies, I added that. I didn't realize plugins were being linked against. <div><br></div><div>Thanks Utkarsh!<br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 3:34 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Utkarsh, it works as normal again.<br>
<br>
JB<br>
<div class="im"><br>
> -----Original Message-----<br>
> From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>]<br>
> Sent: 18 January 2010 18:15<br>
> To: Biddiscombe, John A.<br>
> Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
</div><div><div></div><div class="h5">> Subject: Re: [Paraview] new plugin errors<br>
><br>
> There's a bug that got introduced while fixing the distribution issue<br>
> with plugins. For now, I've reverted that change.<br>
><br>
> Index: CMake/ParaViewPlugins.cmake<br>
> ===================================================================<br>
> RCS file: /cvsroot/ParaView3/ParaView3/CMake/ParaViewPlugins.cmake,v<br>
> retrieving revision 1.63<br>
> diff -u -3 -p -r1.63 ParaViewPlugins.cmake<br>
> --- CMake/ParaViewPlugins.cmake 12 Jan 2010 19:36:36 -0000 1.63<br>
> +++ CMake/ParaViewPlugins.cmake 18 Jan 2010 17:03:46 -0000<br>
> @@ -986,7 +986,7 @@ FUNCTION(ADD_PARAVIEW_PLUGIN NAME VERSIO<br>
> endif(MSVC)<br>
><br>
> IF (PARAVIEW_BUILD_SHARED_LIBS)<br>
> - ADD_LIBRARY(${NAME} MODULE ${GUI_SRCS} ${SM_SRCS}<br>
> ${ARG_SOURCES} ${plugin_sources})<br>
> + ADD_LIBRARY(${NAME} SHARED ${GUI_SRCS} ${SM_SRCS}<br>
> ${ARG_SOURCES} ${plugin_sources})<br>
> ELSE (PARAVIEW_BUILD_SHARED_LIBS)<br>
> ADD_LIBRARY(${NAME} ${GUI_SRCS} ${SM_SRCS} ${ARG_SOURCES}<br>
> ${plugin_sources})<br>
> ENDIF (PARAVIEW_BUILD_SHARED_LIBS)<br>
><br>
><br>
> On Mon, Jan 18, 2010 at 11:03 AM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>><br>
> wrote:<br>
> > Today after a CVS update, I'm getting the following error messages (lots<br>
> of, but here's one example)<br>
> ><br>
> > Question : Is linking one plugin to another plugin forbidden now?<br>
> > Setting CMAKE_BACKWARDS_COMPATIBILITY to 2.2 didn't seem to make any<br>
> difference, errors persist. I will keep trying.<br>
> ><br>
> > thanks<br>
> ><br>
> > JB<br>
> ><br>
> > CMake Error at CSCS/ESPHI/pv3-plugin/CMakeLists.txt:115<br>
> (TARGET_LINK_LIBRARIES):<br>
> > Target "CSCS_Common" of type MODULE_LIBRARY may not be linked into<br>
> another<br>
> > target. One may link only to STATIC or SHARED libraries, or to<br>
> executables<br>
> > with the ENABLE_EXPORTS property set.<br>
> ><br>
> > If you are developing a new project, re-organize it to avoid linking to<br>
> > modules. If you are just trying to build an existing project, set<br>
> > CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow linking to<br>
> modules.<br>
> ><br>
> > --<br>
> > John Biddiscombe, email:biddisco @ <a href="http://cscs.ch" target="_blank">cscs.ch</a><br>
> > <a href="http://www.cscs.ch/" target="_blank">http://www.cscs.ch/</a><br>
> > CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07<br>
> > Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> ><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>