<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><meta name="qrichtext" content="1"><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Here it is:</div><div><br></div><div>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment--><span style=" color:#0000aa;">12:49:15: Running steps for project Enlil Reader 2.0.1...</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0000aa;">12:49:15: Starting: &quot;/usr/bin/make&quot; </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">-- Configuring done</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">-- Generating done</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">-- Build files have been written to: /Volumes/Data/Development/vtkPlugins/PV4-201-build</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">[ 11%] Built target cxform</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">[ 17%] Built target cxtest</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">[ 23%] Generating qrc_vtkEnlilReader.cxx</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">Scanning dependencies of target vtkEnlilReader</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">[ 29%] Building CXX object CMakeFiles/vtkEnlilReader.dir/qrc_vtkEnlilReader.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">Linking CXX shared library libvtkEnlilReader.dylib</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">Undefined symbols for architecture x86_64:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">  &quot;gregorian_calendar_to_jd(int, int, int, int, int, int)&quot;, referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">      vtkEnlilReader::calculateArtifacts()       in vtkEnlilReader.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">  &quot;date2es(int, int, int, int, int, int)&quot;, referenced from:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">      vtkEnlilReader::calculateArtifacts()       in vtkEnlilReader.cxx.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">ld: symbol(s) not found for architecture x86_64</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">collect2: ld returned 1 exit status</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make[2]: *** [libvtkEnlilReader.dylib] Error 1</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make[1]: *** [CMakeFiles/vtkEnlilReader.dir/all] Error 2</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">make: *** [all] Error 2</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; color:#aa0000;">12:49:16: The process &quot;/usr/bin/make&quot; exited with code 2.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">Error while building/deploying project Enlil Reader 2.0.1 (target: Desktop)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">When executing step 'Make'</span><!--EndFragment--></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;"><br></span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#aa0000;">-Josh</span></p></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br><span style="font-weight:bold">Date: </span> Wednesday, November 7, 2012 1:59 PM<br><span style="font-weight:bold">To: </span> Joshua Murphy &lt;<a href="mailto:Joshua.Murphy@lasp.colorado.edu">Joshua.Murphy@lasp.colorado.edu</a>&gt;<br><span style="font-weight:bold">Cc: </span> &quot;<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>&quot; &lt;<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [Paraview-developers] how do I link library to my reader plugin?<br></div><div><br></div><div><div>
Can you post the error that you are seeing now? Thanks.
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 2:58 PM, Joshua Murphy <span dir="ltr">
&lt;<a href="mailto:Joshua.Murphy@lasp.colorado.edu" target="_blank">Joshua.Murphy@lasp.colorado.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>I have figured out the vtkRenderingMatplotlib linking problem, but still cannot seem to link my own library correctly…</div><div><br></div><div>-Josh</div><div><br></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none"><span style="font-weight:bold">From: </span>Joshua Murphy &lt;<a href="mailto:Joshua.Murphy@lasp.colorado.edu" target="_blank">Joshua.Murphy@lasp.colorado.edu</a>&gt;<br><span style="font-weight:bold">Date: </span>Wednesday, November 7, 2012 1:43 PM<br><span style="font-weight:bold">To: </span>&quot;<a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a>&quot; &lt;<a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a>&gt;<br><span style="font-weight:bold">Subject: </span>[Paraview-developers] how do I link library to my reader plugin?<br></div><div><div class="h5"><div><br></div><div><div style="word-wrap:break-word"><div style="font-size:14px;font-family:Calibri,sans-serif">Hello,</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">I have a quick question, that I hope someone can answer quickly.</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">I am trying to add the NASA cxform library to my reader (ParaView 3.98 RC1) so I can do some transformation, but I can running into some problems.</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">I have the following CMake files:</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">Project:</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div><div><font face="Calibri,sans-serif">CMAKE_MINIMUM_REQUIRED(VERSION 2.6)</font></div><div><font face="Calibri,sans-serif">PROJECT(&quot;Enlil Reader 2.0.1&quot;)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">#SET(ParaView_DIR /Users/sysop/Developer/pv/build)</font></div><div><font face="Calibri,sans-serif">SET(ParaView_DIR /Volumes/Data/Development/ParaView-src/git-version/build-2Nov12)</font></div><div><font face="Calibri,sans-serif">#SET(ParaView_DIR /Volumes/Data/Development/ParaView/git-clean/build-13595/)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; set(CMAKE_CXX_FLAGS &quot;-O3&quot;) &nbsp; &nbsp; &nbsp; &nbsp;## Optimize</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; set(CMAKE_EXE_LINKER_FLAGS &quot;-s&quot;) &nbsp;## Strip binary</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">FIND_PACKAGE(ParaView REQUIRED)</font></div><div><font face="Calibri,sans-serif">INCLUDE(${PARAVIEW_USE_FILE})</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">ADD_SUBDIRECTORY(cxform-0.71)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">Find_Library(cxform REQUIRED)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">include_directories(cxform-0.71)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">Add_Executable(cxtest cxform-0.71/main.c)</font></div><div><font face="Calibri,sans-serif">target_link_libraries(cxtest cxform)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">ADD_PARAVIEW_PLUGIN(vtkEnlilReader &quot;2.0.1&quot;</font></div><div><font face="Calibri,sans-serif">&nbsp; SERVER_MANAGER_XML vtkEnlilReader.xml</font></div><div><font face="Calibri,sans-serif">&nbsp; SERVER_MANAGER_SOURCES vtkEnlilReader.cxx</font></div><div><font face="Calibri,sans-serif">&nbsp; SOURCES DateTime.C</font></div><div><font face="Calibri,sans-serif">&nbsp; GUI_RESOURCE_FILES vtkEnlilGUI.xml)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">SET(KIT_LIBS cxform vtkNetCDF_cxx)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">Target_LINK_LIBRARIES(vtkEnlilReader ${ParaView_LIBRARIES} ${KIT_LIBS})</font></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div></div><div style="font-size:14px;font-family:Calibri,sans-serif">================================================================</div><div style="font-size:14px;font-family:Calibri,sans-serif">And my Library CMAKE file:</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div><div><font face="Calibri,sans-serif">CMAKE_MINIMUM_REQUIRED(VERSION 2.6)</font></div><div><font face="Calibri,sans-serif">PROJECT(&quot;CXForm - Enlil&quot;)</font></div><div><font face="Calibri,sans-serif"><br></font></div><div><font face="Calibri,sans-serif">add_library(</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cxform</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STATIC</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cxform-auto.c</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cxform-manual.c</font></div><div><font face="Calibri,sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )</font></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">================================================================</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">My test executable links fine,and runs fine, but the plugin gives me the following error:</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#0000aa">12:38:31: Running steps for project Enlil Reader 2.0.1...</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#0000aa">12:38:31: Starting: &quot;/usr/bin/make&quot; </span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">-- Configuring done</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">-- Generating done</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">-- Build files have been written to: /Volumes/Data/Development/vtkPlugins/PV4-201-build</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">[ 11%] Built target cxform</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">[ 17%] Built target cxtest</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">[ 23%] Generating qrc_vtkEnlilReader.cxx</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">Scanning dependencies of target vtkEnlilReader</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">[ 29%] Building CXX object CMakeFiles/vtkEnlilReader.dir/qrc_vtkEnlilReader.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="">Linking CXX shared library libvtkEnlilReader.dylib</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">Undefined symbols for architecture x86_64:</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">&quot;gregorian_calendar_to_jd(int, int, int, int, int, int)&quot;, referenced from:</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">vtkEnlilReader::calculateArtifacts() in vtkEnlilReader.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">&quot;date2es(int, int, int, int, int, int)&quot;, referenced from:</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">vtkEnlilReader::calculateArtifacts() in vtkEnlilReader.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">&quot;vtkRenderingMatplotlib_AutoInit_Construct()&quot;, referenced from:</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">global constructors keyed to _Z38vtkEnlilReadervtkEnlilReaderInterfacesvin vtkEnlilReader_Plugin.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">global constructors keyed to _ZN21vtkEnlilReader_Plugin18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPvin moc_vtkEnlilReader_Plugin.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">&quot;vtkRenderingMatplotlib_AutoInit_Destruct()&quot;, referenced from:</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">___tcf_7 in vtkEnlilReader_Plugin.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">___tcf_5 in moc_vtkEnlilReader_Plugin.cxx.o</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">ld: symbol(s) not found for architecture x86_64</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">collect2: ld returned 1 exit status</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">make[2]: *** [libvtkEnlilReader.dylib] Error 1</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">make[1]: *** [CMakeFiles/vtkEnlilReader.dir/all] Error 2</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">make: *** [all] Error 2</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-weight:600;color:#aa0000">12:38:32: The process &quot;/usr/bin/make&quot; exited with code 2.</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">Error while building/deploying project Enlil Reader 2.0.1 (target: Desktop)</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#aa0000">When executing step 'Make'</span></p></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">Can someone tell me how to properly link to my library?</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif">Thanks,</div><div style="font-size:14px;font-family:Calibri,sans-serif">Josh</div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><div><div><div><img src="cid:DD991949-2449-49DA-97DD-0219C5774392" type="image/png"></div></div><div>Joshua J. Murphy</div><div>Computer Scientist</div><div>Laboratory for Atmospheric and Space Physics</div><div>University of Colorado, Boulder</div><div><br></div></div></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><br></div></div></div></div></div></span></div><br>
_______________________________________________<br>
Paraview-developers mailing list<br><a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br><a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br><br></blockquote></div><br></div></div></div></span></body></html>