<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">First of all, your English looks pretty
good!<br>
<br>
OK, let's see if I can address all of the issues:<br>
<ol>
<li>Make sure you downloaded the 3 files that were needed for
installing Qt 4.8.2, namely the file
"qt-win64-opensource-4.8.2-vs2008.exe" and the two associated
"*.bin" files. The 3 files should be placed in the same folder
before running the installer.<br>
</li>
<li>In CMake, define the variable "QT_MAKE_EXECUTABLE" to use
the path "C:/Qt/4.8.2_x64/bin/qmake.exe" (adjust accordingly
if necessary) and then click on "Configure" once again.
Hopefully it will now pick up everything related to Qt.</li>
<ol>
<li>Mmm... still regarding this point, if you in fact gave the
correct path, it might not work properly if the Qt
installation is somehow incomplete. This happened to me when
I tried to configure the project with CMake, while I was
still midway of the installation of Qt.</li>
<li>Furthermore, there was a detail I forgot to write on the
wiki page, but when using MSVC 2008 Express, by default it
does not provide the ability to compile 64-bit applications.
Instructions on how to do so can be found online, for
example here:
<a class="moz-txt-link-freetext" href="https://github.com/enGits/engrid/wiki/Configure-Microsoft-Visual-Studio-2008-Express-to-also-build-for-Windows-x64">https://github.com/enGits/engrid/wiki/Configure-Microsoft-Visual-Studio-2008-Express-to-also-build-for-Windows-x64</a></li>
<li>And there is yet another import detail: when you configure
the project in CMake's GUI for the first time, it asks you
which compiler to use. Make sure you pick "Visual Studio 9
2008 Win64". If you pick the standard non-Win64, it's
natural that the 64-bit "qmake.exe" is incompatible with the
32-bit Visual Studio build options.<br>
</li>
</ol>
<li>Regarding the files you've provided in attachment:</li>
<ol>
<li>The XML looks OK. I only have some experience with
creating these types of XML file, so I'm not yet able to
point out any major flaws without looking into ParaView's
own XML filter/reader files. The complete XML file I'm
referring to is in the folder
"ParaViewCore\ServerManager\SMApplication\Resources" in
ParaView's source code.</li>
<li>The "CMakeLists.txt" looks OK as well, but again, I don't
have enough experience on this. Only by trial and error
would I be able to see if your file is working properly.</li>
<li>I suggest that you first try building the plug-in
"vtkPOFFReader", just to confirm if you have a working
building environment. This way it'll be easier to isolate
the origin of any problems.<br>
</li>
</ol>
<li>"I have Visual C++ Express 2008 on my computer so is it
normal to get this message ?"<b><i><br>
</i></b>
<ul>
<li>Yes, it's normal. It happens to me as well and it works
without any problems.</li>
</ul>
</li>
<li>Due to how ParaView was built in this case, I think it's
best to use Qt 4.8.2 (namely with the respective
architecture), just in case. I say this because there are a
lot of library dependencies that are automatically configured
and it might get a bit complicated to push aside the existing
dependencies on Qt.<br>
</li>
</ol>
I hope I didn't miss anything.<br>
<br>
Best regards,<br>
Bruno<br>
<br>
On 11-08-2014 17:01, Jérémy Santina wrote:<br>
</div>
<blockquote
cite="mid:CAAPOYrH1dSqyJsmhJwi35=4wWMijno7nBQt4Zb6aeBx5j7WYtQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><span></span><span></span>
<div>Thank you very much for your answer.<br>
<br>
I am sorry for my awful English and I hope you'll
understand what I am writing.<br>
<br>
</div>
<div>I read the email you sent and I tried to build my
reader following the instructions provided here : <a
moz-do-not-send="true"
href="https://code.google.com/p/unofficial-paraview-dev-install/wiki/vtkPOFFReaderBuilds"
target="_blank">https://code.google.com/p/unofficial-paraview-dev-install/wiki/vtkPOFFReaderBuilds</a><br>
<br>
</div>
<div>First of all, I downloaded this archive : <a
moz-do-not-send="true"
href="http://sourceforge.net/projects/bluecfd-sc/files/unofficial-paraview-dev-install/ParaView-4.1.0/ParaView-4.1.0-win64-complete_dev-r2.exe/download"
rel="nofollow" target="_blank">ParaView-4.1.0-win64-complete_dev-r2.exe</a>
Then I installed Qt 4.8.2 from here : <a
moz-do-not-send="true"
href="https://code.google.com/p/qt-msvc-installer/"
target="_blank">https://code.google.com/p/qt-msvc-installer/</a>.
Finally when I am trying to configure my reader with the
CMake GUI, the QT_MAKE_EXECUTABLE can't be found even if I
select qmake.exe directly from the path.<br>
<br>
</div>
In fact I am a beginner and I don't really know how to use
CMake. I modified the CMakeLists.txt that I found here : <a
moz-do-not-send="true"
href="http://sourceforge.net/p/of-interfaces/code/HEAD/tree/trunk/vtkPOFFReader/">http://sourceforge.net/p/of-interfaces/code/HEAD/tree/trunk/vtkPOFFReader/</a>
but I am not sure about what I wrote. My CMakeLists file is
joined with this message.<br>
<br>
</div>
<div>Besides, I noticed that when I am executing <i>qt-win64-opensource-4.8.2-vs2008.exe,
</i>a dialog box with the following message is opened :<br>
<br>
</div>
<div><i>A installation of Visual Studio 2008 was not found in
the registry , guessing path...</i><br>
</div>
<div><br>
</div>
<div>In spite of that, the installation seems to work
perfectly fine but : I have Visual C++ Express 2008 on my
computer so is it normal to get this message ?<br>
</div>
<div><br>
To finish, I would like to ask you one last question :<br>
</div>
Given I didn't develop any GUI feature for my reader, do I
still need QT ?<br>
<br>
</div>
<div>I thank you again for your help.<br>
<br>
</div>
<div>Jérémy<br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
2014-08-08 18:49 GMT+02:00 Bruno Santos <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bruno.santos@bluecape.com.pt" target="_blank">bruno.santos@bluecape.com.pt</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Greetings Jérémy,<br>
<br>
If you had provided the XML file, it would have been a
bit easier to diagnose this ourselves.<br>
Nonetheless, it seems to me that the issue is that the
class/library "vtkPTecplotBinaryReader" is simply not
loadable. A bit of searching online and in ParaView's
source code leads me to believe that only the class
"vtkTecplotReader" is available for loading through an
XML only plug-in.<br>
<br>
If the class "vtkPTecplotBinaryReader" is a custom
library you've built/created from source code, then have
a look at a recent email I sent to this very same
mailing list: <a moz-do-not-send="true"
href="http://public.kitware.com/pipermail/paraview/2014-August/031817.html"
target="_blank">http://public.kitware.com/pipermail/paraview/2014-August/031817.html</a><br>
<br>
Best regards,<br>
Bruno
<div>
<div class="h5"><br>
<br>
On 05-08-2014 15:48, Jérémy Santina wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
I have written my own reader for ParaView and
I am facing with some issues. <br>
<br>
My version of ParaView is 4.1 for Windows-64
bit and I didn't build it from sources.<br>
<br>
</div>
<div>As the <a moz-do-not-send="true"
href="http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader"
target="_blank">wiki</a> describes, I wrote
a Server Manager XML file.<br>
</div>
<div>Then I set the environment flag
PV_PLUGIN_DEBUG.</div>
<br>
Everything seems to work fine when I load the
reader with Plugin Manager as the output
messages dialog box indicates :<br>
<br>
<span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">***************************************************</span>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">Attempting
to load
C:\Users\Windows\Documents\Travail\ParaviewProject\VTKReaders\Plugin\TecplotBinaryReader.xml</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">Loading
XML plugin</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">Plugin
instance located successfully. Now loading
components from the plugin instance based on
the interfaces it implements.</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">----------------------------------------------------------------</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">Plugin
Information: </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
Name : </span><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">TecplotBinaryReader</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
Version : 1.0</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
ReqOnServer : 1</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
ReqOnClient : 0</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
ReqPlugins : </span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
ServerManager Plugin : Yes</span></p>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(0,128,0)">
Python Plugin : No</span></p>
<br>
</div>
But when I try to open a file, ParaView crashes
and I get the following error message :<br>
<br>
<span
style="font-family:'Courier';font-size:7.8pt;color:rgb(128,0,0)">ERROR:
In
C:\DBD\pvs-x64\paraview\src\paraview\ParaViewCore\ServerImplementation\Core\vtkSIProxy.cxx,
line 307</span>
<p style="margin:0px;text-indent:0px"><span
style="font-family:'Courier';font-size:7.8pt;color:rgb(128,0,0)">vtkSISourceProxy
(000000000B340ED0): Failed to create
vtkPTecplotBinaryReader. Aborting for
debugging purposes.</span></p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">What am I
doing wrong ?</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">Thanks in
advance for your help.</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px">Jérémy<br>
</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px"><br>
</p>
<p style="margin:0px;text-indent:0px"> <span
style="font-family:'Courier';font-size:7.8pt;color:rgb(128,0,0)"></span></p>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>