<span style="color:rgb(54, 53, 52);font-family:Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif;font-size:13px;line-height:11px;background-color:rgb(255, 255, 255)"><p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">


Hi,</p><p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">i am working on a Paraview Plugin that adds a new Qt progress bar type to the standard ParaView toolbar. I try to build the plugin as a stand-alone, that is the plugin is not included in Paraview build but out of source. Note that the plugin builds and works fine on linux x86_64 (load/unload at runtime).</p>

<p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">
I ‘ve included /Developer/Tools/Qt to my <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">PATH</span> for Qt/Paraview binaries and included the libraries i need in LD_LIBRARY_PATH | <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">DYLD</span>_LIBRARY_PATH (<span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">LIBRARY</span>_PATH is <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">


blank, not sure if i have to care about this). While trying to link the plug-in with a makefile i get:</p><p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">


Linking <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">CXX</span> shared library libZeo.dylib<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">


Undefined symbols for architecture x86_64: “typeinfo for pqPVAnimationWidget”, referenced from: pqZeo::GetTimeSteps() in pqZeo.cpp.o<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">


ld: symbol(s) not found for architecture x86_64</p><p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">


Now, pqPVAnimationWidget is related to ParaView, but i believe that <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
QList&lt;double&gt; pqZeo::GetTimeSteps() {…}<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">makes it relevant to mention the issue here.</p>


<p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">The first idea (although irrelevant i am afraid) is to configure the CMakeCache file</p>


<p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">//Build architectures for <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">OSX</span><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">


<span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">CMAKE</span>_OSX_ARCHITECTURES:STRING=x86_64</p><p style="margin-top:5px;margin-right:0px;margin-bottom:10px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:10px;padding-left:0px;font-size:12px;word-wrap:break-word">


I switched to Qt 4.7.4, qmake query outputs:</p></span><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><div>QT_INSTALL_PREFIX:/</div>

<div>QT_INSTALL_DATA:/usr/local/Qt4.7</div><div>QT_INSTALL_DOCS:/Developer/Documentation/Qt</div><div>QT_INSTALL_HEADERS:/usr/include</div><div>QT_INSTALL_LIBS:/Library/Frameworks</div><div>QT_INSTALL_BINS:/Developer/Tools/Qt</div>

<div>QT_INSTALL_PLUGINS:/Developer/Applications/Qt/plugins</div><div>QT_INSTALL_IMPORTS:/Developer/Applications/Qt/imports</div><div>QT_INSTALL_TRANSLATIONS:/Developer/Applications/Qt/translations</div><div>QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt</div>

<div>QT_INSTALL_EXAMPLES:/Developer/Examples/Qt/</div><div>QT_INSTALL_DEMOS:/Developer/Examples/Qt/Demos</div><div>QMAKE_MKSPECS:/usr/local/Qt4.7/mkspecs</div><div>QMAKE_VERSION:2.01a</div><div>QT_VERSION:4.7.4</div></div>

<div><br></div></span><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">I don&#39;t think there is sth wrong with my Qt installation.</span><br>

</span><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><ul><li style="margin-left: 15px; ">I can only build Paraview 3.10.1 and my plug-in with Xcode 4.0 (instead of makefiles i used before) only if i leave BUILT_SHARED_LIBS off, which is of no practical merit since the plugin is static (*.a) and cannot be loaded to Paraview. When i switch BUILT_SHARED_LIBS to on though, i get the exact same message i was getting before (failure while linking)</li>

</ul><div><br></div><div><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><i>Linking CXX shared library libZ.dylib</i></div><div><i>Undefined symbols for architecture x86_64:</i></div>

<div><i>  &quot;typeinfo for pqPVAnimationWidget&quot;, referenced from:</i></div><div><i>      pqZ::GetTimeSteps()       in pqZ.cpp.o</i></div><div><i>ld: symbol(s) not found for architecture x86_64</i></div><div><i><br>

</i></div></span></div><div><div><ul><li style="margin-left: 15px; ">When I am trying to build the Paraview 3.12.0-RC2 version, i cannot even build the ParaView.xcodeproj. Cmake GUI 2.8-2 gives me: </li></ul></div><div><div>

Could NOT find /Users/nikos/Documents/codin_SRC/test/paraview/Paraview_3.12.0/ParaView-3.12.0-RC2/CMake/.paraview.version which is mandatory if Git is not found either.</div><div><br></div><div>CMake Error at CMake/ParaViewDetermineVersion.cmake:68 (message):</div>

<div>  Failed to determine source version correctly.</div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:70 (determine_version)</div></div><div><br>If i manually configure the CMakeLists.txt (which is a bad idea) the procedure hangs to CMakeLists.txt:70 (determine_version) again.</div>

<div><br></div></div></div></span><div><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><div><div><ul><li style="margin-left: 15px; ">

When I am trying to build the git version on Xcode, leaving aside the vtk warnings like in tif_unix,c &quot;cast to pointer from integer of different size, </li></ul>it builds only a few dylibs and *not* ParaView.app. When i run it it hangs to the tests below that i successfully pass </div>

</div></div></span><span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><div><div><p>(  0. TestArraySerialization</p>
<p>
  1. TestArrayDenormalized )</p><p>Has anyone successfully built PV (3.10.1 or RC or the git version) and her own plugins with Xcode 4.0?<br></p></div></div></div></span><span class="Apple-style-span" style="color: rgb(54, 53, 52); font-family: Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif; font-size: 12px; line-height: 11px; background-color: rgb(255, 255, 255); ">Let me know if you have any hints, cheers</span>
</div><div><span class="Apple-style-span" style="color: rgb(54, 53, 52); font-family: Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif; font-size: 12px; line-height: 11px; background-color: rgb(255, 255, 255); "><br></span></div>

<div><span class="Apple-style-span" style="color: rgb(54, 53, 52); font-family: Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif; font-size: 12px; line-height: 11px; background-color: rgb(255, 255, 255); "><br></span></div>

<div><span class="Apple-style-span" style="color: rgb(54, 53, 52); font-family: Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif; font-size: 12px; line-height: 11px; background-color: rgb(255, 255, 255); ">N</span></div>