<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); ">Given that my configuration for static/dynamic builds of the plugin is the same, </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); ">how is it possible that the plugin </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); ">builds </span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" color="#363534" face="Verdana, &#39;DejaVu Sans&#39;, Geneva, sans-serif"><span class="Apple-style-span" style="font-size: 12px; line-height: 11px;">successfully as a </span></font></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); ">static lib, </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); ">whereas it fails as a shared lib? </span><br clear="all">

<div dir="ltr"><div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt"><font color="#660000" face="garamond, serif"><span style="font-size:13px"><span style="font-size:small">Nikos Yiotis | </span>Graphics Software Engineer | +44 (0) 7541 875124 | </span><span style="line-height:15px"><a href="http://uk.linkedin.com/in/yiotis" target="_blank">linkedin</a></span></font></div>

<div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt"><span style="font-family:arial;font-size:small"><div dir="ltr"></div></span><div dir="ltr"><div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt">

<br><br><span style="font-family:arial;font-size:small"></span></div></div></div></div><br>
<br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 5:23 PM, nikos yiotis <span dir="ltr">&lt;<a href="mailto:nikos.yiotis@gmail.com">nikos.yiotis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

thanks Mike, i compile everything though<br clear="all"><font color="#888888"><div dir="ltr"><div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt"><font color="#660000" face="garamond, serif"><span style="font-size:13px"><span style="font-size:small">Nikos Yiotis | </span>Graphics Software Engineer | <a href="tel:%2B44%20%280%29%207541%20875124" value="+447541875124" target="_blank">+44 (0) 7541 875124</a> | </span><span style="line-height:15px"><a href="http://uk.linkedin.com/in/yiotis" target="_blank">linkedin</a></span></font></div>


<div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt"><span style="font-family:arial;font-size:small"><div dir="ltr"></div></span><div dir="ltr"><div style="padding-top:10px;padding-right:0pt;padding-bottom:5px;padding-left:0pt">


<br><br><span style="font-family:arial;font-size:small"></span></div></div></div></div></font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 5:14 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


It looks like from the initial linker error that some function is NOT included in the 64 bit compile of ParaView? Are you compiling everything or using your own versions of libZ?<br>
___________________________________________________________<br>
Mike Jackson                    Principal Software Engineer<br>
BlueQuartz Software                            Dayton, Ohio<br>
<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>              <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
<div><div></div><div><br>
On Oct 5, 2011, at 12:05 PM, nikos yiotis wrote:<br>
<br>
&gt; I switched to a .pro file and qmake for building the plugin.<br>
&gt;<br>
&gt; qmake -project outputs a src_qmake.pbproj file that i rename to src_qmake.xcodeproj.<br>
&gt;<br>
&gt; I cannot launch src_qmake.xcodeproj, it complains about incompatible project version.<br>
&gt;<br>
&gt; any mac PV users/developers out there? thanks<br>
&gt; N<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Oct 4, 2011 at 10:45 PM, nikos yiotis &lt;<a href="mailto:nikos.yiotis@gmail.com" target="_blank">nikos.yiotis@gmail.com</a>&gt; wrote:<br>
&gt; My plugin builds OK if i choose a static library, but of course i cannot load it into PV.<br>
&gt; Can anyone decipher the message below when i choose to build a shared lib, that is *.dylib?<br>
&gt; Thanks<br>
&gt;<br>
&gt; Paraview 3.10.1 using Qt 4.7.4 on Mac OS OX 10.6.8 | gcc 4.2.1 | CMake 2.8-2<br>
&gt;<br>
&gt; Linking CXX shared library libZ.dylib<br>
&gt; Undefined symbols for architecture x86_64:<br>
&gt;   &quot;typeinfo for pqPVAnimationWidget&quot;, referenced from:<br>
&gt;       pqZ::GetTimeSteps()       in pqZ.cpp.o<br>
&gt; ld: symbol(s) not found for architecture x86_64<br>
&gt;<br>
&gt; N<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Oct 4, 2011 at 12:41 PM, nikos yiotis &lt;<a href="mailto:nikos.yiotis@gmail.com" target="_blank">nikos.yiotis@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; 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).<br>



&gt;<br>
&gt; I ‘ve included /Developer/Tools/Qt to my PATH for Qt/Paraview binaries and included the libraries i need in LD_LIBRARY_PATH | DYLD_LIBRARY_PATH (LIBRARY_PATH is<br>
&gt; blank, not sure if i have to care about this). While trying to link the plug-in with a makefile i get:<br>
&gt;<br>
&gt; Linking CXX shared library libZeo.dylib<br>
&gt; Undefined symbols for architecture x86_64: “typeinfo for pqPVAnimationWidget”, referenced from: pqZeo::GetTimeSteps() in pqZeo.cpp.o<br>
&gt; ld: symbol(s) not found for architecture x86_64<br>
&gt;<br>
&gt; Now, pqPVAnimationWidget is related to ParaView, but i believe that<br>
&gt; QList&lt;double&gt; pqZeo::GetTimeSteps() {…}<br>
&gt; makes it relevant to mention the issue here.<br>
&gt;<br>
&gt; The first idea (although irrelevant i am afraid) is to configure the CMakeCache file<br>
&gt;<br>
&gt; //Build architectures for OSX<br>
&gt; CMAKE_OSX_ARCHITECTURES:STRING=x86_64<br>
&gt;<br>
&gt; I switched to Qt 4.7.4, qmake query outputs:<br>
&gt;<br>
&gt; QT_INSTALL_PREFIX:/<br>
&gt; QT_INSTALL_DATA:/usr/local/Qt4.7<br>
&gt; QT_INSTALL_DOCS:/Developer/Documentation/Qt<br>
&gt; QT_INSTALL_HEADERS:/usr/include<br>
&gt; QT_INSTALL_LIBS:/Library/Frameworks<br>
&gt; QT_INSTALL_BINS:/Developer/Tools/Qt<br>
&gt; QT_INSTALL_PLUGINS:/Developer/Applications/Qt/plugins<br>
&gt; QT_INSTALL_IMPORTS:/Developer/Applications/Qt/imports<br>
&gt; QT_INSTALL_TRANSLATIONS:/Developer/Applications/Qt/translations<br>
&gt; QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt<br>
&gt; QT_INSTALL_EXAMPLES:/Developer/Examples/Qt/<br>
&gt; QT_INSTALL_DEMOS:/Developer/Examples/Qt/Demos<br>
&gt; QMAKE_MKSPECS:/usr/local/Qt4.7/mkspecs<br>
&gt; QMAKE_VERSION:2.01a<br>
&gt; QT_VERSION:4.7.4<br>
&gt;<br>
&gt; I don&#39;t think there is sth wrong with my Qt installation.<br>
&gt;       • 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)<br>



&gt;<br>
&gt; Linking CXX shared library libZ.dylib<br>
&gt; Undefined symbols for architecture x86_64:<br>
&gt;   &quot;typeinfo for pqPVAnimationWidget&quot;, referenced from:<br>
&gt;       pqZ::GetTimeSteps()       in pqZ.cpp.o<br>
&gt; ld: symbol(s) not found for architecture x86_64<br>
&gt;<br>
&gt;       • 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:<br>
&gt; 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.<br>
&gt;<br>
&gt; CMake Error at CMake/ParaViewDetermineVersion.cmake:68 (message):<br>
&gt;   Failed to determine source version correctly.<br>
&gt; Call Stack (most recent call first):<br>
&gt;   CMakeLists.txt:70 (determine_version)<br>
&gt;<br>
&gt; If i manually configure the CMakeLists.txt (which is a bad idea) the procedure hangs to CMakeLists.txt:70 (determine_version) again.<br>
&gt;<br>
&gt;       • 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,<br>
&gt; it builds only a few dylibs and *not* ParaView.app. When i run it it hangs to the tests below that i successfully pass<br>
&gt; (  0. TestArraySerialization<br>
&gt;<br>
&gt;   1. TestArrayDenormalized )<br>
&gt;<br>
&gt; Has anyone successfully built PV (3.10.1 or RC or the git version) and her own plugins with Xcode 4.0?<br>
&gt;<br>
&gt; Let me know if you have any hints, cheers<br>
&gt;<br>
&gt;<br>
&gt; N<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>