[Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak
Pat Marion
pat.marion at kitware.com
Fri Mar 22 08:32:13 EDT 2013
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.
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.
Pat
On Fri, Mar 22, 2013 at 10:24 PM, Carlos <ves at calculoandamios.com> wrote:
> Hi,****
>
> ** **
>
> Thank you for your guiding.****
>
> ** **
>
> I have downloaded the fix-windows-host-build tree and perform the
> following steps:****
>
> ** **
>
> **1. **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).****
>
> **2. **Open the .sln project and try to compile the three projects
> created (eigen, vtk-host and ves-host).****
>
> **3. **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.****
>
> **4. **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.****
>
> ** **
>
> 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 GLUT_glut_LIBRARY
> (ADVANCED) variable to point to freeglut.lib. I have made a try modifying
> the CMakeCache.txt including the line:****
>
>
> GLUT_glut_LIBRARY:STATIC=C:/Users/Carlos/VES_windows/VES-4a31e6c/freeglut/lib/freeglut.lib
> ****
>
> ** **
>
> But the error still persists. ****
>
> ** **
>
> I must mention that CMake does not ask for this variable during the
> configure stage.****
>
> ** **
>
> 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.****
>
> ** **
>
> The messages when I try to build ves-host are the following:****
>
> ** **
>
> ** **
>
> ** **
>
> 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32
> ------****
>
> 2>------ Build started: Project: eigen, Configuration: Debug Win32 ------*
> ***
>
> 3>------ Build started: Project: vtk-host, Configuration: Debug Win32
> ------****
>
> 3> Performing update step (git fetch) for 'vtk-host'****
>
> 4>------ Build started: Project: ves-host, Configuration: Debug Win32
> ------****
>
> 4> Creating directories for 'ves-host'****
>
> 4> Building Custom Rule
> C:/Users/Carlos/VES_windows/VES-4a31e6c/CMakeLists.txt****
>
> 4> CMake does not need to re-run because
> C:\Users\Carlos\VES_windows\VES-4a31e6c\build\CMakeFiles\generate.stamp is
> up-to-date.****
>
> 4> No download step for 'ves-host'****
>
> 4> No update step for 'ves-host'****
>
> 4> No patch step for 'ves-host'****
>
> 4> Performing configure step for 'ves-host'****
>
> 4> -- Eigen found (include:
> C:/Users/Carlos/VES_windows/VES-4a31e6c/build/CMakeExternals/Install/eigen)
> ****
>
> 4> -- Configuring incomplete, errors occurred!****
>
> 4>CUSTOMBUILD : CMake error : The following variables are used in this
> project, but they are set to NOTFOUND.****
>
> 4> Please set them or make sure they are set and tested correctly in the
> CMake files:****
>
> 4> GLUT_glut_LIBRARY (ADVANCED)****
>
> 4> linked by target "TestDrawPlane" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/ves/Testing****
>
> 4> linked by target "TestMatrix" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/ves/Testing****
>
> 4> linked by target "TestCap" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestClipPlane" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestGradientBackground" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestKiwiViewer" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestNoContext" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestPointCloud" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestTexture" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestTexturedBackground" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> linked by target "TestWireframe" in directory
> C:/Users/Carlos/VES_windows/VES-4a31e6c/src/kiwi/Testing****
>
> 4> ****
>
> ========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> ****
>
> ** **
>
> Best regards,****
>
> ** **
>
> Carlos ****
>
> ** **
>
> ** **
>
> ****
>
> *De:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com]
> *Enviado el:* viernes, 22 de marzo de 2013 10:54
> *Para:* Carlos
> *CC:* Pat Marion; ves at public.kitware.com
>
> *Asunto:* Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak****
>
> ** **
>
> Carlos,****
>
> ** **
>
> 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.
> 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...)
> Joachim****
>
>
> Le 21 mars 2013 à 17:16, Carlos <ves at calculoandamios.com> a écrit :****
>
> Hi Pat,****
>
> ****
>
> This sounds really well. I will try to compile on Windows next week and I
> will give you some feedback.****
>
> ****
>
> Carlos****
>
> ****
>
> ****
>
> ****
>
> *De:* Pat Marion [mailto:pat.marion at kitware.com]
> *Enviado el:* jueves, 21 de marzo de 2013 9:46
> *Para:* Carlos
> *CC:* ves at public.kitware.com
> *Asunto:* Re: [Ves] Webinar Kiwiviewer Relesae 2.0. Feedbak****
>
> ****
>
> Hi Carlos,
>
> Thank you for your feedback, it is very much appreciated.
>
>
> 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.
>
> 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.
>
> 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.
>
> Pat****
>
> On Thu, Mar 21, 2013 at 6:22 PM, Carlos <ves at calculoandamios.com> wrote:**
> **
>
> Hi,****
>
> ****
>
> 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.****
>
> ****
>
> · The new features are cool and the look of the Kiwi version for
> the Ipad is really nice, much better than the previous version.****
>
> · I consider that it can be used without or with minor
> modifications as a VTK viewer for mobile devices even for commercial
> purposes.****
>
> · The connection with paraview shown in the webinar and the
> possibility of using it as a remote viewer are also very interesting.****
>
> · 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.****
>
> · 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.****
>
> · 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.****
>
> ****
>
> ****
>
> 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:****
>
> ****
>
> 1. Learn java / eclipse for android apps.****
>
> 2. Buy a Mac and repeat point Nº1 for IOS****
>
> 3. Manage for debugging VES code. ****
>
> ****
>
> 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.****
>
> 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.****
>
> ****
>
> 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.****
>
> ****
>
> Best regards,****
>
> ****
>
> Carlos****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves****
>
> ****
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves****
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130322/27d7095f/attachment-0001.html>
More information about the Ves
mailing list