<html><head></head><body bgcolor="#FFFFFF"><div>Excellent! The patch should be merged soon.</div><div><br></div><div>Cheers<br><br>Joachim</div><div><br>Le 25 mars 2013 à 12:47, Carlos <<a href="mailto:ves@calculoandamios.com">ves@calculoandamios.com</a>> a écrit :<br>
<br></div><div></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de globo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ES;}
span.EstiloCorreo20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloCorreo21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloCorreo22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you for your help</span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have successfully compiled and running some of the test in Visual Studio 2010 using CMake</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have needed to add some small hardcode modifications to include glew, freeglut and compile against VTK 5.8 that is the version I’m using it but now everything is fine.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">An small step for VES but a big one for me </span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Carlos</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joachim Pouderoux [mailto:<a href="mailto:joachim.pouderoux@kitware.com">joachim.pouderoux@kitware.com</a>] <br>
<b>Enviado el:</b> domingo, 24 de marzo de 2013 12:00<br><b>Para:</b> Carlos<br><b>CC:</b> Pat Marion; <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br><b>Asunto:</b> Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak</span></p>
</div></div><p class="MsoNormal"> </p><div><p class="MsoNormal">Carlos,</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">The branch is on the stage repo, here: <a href="http://vtk.org/gitweb?p=stage/VES.git;a=shortlog;h=refs/heads/fix-windows-host-build">http://vtk.org/gitweb?p=stage/VES.git;a=shortlog;h=refs/heads/fix-windows-host-build</a></p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Good luck!<br><br>Joachim</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>Le 23 mars 2013 à 21:19, Carlos <<a href="mailto:ves@calculoandamios.com">ves@calculoandamios.com</a>> a écrit :</p>
</div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Joachim,</span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I think you are right and I’m not using the proper patch for these errors. I have not found any reference in the downloaded code to the glew.h include.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I downloaded the versionVES-f958731 that is in the master branch that it is related with “Fix VTK host compilation on windows.”, not VES and created by you on 2013/03/05. This modification was added to the master branch by Pat the following day and I assumed that it was the right one. I reach to this snapshot through the link to github in the Kiwiviewer page</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://vtk.org/gitweb?p=VES.git;a=commit;h=f95873101e94e44560c019722c095d065c3e07cc">http://vtk.org/gitweb?p=VES.git;a=commit;h=f95873101e94e44560c019722c095d065c3e07cc</a></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This patch has a modification on the ves-superbuild.cmake</span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">My problem is that I’m not able to find the branch you mention. In the link from the <a href="http://kiwiviewer.org">kiwiviewer.org</a> page I only can find three branches (master / next /hooks).  Could you please give some hints how to find this branch?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Carlos</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joachim Pouderoux [mailto:<a href="mailto:joachim.pouderoux@kitware.com">joachim.pouderoux@kitware.com</a>] <br>
<b>Enviado el:</b> viernes, 22 de marzo de 2013 23:20<br><b>Para:</b> Carlos<br><b>CC:</b> Pat Marion; <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br><b>Asunto:</b> Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak</span></p>
</div></div><p class="MsoNormal"> </p><div><p class="MsoNormal">Carlos,</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">It seems like you are not working one the branch I mention. Type 'git status' in the VES directory to check this. My patch requires glew and fixes the error you mention...<br>
<br>Joachim</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>Le 22 mars 2013 à 16:19, Carlos <<a href="mailto:ves@calculoandamios.com">ves@calculoandamios.com</a>> a écrit :</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I just set the GLUT variable in the ves-host Cmakecache.txt so this problem is already overpassed.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">No when I open the VES.Sln in  the suggested folder and try to build the projects, there are a bunch of other problems that appears (more than 800 for the Ves project). Most of them are related to the gl.h header and are:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error      27           error C2086: 'int APIENTRY' : redefinition             c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL\gl.h 1155      1             ves</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error      108         error C2086: 'int WINGDIAPI' : redefinition         c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL\gl.h 1167      1             ves</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">After a google search, it seems that these can be solved adding </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:green">#include <windows.h></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">in vesgl.h before calling gl/gl.h.</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">At this point, the error number is reduced to 49 with three main types:</span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error      29           error C1083: Cannot open include file: 'tr1/memory': No such file or directory                c:\users\carlos\ves_windows\ves-4a31e6c\src\ves\vesSharedPtr.h    25           1             ves</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error      17           error C1083: Cannot open include file: 'GL/glext.h': No such file or directory                c:\users\carlos\ves_windows\ves-4a31e6c\src\ves\vesGL.h   32           1             ves</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error      14           error C2719: 'matrix': formal parameter with __declspec(align('16')) won't be aligned                C:\Users\Carlos\VES_windows\VES-4a31e6c\src\ves\vesEigen.cpp     97           1             ves</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Glext.h can be downloaded from <a href="http://www.opengl.org">www.opengl.org</a>, but I do not know how to fix the other two errors. </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In vestesthelper.h in line 35 there is this sentence: </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">#ifdef</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas"> FREEGLUT. </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas">CMake does not stablish this definition in the project so at the moment the project does not use gl/freeglut.h. I have tried to set this variable but the errors are maintained.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">As far as I know, the tr1/memory include can be found in the Android ndk package, that is supposed not included in the windows version and I can found it on the branch downloaded. </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Joachim in a previous post has stated that also the </span><span lang="EN-US">glew library is needed for compiling in windows but until now I do not see any reference to it. </span></p>
<p class="MsoNormal"><span lang="EN-US">I do not understand either the other error in vesEigen.cpp. It could be related with the warning from Joachim as I use Visual Studio 2010 instead as 2012.</span></p><p class="MsoNormal">
<span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Any help will be appreciate.</span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Carlos</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">                </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Pat Marion [mailto:<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>] <br>
<b>Enviado el:</b> viernes, 22 de marzo de 2013 13:32<br><b>Para:</b> Carlos<br><b>CC:</b> Joachim Pouderoux; <a href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br><b>Asunto:</b> Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak</span></p>
<p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt">VES uses a superbuild.  From the build directory, you should edit:  CMakeExternals/Build/ves-host/CMakeCache.txt and set the variables for GLUT there.  You can stop using the top level visual studio sln file, instead use the sln file in CMakeExternals/Build/ves-host in order to see the ves targets.<br>
<br>We can fix our cmake scripts so that you can pass the GLUT library variables at the top level so you can avoid your issue in the future.<br><br>Pat</p><div><p class="MsoNormal">On Fri, Mar 22, 2013 at 10:24 PM, Carlos <<a href="mailto:ves@calculoandamios.com" target="_blank">ves@calculoandamios.com</a>> wrote:</p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you for your guiding.</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have downloaded the fix-windows-host-build tree and perform the following steps:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">1.</span><span lang="EN-US" style="font-size:7.0pt;color:#1f497d">       </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Use CMake to create a Visual Studio 2010 project. It works well and it creates a solution without any error. (I have selected the VES_Host_Superbuild option).</span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2.</span><span lang="EN-US" style="font-size:7.0pt;color:#1f497d">       </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Open the .sln project and try to compile the three projects created (eigen,  vtk-host and ves-host).</span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">3.</span><span lang="EN-US" style="font-size:7.0pt;color:#1f497d">       </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In this step the first problem is that the eigen .gz file can not be downloaded. Visual studio creates the 3.1.2.tar.gz file with 0 kb. As in the output window appears the link to the compressed file it can be downloaded and after rename it the process can continue.</span></p>
<p><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">4.</span><span lang="EN-US" style="font-size:7.0pt;color:#1f497d">       </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Then, the output window gives a message saying that Doxigen is not found. Just to be sure that the problem I have installed doxygen and after create again the solution with CMake this error disappears.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Now the problem is that the compiler is asking for the freeglut library. I have downloaded binaries for this library but I do not know how to set the </span><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">GLUT_glut_LIBRARY (ADVANCED)</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> variable to point to freeglut.lib. I have made a try modifying the CMakeCache.txt including the line:</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">GLUT_glut_LIBRARY:STATIC=C:/Users/Carlos/VES_windows/VES-4a31e6c/freeglut/lib/freeglut.lib</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But the error still persists. </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I must mention that CMake does not ask for this variable during the configure stage.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">When I try to build eigen and vtk-host, the result is successful but I’m thinking that this message related to the downloading / configuration process of the project but not for the compile itself as I have not found any library and the time needed is quit short.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The messages when I try to build ves-host are the following:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US"> </span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">2>------ Build started: Project: eigen, Configuration: Debug Win32 ------</span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">3>------ Build started: Project: vtk-host, Configuration: Debug Win32 ------</span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">3>  Performing update step (git fetch) for 'vtk-host'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>------ Build started: Project: ves-host, Configuration: Debug Win32 ------</span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  Creating directories for 'ves-host'</span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  Building Custom Rule C:/Users/Carlos/VES_windows/VES-4a31e6c/CMakeLists.txt</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  CMake does not need to re-run because C:\Users\Carlos\VES_windows\VES-4a31e6c\build\CMakeFiles\generate.stamp is up-to-date.</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  No download step for 'ves-host'</span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  No update step for 'ves-host'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  No patch step for 'ves-host'</span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  Performing configure step for 'ves-host'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  -- Eigen found (include: C:/Users/Carlos/VES_windows/VES-4a31e6c/build/CMakeExternals/Install/eigen)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  -- Configuring incomplete, errors occurred!</span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>CUSTOMBUILD : CMake error : The following variables are used in this project, but they are set to NOTFOUND.</span></p><p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  Please set them or make sure they are set and tested correctly in the CMake files:</span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  GLUT_glut_LIBRARY (ADVANCED)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestDrawPlane" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/ves/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestMatrix" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/ves/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestCap" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestClipPlane" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestGradientBackground" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestKiwiViewer" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestNoContext" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestPointCloud" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestTexture" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestTexturedBackground" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>      linked by target "TestWireframe" in directory C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing</span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">4>  </span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Carlos </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joachim Pouderoux [mailto:<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.com</a>] <br>
<b>Enviado el:</b> viernes, 22 de marzo de 2013 10:54<br><b>Para:</b> Carlos<br><b>CC:</b> Pat Marion; <a href="mailto:ves@public.kitware.com" target="_blank">ves@public.kitware.com</a></span></p><div><div><p class="MsoNormal">
<br><b>Asunto:</b> Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak</p></div></div></div></div><div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">Carlos,</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">
If you want to compile VES for Windows you will have to fetch the branch fix-windows-host-build I pushed in the VES stage repository one week ago. Under Windows, VES will require the freeglut library and the glew library.<br>
Do not hesitate to ask you you have compilation issues (I personnally compiled it with VS2012, you may have some template issues with eigen on an older version...)<br>Joachim</p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<br>Le 21 mars 2013 à 17:16, Carlos <<a href="mailto:ves@calculoandamios.com" target="_blank">ves@calculoandamios.com</a>> a écrit :</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Pat,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This sounds really well. I will try to compile on Windows next week and I will give you some feedback.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Carlos</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Pat Marion [mailto:<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>] <br>
<b>Enviado el:</b> jueves, 21 de marzo de 2013 9:46<br><b>Para:</b> Carlos<br><b>CC:</b> <a href="mailto:ves@public.kitware.com" target="_blank">ves@public.kitware.com</a><br><b>Asunto:</b> Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak</span></p>
<p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Carlos,<br><br>Thank you for your feedback, it is very much appreciated.<br><br><br>Regarding debugging code: if you use the current version of master, there is now support for compiling ves/kiwi on the desktop using desktop GL instead of GLES2.  There are test programs in src/kiwi/Testing that use GLUT to open GL windows and run ves and kiwi code on the desktop.  While I haven't tried compiling these tests on Windows, I can verify that it works well on Linux and OSX.  I believe you can build freeglut on Windows and use that.<br>
<br>When I develop kiwi apps, I try to put as much logic as possible in the C++ layer and use Java or Objective-C only for native user interface code.  This way, you can test most of your app code using your preferred IDE and debugger using your desktop's native architecture.  Of course, this is not a perfect substitute for testing the app on a real iOS or Android device, but the compile/run/debug cycle is much more efficient.<br>
<br>As a start, you could look at the test file src/kiwi/Testing/TestKiwiViewer.cpp.  For build instructions, I updated the README in Apps/iOS to describe how to do an out-of-source build.   Just create a build directory, configure with cmake, and enable VES_HOST_SUPERBUILD to get a build that uses desktop GL.<br>
<br>Pat</p><div><p class="MsoNormal">On Thu, Mar 21, 2013 at 6:22 PM, Carlos <<a href="mailto:ves@calculoandamios.com" target="_blank">ves@calculoandamios.com</a>> wrote:</p><div><div><p class="MsoNormal">Hi,</p><p class="MsoNormal">
 </p><p class="MsoNormal"><span lang="EN-US">I would like to thank you the presentation you made last Thursday about the new version of Kiwiviewer. I really appreciate it and I also would like to give you some comments  just in case they can be useful.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">The new features are cool and the look of the Kiwi version for the Ipad is really nice, much better than the previous version.</span></p>
<p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">I consider that it can be used without or with minor modifications as a VTK viewer for  mobile devices even for commercial purposes.</span></p>
<p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">The connection with paraview shown in the webinar and the possibility of using it as a remote viewer are also very interesting.</span></p>
<p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">I previously had downloaded the Ipad version but I think that a 20 min. webinar is quite short for showing all the capabilities of the app. for the general audience.</span></p>
<p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">A new webinar showing technical details as it was mentioned would be really interesting. I suggest to present the VES structure and also some tools to use it.</span></p>
<p><span lang="EN-US" style="font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt">         </span><span lang="EN-US">I think that the documentation available will be greatly improved with the recorded webinar and the related presentation. Additionally it would be really helpful if the documentation you are preparing for the GTC 2013 will be available.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Personally I’m a VTK user / developer in Windows and I would like to port some features to mobile devices. I think that the App. is really great and can be used as a viewer created with VTK in an easy and professional way. But if you want to create a customized app  using VES there are three main points to solve:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p><span lang="EN-US">1.</span><span lang="EN-US" style="font-size:7.0pt">       </span><span lang="EN-US">Learn java / eclipse for android apps.</span></p><p><span lang="EN-US">2.</span><span lang="EN-US" style="font-size:7.0pt">       </span><span lang="EN-US">Buy a Mac and repeat point Nº1 for IOS</span></p>
<p><span lang="EN-US">3.</span><span lang="EN-US" style="font-size:7.0pt">       </span><span lang="EN-US">Manage for debugging VES code. </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">
<span lang="EN-US">I find point Nº 3 as the most difficult (not tried Nº 2 yet). Actually I’m able to compile VES in windows following the instructions on the web and create some android apps, but I do not know how to debug C code on eclipse.  I take some inputs returning control points in variables, but it is something painful and if something crash is almost impossible to guess the cause.  In this case, adding new features is difficult.</span></p>
<p class="MsoNormal"><span lang="EN-US">I understood in the webinar that this situation could be overpassed using Xcode in IOS as it should be possible to compile and debug. This can be an option as it is a must to create apps. for iOS.  I assume that it would be also possible to do it in the same way using eclipse as it also has C++ compiler capabilities, but I’m not been able to create a working eclipse project with CMake in windows.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Again I appreciate the effort and support from the Kitware’s VES team and I’m sure that in the near future more and more people will be interested on this framework.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Best regards,</span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888">Carlos</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#888888"> </span></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>Ves mailing list<br><a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a></p></div><p class="MsoNormal"> </p></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><p class="MsoNormal">_______________________________________________<br>Ves mailing list<br><a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a></p>
</div></blockquote></div></div></div></div></div><p class="MsoNormal"> </p></div></blockquote></div></blockquote></div></div></blockquote></body></html>