[Ves] Issues with CMake in VES build- Android and iOS
Jon Chmura
jon.chmura at me.com
Tue Mar 25 16:17:00 EDT 2014
HI all,
We installed CMake via the OSX .dmg. Version 2.8.12.2
Jon Chmura
On Mar 25, 2014, at 12:00 PM, ves-request at public.kitware.com wrote:
> Send Ves mailing list submissions to
> ves at public.kitware.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
> or, via email, send a message with subject or body 'help' to
> ves-request at public.kitware.com
>
> You can reach the person managing the list at
> ves-owner at public.kitware.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ves digest..."
>
>
> Today's Topics:
>
> 1. Re: Issues with CMake in VES build- Android and iOS - more
> info (Casey Goodlett)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 Mar 2014 11:19:31 -0400
> From: Casey Goodlett <casey.goodlett at kitware.com>
> To: DEB63 at pitt.edu
> Cc: ves <ves at public.kitware.com>
> Subject: Re: [Ves] Issues with CMake in VES build- Android and iOS -
> more info
> Message-ID:
> <CAOqyOuGaM7atdODybhYGYAhOP6jzgz5Oi6kWHm_ykBgtN3WB-w at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> How did you install cmake?
>
> Can you start providing a dashboard build of VES?
>
> I'll try to reproduce this on my xcode 5.1
>
> Thank you
>
>
> On Tue, Mar 25, 2014 at 9:48 AM, <DEB63 at pitt.edu> wrote:
>
>> Hi again.
>>
>> Some more information about this build issue. After trying this on an
>> older Mac, the build worked fine. The only thing that I could find that
>> appeared to be different between the two systems was the xcode versions.
>> On the >older< setup/computer (that seems to build VES fine)>>>
>> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
>> On the >newer< setup/computer (that will not build VES)>>>
>> Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
>>
>> I am also on the same development team as Jon Chmura, who wrote the
>> original post regarding the new build issue with VES and iOS. We have
>> been discussing this.
>>
>> Dave Busch
>> deb63 at pitt.edu
>>
>> ---------------------------- Original Message ----------------------------
>> Subject: [Ves] [Fwd: Issues with CMake in VES build] - Additional build
>> issue with Android
>> From: DEB63 at pitt.edu
>> Date: Tue, March 25, 2014 08:21
>> To: ves at public.kitware.com
>> --------------------------------------------------------------------------
>>
>> Hi
>>
>> I am getting similar issues when trying to build VES for Android, when
>> following the same steps we have done in the past to build VES. What
>> follows is an example of these errors. Note that this is with a fresh
>> download of android-ndk-r8b...
>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> daveb::dbox { ~ }-> git clone git://vtk.org/VES.git
>> Cloning into 'VES'...
>> remote: Counting objects: 9923, done.
>> remote: Compressing objects: 100% (3103/3103), done.
>> remote: Total 9923 (delta 6674), reused 9830 (delta 6614)
>> Receiving objects: 100% (9923/9923), 26.38 MiB | 2.84 MiB/s, done.
>> Resolving deltas: 100% (6674/6674), done.
>> Checking connectivity... done.
>> daveb::dbox { ~ }-> cd VES
>> daveb::dbox { ~/VES }-> cd apps
>> daveb::dbox { ~/VES/apps }-> cd Android
>> daveb::dbox { ~/VES/apps/Android }-> cd CMakeBuild
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> ls
>> configure.cmake
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> ls
>> configure.cmake
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> cmake -P configure.cmake
>> -- Found PythonInterp: /usr/bin/python (found version "2.7.5")
>> -- Found Git: /usr/bin/git (found version "1.8.5.2 (Apple Git-48)")
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild }-> cd build
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild/build }-> make -j4
>> Scanning dependencies of target vtk-host
>> Scanning dependencies of target eigen
>> [ 3%] [ 6%] Creating directories for 'eigen'
>> Creating directories for 'vtk-host'
>> [ 9%] [ 12%] Performing download step (download, verify and extract) for
>> 'eigen'
>> Performing download step (download, verify and extract) for 'vtk-host'
>> -- downloading...
>> .
>> .
>> . (thenI eventually get these errors after a while) >>>
>> .
>> .
>>
>> ...Scanning dependencies of target ProcessShader
>> Scanning dependencies of target vtkHashSource
>> [100%] [100%] Building CXX object
>> Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.cxx.o
>> Building CXX object
>> Utilities/HashSource/CMakeFiles/vtkHashSource.dir/vtkHashSource.cxx.o
>> Linking CXX executable ../../bin/vtkHashSource-6.0
>> [100%] Built target vtkHashSource
>> Linking CXX executable ../../bin/vtkProcessShader-6.0
>> [100%] Built target ProcessShader
>> Scanning dependencies of target vtkCompileTools
>> [100%] Built target vtkCompileTools
>> [ 45%] No install step for 'vtk-host'
>> [ 48%] Completed 'vtk-host'
>> [ 48%] Built target vtk-host
>> Scanning dependencies of target vtk-android
>> [ 51%] Creating directories for 'vtk-android'
>> [ 54%] No download step for 'vtk-android'
>> [ 57%] [ 60%] No patch step for 'vtk-android'
>> No update step for 'vtk-android'
>> [ 63%] Performing configure step for 'vtk-android'
>> loading initial cache file
>> /Users/daveb/VES/CMake/toolchains/TryRunResults.cmake
>> CMake Error at
>> /Users/daveb/VES/CMake/toolchains/android.toolchain.cmake:704 (message):
>> Could not find any working toolchain in the NDK. Probably your Android
>> NDK
>> is broken.
>> Call Stack (most recent call first):
>> /Applications/CMake
>> 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:93
>> (include)
>> CMakeLists.txt:3 (project)
>>
>>
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_C_COMPILER_ENV_VAR
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_C_COMPILER
>> CMake Error: Could not find cmake module file:
>>
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/
>> 2.8.12.2/CMakeCCompiler.cmake
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_CXX_COMPILER_ENV_VAR
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_CXX_COMPILER
>> CMake Error: Could not find cmake module file:
>>
>> /Users/daveb/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/CMakeFiles/
>> 2.8.12.2/CMakeCXXCompiler.cmake
>> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
>> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
>> -- Configuring incomplete, errors occurred!
>> make[2]: *** [CMakeExternals/Stamp/vtk-android/vtk-android-configure]
>> Error 1
>> make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2
>> make: *** [all] Error 2
>> daveb::dbox { ~/VES/apps/Android/CMakeBuild/build }->
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>
>> Dave Busch
>> deb63 at pitt.edu
>>
>>
>>
>> ---------------------------- Original Message ----------------------------
>> Subject: [Ves] Issues with CMake in VES build
>> From: "Jon Chmura" <jon.chmura at me.com>
>> Date: Mon, March 24, 2014 12:41
>> To: ves at public.kitware.com
>> --------------------------------------------------------------------------
>>
>> Hi all,
>>
>> We're are currently not able to build the Kiwi viewer app from master.
>> We are getting the following error.
>>
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_C_COMPILER_ENV_VAR
>> CMake Error: Could not find cmake module file:
>>
>> /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/
>> 2.8.12.2/CMakeCCompiler.cmake
>> CMake Error: Error required internal CMake variable not set, cmake may be
>> not be built correctly.
>> Missing variable is:
>> CMAKE_CXX_COMPILER_ENV_VAR
>> CMake Error: Could not find cmake module file:
>>
>> /Users/jonc/Developer/mobile/schlab/VES/Apps/iOS/build/CMakeExternals/Build/vtk-ios-device/CMakeFiles/
>> 2.8.12.2/CMakeCXXCompiler.cmake
>> -- Configuring incomplete, errors occurred!
>> CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.
>> Please set CMAKE_C_COMPILER to a valid compiler path or name.
>> CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not
>> found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
>> -- Configuring incomplete, errors occurred!
>> make[2]: ***
>> [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-configure] Error
>> 1
>> make[2]: ***
>> [CMakeExternals/Stamp/vtk-ios-device/vtk-ios-device-configure] Error 1
>> make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> make[1]: *** [CMakeFiles/vtk-ios-device.dir/all] Error 2
>>
>> We were able to build successfully in the past. This issue may be new to
>> OSX Mavericks. We had been using compiled .framework files for the past
>> few months so we haven't had the need to rebuild from scratch until now.
>> I verified that gcc and g++ are installed. I tried setting the
>> environment variables manually but the same error still occurs. We also
>> tried it with a fresh install of CMake on another machine and it failed
>> with the same error.
>>
>> Jon Chmura
>> jon.chmura at me.com
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>
>
> --
> Casey B. Goodlett, Ph.D.
> R&D Engineer
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> (919) 969-6990 x310
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/ves/attachments/20140325/c5f08457/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>
> ------------------------------
>
> End of Ves Digest, Vol 26, Issue 16
> ***********************************
More information about the Ves
mailing list