[Kiwiviewer] Testing Code Compile error
Aashish Chaudhary
aashish.chaudhary at kitware.com
Tue Oct 8 03:10:15 EDT 2013
You need to do this (steps). Let us know if you get stuck somewhere.
0. rm -rf VES
1. git clone http://vtk.org/VES.git
2. mkdir VES-build
3. cd VES-build
4. ccmake (or cmake-gui) ../VES
5. Here change VES_IOS_SUPERBUILD value from OFF to ON
6. configure again (c for ccmake)
7. generate (g for ccmake)
8. quite (q for ccmake)
9. make -j8 (depending on how many cores you have)
On Tue, Oct 8, 2013 at 2:32 AM, 高宇 <fightrain at 126.com> wrote:
> Dear Aashish:
> I just want to compile and run the code in /VES/src/kiwi/Testing
> and /VES/src/ves/Testing. What should I do. If possible please show me how
> to do it in details. THANKS VERY MUCH ABOUT YOUR HELP.
>
> BEST REGARDS~
>
>
>
>
> At 2013-10-08 00:11:41,"Aashish Chaudhary" <aashish.chaudhary at kitware.com>
> wrote:
>
> Hi,
>
> You need to use one of the superbuild options. What platform you are
> trying to use?
>
> - Aashish
>
>
>
> On Mon, Oct 7, 2013 at 3:57 AM, 高宇 <fightrain at 126.com> wrote:
>
>> Dear Aashish:
>> Thanks a lot about your reply on how to study about ves. When I
>> configure and run the Testing code. I meet some problems.
>> I first download a new VES source code from
>> http://vtk.org/VES.git. I take some steps like this:
>> 1. git clone http://vtk.org/VES.git
>> 2.cd VES
>> 3.cmake CMakeLists.txt
>> -- Found PythonInterp: /usr/bin/python
>> (found version "2.7.2")
>> -- Found Git: /usr/bin/git (found version
>> "1.8.3.4 (Apple Git-47)")
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /Users/gaoyu/KKK/TESTVES/VES
>> 4.make
>> Linking CXX executable
>> ../../bin/vtkHashSource-6.0
>> [100%] Built target vtkHashSource
>> Scanning dependencies of target
>> vtkCompileTools
>> [100%] Built target vtkCompileTools
>> [ 93%] No install step for 'vtk-host'
>> [100%] Completed 'vtk-host'
>> [100%] Built target vtk-host
>> 5.cd VES/CMakeExternals/Install/vtk-host
>> There's nothing in it.!!!
>> 6.cd VES/src/kiwi/Testing
>> 7.cmake CMakeLists.txt
>> It shows that
>> No cmake_minimum_required command is
>> present. A line of code such as
>> cmake_minimum_required(VERSION 2.8)
>> should be added at the top of the file. The
>> version specified may be lower
>> if you wish to support older CMake versions
>> for this project. For more
>> information run "cmake --help-policy
>> CMP0000".
>> This warning is for project developers. Use
>> -Wno-dev to suppress it.
>> 8.I add cmake_minimum_required(VERSION 2.8.5) in the
>> file CMakeLists.txt
>> 9.make
>> Scanning dependencies of target TestAnimation
>> [ 7%] Building CXX object
>> CMakeFiles/TestAnimation.dir/TestAnimation.cpp.o
>>
>> /Users/gaoyu/KKK/TESTVES/VES/src/kiwi/Testing/TestAnimation.cpp:1:10: fatal
>> error:
>> 'vesImage.h' file not found
>> #include <vesImage.h>
>> ^
>> 1 error generated.
>> make[2]: ***
>> [CMakeFiles/TestAnimation.dir/TestAnimation.cpp.o] Error 1
>> make[1]: ***
>> [CMakeFiles/TestAnimation.dir/all] Error 2
>> make: *** [all] Error 2
>> I struggled to solve it but I failed. If possible Could you
>> please help me to solve it or give me some advise.If anybody others know
>> this , please send me an Email. Thank you very very much.
>>
>> BEST WISHES! HAPPY EVERYDAY~
>>
>>
>>
>> GAO YU
>>
>>
>>
>>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>
>
> _______________________________________________
> Kiwiviewer mailing list
> Kiwiviewer at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kiwiviewer/attachments/20131008/2a29de13/attachment.html>
More information about the Kiwiviewer
mailing list