Hi Sergio,<br><br>I compiled successfully VES under Windows with r8, VC++2010/NMake.<br><br>However, I had to patch it a little bit :<br> 2 patches took place in VTK, I know that one concerning vtktiff has been applied, see <a href="http://vtk.org/gitweb?p=VTK.git;a=commit;h=f592cec4e1a0e96d0907b0b64775736c180a92a2">http://vtk.org/gitweb?p=VTK.git;a=commit;h=f592cec4e1a0e96d0907b0b64775736c180a92a2</a><br>
but the other on vtkDetermineCompilerFlags.cmake has not been merget yet, at line 138 replace IF(CMAKE_BUILD_TOOL MATCHES "(msdev|devenv|nmake|VCExpress)") by IF(MSVC_VERSION) <br> Then I had converted the bash script to batch, fetch those files here :<br>
<a href="http://public.kitware.com/gitweb?p=stage/VES.git;a=commit;h=8745bfae7fa21bbbe46a1d5ed05b44f9b896c82b">http://public.kitware.com/gitweb?p=stage/VES.git;a=commit;h=8745bfae7fa21bbbe46a1d5ed05b44f9b896c82b</a><br>You just have to follow the linux installation procedure with a Visual Studio Command Line and call bat file instead of sh one :)<br>
<br>Cheers,<br>Joachim<br><br><div class="gmail_quote">2012/11/16 Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sergio,<br><br>I don't have experience building VES on Windows. VES is primarily tested for iOS and Android on OSX and Linux hosts. But, it is possible to build on Windows. As for the Android NDK to use, I can only confirm that up to r8b works, I have not tried r8c. So maybe you could try downgrading to r8b.<br>
<br>I don't have experience with Windows, but I think it should work from the visual studio command prompt. You might need to specify "NMake Makefiles" as the generator. Can you tell me what CMAKE_CXX_COMPILER is set to in the CMakeCache.txt file: CMakeExternals/Build/vtk-host/CMakeCache and CMakeExternals/Build/vtk-android/CMakeCache.txt ? For vtk-host, it should be VS10, for vtk-android, it should be the android-gcc.<br>
<br>Pat<br><br><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Nov 15, 2012 at 8:22 PM, Sergio Vera <span dir="ltr"><<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Dear list,<div><br></div><div>I'm unable to successfully compile VES superbuild.</div><div><br></div><div>I'm working under Windows 7 64 bits, with</div><div>-lastest ADT (ver21)</div><div>-I've downloaded the NDK r8c (the wiki recommends r6, but in the mailing list someone told on the list that r8 is ok)</div>
<div>-I've installed Cygwin 1.7.17-1 (without selecting any special packages, just the default ones)</div><div>-My system has also mingw and msys installed</div><div><br></div><div>Following the wiki I export the ANDROID_NDK variable, move to Apps/Android/CMakeBuild, and perform the cmale -P step</div>
<div><br></div><div>To my surprise, cmake detects visual studio 10 (instead of gcc) and generates a VS10 project. As a consequencem the "make -j4" fails.</div><div><br></div><div>I've tried to do this from a cygwin console and a windows console with the same results. It seems that forcing cmake -P to use the "Unix Makefiles" generator has no effect. VS10 still is the detected compiler.</div>
<div>Of course the VS10 project does not compile all targets successfully.<br></div><div><br></div><div>What is the correct way to go? The wiki seems to suggests thar gcc should be used (make -j4) but i cannot generate a make project</div>
<div><br></div><div>Any help will be appreciated. </div><div><br></div><div>Thanks</div><span><font color="#888888"><div><br clear="all"><div><br></div>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br>
08022 Barcelona<br> T. <a href="tel:%28%2B34%29%20932%20380%20592" value="+34932380592" target="_blank">(+34) 932 380 592</a><br>
<a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>
</div>
</font></span><br></div></div>_______________________________________________<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><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, R&D Enginee</i>r</font> <br>
<b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
<br>