[Ves] VES for Android build error on Ubuntu 10.4.x

Pat Marion pat.marion at kitware.com
Sun Feb 26 17:04:58 EST 2012


I was able to build KiwiViewer using ndk-r7 (not 7b), but I had to fix the
libKiwiViewer.so link command line by hand.  Starting with ndk-r7, they
changed the way to link against the stdc++ library for gnu stl.  Perhaps it
is possible to incorporate this fix into the android cmake toolchain file,
but until then the VES required ndk version is r6.  I have updated our
README and wiki pages to point this out.

For anyone who is interested in using r7, the fix is that you must link
against libgnustl_static.a and libsupc++.a by specifying the full path to
these libraries at the end of the libKiwiViewer.so link line.  These
libraries are found in the android ndk under
sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a.

Pat


On Fri, Feb 24, 2012 at 4:04 PM, Pat Marion <pat.marion at kitware.com> wrote:

> I was able to repeat your error.  I downoaded the latest android-ndk-r7b.
> The error doesn't occur with previous ndk releases.  The toolchain file
> were are using probably needs to be updated to support recent changes in
> the android ndk.  Until I can do that, I suggest that you use a previous
> ndk version.  I can verify that the build works with ndk-7 (not 7b), but I
> have done the most testing an development against ndk-6, and so I recommend
> this version.  Our official android market version is compiled against this
> version.  You can downloaded it here:
>
>    http://dl.google.com/android/ndk/android-ndk-r6-linux-x86.tar.bz2
>
> Pat
>
>
>
> On Fri, Feb 24, 2012 at 10:52 AM, Sishir Jain <sishirjain at gmail.com>wrote:
>
>> Thanks Pat,
>>                    Here is the verbose output of vtkmodular-android make:
>>
>> ===========================================
>> root at ubuntu:/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android#
>> make VERBOSE=1
>> /usr/local/bin/cmake
>> -H/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular
>> -B/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>> --check-build-system CMakeFiles/Makefile.cmake 0
>> /usr/local/bin/cmake -E cmake_progress_start
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/CMakeFiles
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/CMakeFiles/progress.marks
>> make -f CMakeFiles/Makefile2 all
>> make[1]: Entering directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>> make -f Utilities/kwsys/CMakeFiles/vtksys.dir/build.make
>> Utilities/kwsys/CMakeFiles/vtksys.dir/depend
>> make[2]: Entering directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>> cd
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>> && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles"
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/kwsys
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/kwsys/CMakeFiles/vtksys.dir/DependInfo.cmake
>> --color=
>> make[2]: Leaving directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>> make -f Utilities/kwsys/CMakeFiles/vtksys.dir/build.make
>> Utilities/kwsys/CMakeFiles/vtksys.dir/build
>> make[2]: Entering directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>> /usr/local/bin/cmake -E cmake_progress_report
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/CMakeFiles
>>
>> [  0%] Building CXX object
>> Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.cxx.o
>> cd
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/kwsys
>> &&
>> /home/ubuntu/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++
>> -DVTK_IN_VTK -DKWSYS_NAMESPACE=vtksys
>> --sysroot=/home/ubuntu/android-ndk-r7b/platforms/android-8/arch-arm/ -fPIC
>> -DANDROID -Wno-psabi -fsigned-char -mthumb -march=armv7-a
>> -mfloat-abi=softfp  -O3 -DNDEBUG
>> -I/home/ubuntu/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/include
>> -I/home/ubuntu/android-ndk-r7b/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
>> -I/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>> -I/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities
>> -o CMakeFiles/vtksys.dir/SystemTools.cxx.o -c
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx
>>
>> In file included from
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:26:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:38:23:
>> error: strstream: No such file or directory
>>  In file included from
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:26:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:63:
>> error: 'std::strstream' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:64:
>> error: 'std::istrstream' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:65:
>> error: 'std::ostrstream' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:74:
>> error: expected ')' before '&' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:78:
>> error: ISO C++ forbids declaration of 'strstream' with no type
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:78:
>> error: expected ';' before '&' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In destructor 'vtksys_ios::stringstream_cleanup::~stringstream_cleanup()':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:75:
>> error: 'm_StrStream' was not declared in this scope
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> At global scope:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:84:
>> error: expected class-name before '{' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:86:
>> error: 'strstream' does not name a type
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In constructor 'vtksys_ios::stringstream::stringstream(const std::string&)':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:88:
>> error: no match for 'operator<<' in '*(vtksys_ios::stringstream*)this <<
>> ((const std::string*)s)->std::basic_string<_CharT, _Traits, _Alloc>::c_str
>> [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
>> std::allocator<char>]()'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In member function 'std::string vtksys_ios::stringstream::str()':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:91:
>> error: no matching function for call to
>> 'vtksys_ios::stringstream_cleanup::stringstream_cleanup(vtksys_ios::stringstream&)'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:72:
>> note: candidates are:
>> vtksys_ios::stringstream_cleanup::stringstream_cleanup()
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:72:
>> note:
>> vtksys_ios::stringstream_cleanup::stringstream_cleanup(const
>> vtksys_ios::stringstream_cleanup&)
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:99:
>> error: 'class vtksys_ios::stringstream' has no member named 'rdbuf'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:101:
>> error: 'vtksys_ios::stringstream::Superclass' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> At global scope:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:117:
>> error: expected ')' before '&' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:121:
>> error: ISO C++ forbids declaration of 'ostrstream' with no type
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:121:
>> error: expected ';' before '&' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In destructor 'vtksys_ios::ostringstream_cleanup::~ostringstream_cleanup()':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:118:
>> error: 'm_OStrStream' was not declared in this scope
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> At global scope:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:127:
>> error: expected class-name before '{' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:129:
>> error: 'ostrstream' does not name a type
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In constructor 'vtksys_ios::ostringstream::ostringstream(const
>> std::string&)':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:131:
>> error: no match for 'operator<<' in '*(vtksys_ios::ostringstream*)this <<
>> ((const std::string*)s)->std::basic_string<_CharT, _Traits, _Alloc>::c_str
>> [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
>> std::allocator<char>]()'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In member function 'std::string vtksys_ios::ostringstream::str()':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:134:
>> error: no matching function for call to
>> 'vtksys_ios::ostringstream_cleanup::ostringstream_cleanup(vtksys_ios::ostringstream&)'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:115:
>> note: candidates are:
>> vtksys_ios::ostringstream_cleanup::ostringstream_cleanup()
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:115:
>> note:
>> vtksys_ios::ostringstream_cleanup::ostringstream_cleanup(const
>> vtksys_ios::ostringstream_cleanup&)
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:136:
>> error: 'class vtksys_ios::ostringstream' has no member named 'pcount'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:137:
>> error: 'vtksys_ios::ostringstream::Superclass' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> At global scope:
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:160:
>> error: expected class-name before '{' token
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:163:
>> error: 'istrstream' does not name a type
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In constructor 'vtksys_ios::istringstream::istringstream()':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:165:
>> error: class 'vtksys_ios::istringstream' does not have any field named
>> 'IStrStream'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In constructor 'vtksys_ios::istringstream::istringstream(const
>> std::string&)':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:167:
>> error: class 'vtksys_ios::istringstream' does not have any field named
>> 'IStrStream'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>> In member function 'void vtksys_ios::istringstream::clear(int)':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:176:
>> error: 'vtksys_ios::istringstream::IStrStream' has not been declared
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:
>> In static member function 'static bool
>> vtksys::SystemTools::FindProgramPath(const char*, std::string&,
>> std::string&, const char*, const char*, const char*)':
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2748:
>> error: no match for 'operator<<' in 'msg << "Can not find the command line
>> program "'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2751:
>> error: no match for 'operator<<' in 'msg << exeName'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2753:
>> error: no match for 'operator<<' in 'msg << "\012"'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2756:
>> error: no match for 'operator<<' in 'msg << "  argv[0] = \""'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2758:
>> error: no match for 'operator<<' in 'msg << "  Attempted paths:\012"'
>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2762:
>> error: no match for 'operator<<' in 'msg << "    \""'
>> make[2]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.cxx.o]
>> Error 1
>> make[2]: Leaving directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>> make[1]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2
>> make[1]: Leaving directory
>> `/home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android'
>>
>> make: *** [all] Error 2
>> ==========================================
>>
>> Also attached are the Configure.hxx and CMakeCache.txt files.
>>
>> Regards,
>> Sishir
>>
>>
>> On Fri, Feb 24, 2012 at 9:00 PM, Pat Marion <pat.marion at kitware.com>wrote:
>>
>>> Hi Sishir,
>>>
>>> I'm sorry you're running into trouble.  VES is known to build on Ubuntu
>>> 10.4, so hopefully we can work this out.  Thank you for attaching the full
>>> build output to your emails, it is very helpful.  Your build error occurs
>>> while building vtkmodular for android. Try a serial make of just
>>> vtkmodular-android:
>>>
>>> cd
>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>>> make VERBOSE=1
>>>
>>> Also, could you please attach
>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/Configure.hxx
>>>
>>> and
>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/CMakeCache.txt
>>>
>>> Something seems to be wrong with how vtkmodular-android was configured,
>>> as it is tries to include strstream instead of sstream.
>>>
>>> Pat
>>>
>>>
>>> On Fri, Feb 24, 2012 at 9:09 AM, Sishir Jain <sishirjain at gmail.com>wrote:
>>>
>>>> Hi,
>>>>     I am getting build errors while building VES for Android on Ubuntu
>>>> 10.4.x. The errors are coming in
>>>> 1.
>>>> VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile
>>>> 2.
>>>> VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream
>>>>
>>>> Here is the snapshot:
>>>> ==================================================
>>>> Linking CXX shared library ../../lib/libvtkFiltersSources.so
>>>> [100%] Built target vtkFiltersSources
>>>> [ 24%] No install step for 'vtkmodular-host'
>>>> [ 24%] Completed 'vtkmodular-host'
>>>> [ 48%] Built target vtkmodular-host
>>>> Scanning dependencies of target vtkmodular-android
>>>> [ 48%] Creating directories for 'vtkmodular-android'
>>>> [ 48%] No download step for 'vtkmodular-android'
>>>> [ 48%] [ 48%] No update step for 'vtkmodular-android'
>>>> No patch step for 'vtkmodular-android'
>>>> [ 48%] Performing configure step for 'vtkmodular-android'
>>>> loading initial cache file
>>>> /home/ubuntu/VES/CMake/toolchains/TryRunResults.cmake
>>>> -- Using default android API level android-8
>>>> -- If you prefer to use a different API level, please define the
>>>> environment variable: ANDROID_LEVEL
>>>> -- SWIG is not found
>>>> -- The C compiler identification is GNU
>>>> -- The CXX compiler identification is GNU
>>>> -- Check for working C compiler:
>>>> /home/ubuntu/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
>>>> -- Check for working C compiler:
>>>> /home/ubuntu/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
>>>> -- works
>>>> -- Detecting C compiler ABI info
>>>> -- Detecting C compiler ABI info - done
>>>> -- Check for working CXX compiler:
>>>> /home/ubuntu/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++
>>>> -- Check for working CXX compiler:
>>>> /home/ubuntu/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++
>>>> -- works
>>>> -- Detecting CXX compiler ABI info
>>>> -- Detecting CXX compiler ABI info - done
>>>> -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE
>>>> -- Performing Test HAVE_GCC_ERROR_RETURN_TYPE - Success
>>>> -- Performing Test HAVE_GCC_VISIBILITY
>>>> -- Performing Test HAVE_GCC_VISIBILITY - Success
>>>> -- Performing Test Support for 64 bit file systems
>>>> -- Performing Test Support for 64 bit file systems - Success
>>>> -- Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON
>>>> -- Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON - Failed
>>>> -- Looking for sys/types.h
>>>> -- Looking for sys/types.h - found
>>>> -- Looking for stdint.h
>>>> -- Looking for stdint.h - found
>>>> -- Looking for stddef.h
>>>> -- Looking for stddef.h - found
>>>> -- Check size of int
>>>> -- Check size of int - done
>>>> -- Check size of long
>>>> -- Check size of long - done
>>>> -- Check size of void*
>>>> -- Check size of void* - done
>>>> -- Check size of char
>>>> -- Check size of char - done
>>>> -- Check size of short
>>>> -- Check size of short - done
>>>> -- Check size of float
>>>> -- Check size of float - done
>>>> -- Check size of double
>>>> -- Check size of double - done
>>>> -- Looking for include files CMAKE_HAVE_LIMITS_H
>>>> -- Looking for include files CMAKE_HAVE_LIMITS_H - found
>>>> -- Looking for include files CMAKE_HAVE_UNISTD_H
>>>> -- Looking for include files CMAKE_HAVE_UNISTD_H - found
>>>> -- Looking for include files CMAKE_HAVE_PTHREAD_H
>>>> -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
>>>> -- Looking for include files CMAKE_HAVE_SYS_PRCTL_H
>>>> -- Looking for include files CMAKE_HAVE_SYS_PRCTL_H - found
>>>> -- Check if the system is big endian
>>>> -- Searching 16 bit integer
>>>> -- Check size of unsigned short
>>>> -- Check size of unsigned short - done
>>>> -- Using unsigned short
>>>> -- Check if the system is big endian - little endian
>>>> -- Looking for pthread_create in pthreads
>>>> -- Looking for pthread_create in pthreads - not found
>>>> -- Looking for pthread_create in pthread
>>>> -- Looking for pthread_create in pthread - not found
>>>> -- Check if compiler accepts -pthread
>>>> -- Check if compiler accepts -pthread - no
>>>> -- Could NOT find Threads (missing:  Threads_FOUND)
>>>> -- Looking for C++ include iostream
>>>> -- Looking for C++ include iostream - not found
>>>> -- Check for STD namespace
>>>> -- Check for STD namespace - not found
>>>> -- Check for ANSI scope
>>>> -- Check for ANSI scope - found
>>>> -- Check for sstream
>>>> -- Check for sstream - not found
>>>> -- Check size of long long
>>>> -- Check size of long long - done
>>>> -- Check size of __int64
>>>> -- Check size of __int64 - failed
>>>> -- Check size of uintptr_t
>>>> -- Check size of uintptr_t - done
>>>> -- Checking support for C++ type bool
>>>> -- Checking support for C++ type bool -- yes
>>>> -- Checking support for full template specialization syntax
>>>> -- Checking support for full template specialization syntax -- yes
>>>> -- Checking support for C++ explicit template instantiation
>>>> -- Checking support for C++ explicit template instantiation -- yes
>>>> -- Checking for builtin __sync_add_and_fetch
>>>> -- Checking for builtin __sync_add_and_fetch -- success
>>>> -- Looking for C++ include iosfwd
>>>> -- Looking for C++ include iosfwd - found
>>>> -- Looking for C++ include iostream.h
>>>> -- Looking for C++ include iostream.h - not found
>>>> -- Checking if ostream supports long long
>>>> -- Checking if ostream supports long long -- no
>>>> -- Checking if istream supports long long
>>>> -- Checking if istream supports long long -- no
>>>> -- Looking for getsockname in socket
>>>> -- Looking for getsockname in socket - not found
>>>> -- Checking for getsockname with socklen_t
>>>> -- Checking for getsockname with socklen_t -- yes
>>>> -- Looking for SO_REUSEADDR
>>>> -- Looking for SO_REUSEADDR - found
>>>> About to assess all possible modules...
>>>> -- Enabled:
>>>> vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonMath;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkFiltersCore;vtkFiltersGeneral;vtkFiltersGeometry;vtkFiltersSources;vtkIOCore;vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML;vtkImagingCore
>>>> -- Disabled:
>>>> vtkFiltersExtraction;vtkFiltersParallelStatistics;vtkFiltersStatistics;vtkIOInfovis;vtkIOMySQL;vtkIONetCDF;vtkIOODBC;vtkIOPostgreSQL;vtkIOSQL;vtkInfovisCore;vtkParallelCore;vtkRenderingCore;vtkRenderingOpenGL;vtkWrappingPythonCore
>>>> -- Enabled kwsys, needed by
>>>> [vtkCommonCore;vtkCommonDataModel;vtkCommonSystem;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOXML].
>>>> -- Enabled vtkCommonCore, needed by
>>>> [vtkFiltersCore;vtkCommonDataModel;vtkCommonMath;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkFiltersGeometry;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML;vtkImagingCore].
>>>> -- Enabled vtkCommonMath, needed by
>>>> [vtkCommonDataModel;vtkCommonMisc;vtkCommonTransforms;vtkFiltersCore;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkIOImage;vtkImagingCore].
>>>> -- Enabled vtkCommonMisc, needed by
>>>> [vtkCommonDataModel;vtkFiltersCore;vtkFiltersGeneral;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOPLY;vtkIOXML].
>>>> -- Enabled vtkCommonSystem, needed by
>>>> [vtkCommonDataModel;vtkFiltersCore;vtkCommonComputationalGeometry;vtkFiltersGeneral;vtkIOGeometry;vtkIOImage;vtkIOXML;vtkImagingCore].
>>>> -- Enabled vtkCommonTransforms, needed by
>>>> [vtkCommonDataModel;vtkFiltersCore;vtkFiltersSources;vtkFiltersGeneral;vtkIOImage;vtkImagingCore].
>>>> -- Enabled vtkCommonDataModel, needed by
>>>> [vtkFiltersCore;vtkFiltersGeometry;vtkCommonComputationalGeometry;vtkFiltersSources;vtkFiltersGeneral;vtkIOGeometry;vtkIOCore;vtkIOImage;vtkIOPLY;vtkIOXML;vtkImagingCore].
>>>> -- Enabled vtkCommonComputationalGeometry, needed by
>>>> [vtkFiltersSources;vtkFiltersGeneral;vtkImagingCore].
>>>> -- Enabled vtkFiltersCore, requested by Module_vtkFiltersCore.
>>>> -- Enabled vtkFiltersGeneral, needed by [vtkFiltersSources].
>>>> -- Enabled vtkFiltersGeometry, requested by Module_vtkFiltersGeometry.
>>>> -- Enabled vtkFiltersSources, requested by Module_vtkFiltersSources.
>>>> -- Enabled vtkzlib, needed by [vtkIOCore;vtkIOGeometry;vtkIOImage].
>>>> -- Enabled vtkIOCore, needed by
>>>> [vtkIOGeometry;vtkIOImage;vtkIOPLY;vtkIOXML].
>>>> -- Enabled MaterialLibrary, needed by [vtkIOGeometry;vtkIOGeometry].
>>>> -- Enabled vtkIOGeometry, requested by Module_vtkIOGeometry.
>>>> -- Enabled DICOMParser, needed by [vtkIOImage].
>>>> -- Enabled vtkfreetype, needed by [vtkIOImage].
>>>> -- Enabled vtkjpeg, needed by [vtkIOImage].
>>>> -- Enabled vtkmetaio, needed by [vtkIOImage].
>>>> -- Enabled vtkoggtheora, needed by [vtkIOImage].
>>>> -- Enabled vtkpng, needed by [vtkIOImage].
>>>> -- Enabled vtktiff, needed by [vtkIOImage].
>>>> -- Enabled vtkIOImage, requested by Module_vtkIOImage.
>>>> -- Enabled vtkIOPLY, requested by Module_vtkIOPLY.
>>>> -- Enabled vtkexpat, needed by [vtkIOXML].
>>>> -- Enabled vtkIOXML, requested by Module_vtkIOXML.
>>>> -- Enabled vtkImagingCore, requested by Module_vtkImagingCore.
>>>> -- Checking whether header cstdio is available
>>>> -- Checking whether header cstdio is available - yes
>>>> -- Checking whether STL classes are in std namespace
>>>> -- Checking whether STL classes are in std namespace - yes
>>>> -- Checking whether ANSI stream headers are available
>>>> -- Checking whether ANSI stream headers are available - yes
>>>> -- Checking whether ANSI streams are in std namespace
>>>> -- Checking whether ANSI streams are in std namespace - yes
>>>> -- Checking whether ANSI string stream is available
>>>> -- Checking whether ANSI string stream is available - no
>>>> -- Checking whether strstream.h is available
>>>> -- Checking whether strstream.h is available - no
>>>> -- Checking whether strstrea.h is available
>>>> -- Checking whether strstrea.h is available - no
>>>> -- Checking whether header cstddef is available
>>>> -- Checking whether header cstddef is available - yes
>>>> -- Checking whether stl string has operator!= for char*
>>>> -- Checking whether stl string has operator!= for char* - no
>>>> -- Checking whether stl has iterator_traits
>>>> -- Checking whether stl has iterator_traits - yes
>>>> -- Checking whether stl has standard template allocator
>>>> -- Checking whether stl has standard template allocator - no
>>>> -- Checking whether stl has old non-template allocator
>>>> -- Checking whether stl has old non-template allocator - no
>>>> -- Checking whether stl containers support allocator objects.
>>>> -- Checking whether stl containers support allocator objects. - no
>>>> -- Checking whether ios has binary openmode
>>>> -- Checking whether ios has binary openmode - no
>>>> -- Checking whether "<>" is needed for template friends
>>>> -- Checking whether "<>" is needed for template friends - yes
>>>> -- Checking for member template support
>>>> -- Checking for member template support - yes
>>>> -- Checking for standard template specialization syntax
>>>> -- Checking for standard template specialization syntax - yes
>>>> -- Checking whether argument dependent lookup is supported
>>>> -- Checking whether argument dependent lookup is supported - yes
>>>> -- Checking whether struct stat has st_mtim member
>>>> -- Checking whether struct stat has st_mtim member - no
>>>> -- Checking for C type size macros
>>>> -- Checking for C type size macros - compiled
>>>> -- Check size of char
>>>> -- Check size of char - done
>>>> -- Check size of __int64
>>>> -- Check size of __int64 - failed
>>>> -- Checking whether C compiler has ptrdiff_t in stddef.h
>>>> -- Checking whether C compiler has ptrdiff_t in stddef.h - yes
>>>> -- Checking whether C compiler has ssize_t in unistd.h
>>>> -- Checking whether C compiler has ssize_t in unistd.h - yes
>>>> -- Looking for float.h
>>>> -- Looking for float.h - found
>>>> -- Looking for isnan
>>>> -- Looking for isnan - not found.
>>>> -- Looking for _isnan
>>>> -- Looking for _isnan - not found.
>>>> -- Looking for isinf
>>>> -- Looking for isinf - not found.
>>>> -- Looking for _isinf
>>>> -- Looking for _isinf - not found
>>>> -- Looking for fenv.h
>>>> -- Looking for fenv.h - not found
>>>> -- Looking for C++ include fcntl.h
>>>> -- Looking for C++ include fcntl.h - found
>>>> -- Looking for C++ include unistd.h
>>>> -- Looking for C++ include unistd.h - found
>>>> -- Check size of int16_t
>>>> -- Check size of int16_t - done
>>>> -- Check size of int32_t
>>>> -- Check size of int32_t - done
>>>> -- Check size of uint32_t
>>>> -- Check size of uint32_t - done
>>>> -- Check size of uint16_t
>>>> -- Check size of uint16_t - done
>>>> -- Check size of u_int32_t
>>>> -- Check size of u_int32_t - done
>>>> -- Check size of u_int16_t
>>>> -- Check size of u_int16_t - done
>>>> -- Check size of int64_t
>>>> -- Check size of int64_t - done
>>>> -- Check size of short
>>>> -- Check size of short - done
>>>> -- Check size of int
>>>> -- Check size of int - done
>>>> -- Check size of long
>>>> -- Check size of long - done
>>>> -- Check size of long long
>>>> -- Check size of long long - done
>>>> -- Looking for include files HAVE_ASSERT_H
>>>> -- Looking for include files HAVE_ASSERT_H - found
>>>> -- Looking for include files HAVE_DLFCN_H
>>>> -- Looking for include files HAVE_DLFCN_H - found
>>>> -- Looking for include files HAVE_INTTYPES_H
>>>> -- Looking for include files HAVE_INTTYPES_H - found
>>>> -- Looking for include files HAVE_LIMITS_H
>>>> -- Looking for include files HAVE_LIMITS_H - found
>>>> -- Looking for include files HAVE_MALLOC_H
>>>> -- Looking for include files HAVE_MALLOC_H - found
>>>> -- Looking for include files HAVE_MEMORY_H
>>>> -- Looking for include files HAVE_MEMORY_H - found
>>>> -- Looking for include files HAVE_STDLIB_H
>>>> -- Looking for include files HAVE_STDLIB_H - found
>>>> -- Looking for include files HAVE_STRING_H
>>>> -- Looking for include files HAVE_STRING_H - found
>>>> -- Looking for include files HAVE_STRINGS_H
>>>> -- Looking for include files HAVE_STRINGS_H - found
>>>> -- Looking for include files HAVE_SYS_STAT_H
>>>> -- Looking for include files HAVE_SYS_STAT_H - found
>>>> -- Looking for include files HAVE_SYS_TIME_H
>>>> -- Looking for include files HAVE_SYS_TIME_H - found
>>>> -- Looking for include files HAVE_WINDOWS_H
>>>> -- Looking for include files HAVE_WINDOWS_H - not found.
>>>> -- Looking for include files HAVE_IEEEFP_H
>>>> -- Looking for include files HAVE_IEEEFP_H - not found.
>>>> -- Looking for floor
>>>> -- Looking for floor - not found
>>>> -- Looking for getopt
>>>> -- Looking for getopt - found
>>>> -- Looking for isascii
>>>> -- Looking for isascii - found
>>>> -- Looking for memmove
>>>> -- Looking for memmove - found
>>>> -- Looking for memset
>>>> -- Looking for memset - found
>>>> -- Looking for mmap
>>>> -- Looking for mmap - found
>>>> -- Looking for pow
>>>> -- Looking for pow - not found
>>>> -- Looking for sqrt
>>>> -- Looking for sqrt - not found
>>>> -- Looking for strcasecmp
>>>> -- Looking for strcasecmp - found
>>>> -- Looking for strchr
>>>> -- Looking for strchr - found
>>>> -- Looking for strrchr
>>>> -- Looking for strrchr - found
>>>> -- Looking for strstr
>>>> -- Looking for strstr - found
>>>> -- Looking for strtol
>>>> -- Looking for strtol - found
>>>> -- Looking for areroul
>>>> -- Looking for areroul - not found
>>>> -- Check size of int
>>>> -- Check size of int - done
>>>> -- Check size of long
>>>> -- Check size of long - done
>>>> -- Configuring done
>>>> -- Generating done
>>>> -- Build files have been written to:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android
>>>> [ 48%] Performing build step for 'vtkmodular-android'
>>>> Scanning dependencies of target vtkzlib
>>>> Scanning dependencies of target vtksys
>>>> Scanning dependencies of target vtkDICOMParser
>>>> Scanning dependencies of target vtkMaterialLibraryConfiguredFiles
>>>> [  0%] Built target vtkMaterialLibraryConfiguredFiles
>>>> Scanning dependencies of target vtkfreetype
>>>> [  0%] Building CXX object
>>>> Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/adler32.c.o
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/compress.c.o
>>>> [  0%] Building C object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/ProcessUNIX.c.o
>>>> In file included from
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.cxx:26:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.h:54:
>>>> error: expected unqualified-id before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.h:54:
>>>> error: expected ')' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.h:54:
>>>> error: expected ';' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.cxx:89:
>>>> error: expected unqualified-id before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.cxx:89:
>>>> error: expected ')' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/DICOMParser/DICOMFile.cxx:89:
>>>> error: expected initializer before '&' token
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/crc32.c.o
>>>> make[5]: ***
>>>> [Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMFile.cxx.o] Error
>>>> 1
>>>> make[4]: *** [Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/all]
>>>> Error 2
>>>> make[4]: *** Waiting for unfinished jobs....
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/deflate.c.o
>>>> [  0%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/gzio.c.o
>>>> [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inffast.c.o
>>>> [  0%] [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inftrees.c.o
>>>> Building C object Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/inflate.c.o
>>>> [  0%] [  0%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/trees.c.o
>>>> Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/Base64.c.o
>>>> [  0%] Building C object Utilities/kwsys/CMakeFiles/vtksys.dir/MD5.c.o
>>>> [  1%] Building C object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/System.c.o
>>>> [  1%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbbox.c.o
>>>> [  1%] Building CXX object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/Directory.cxx.o
>>>> [  1%] Building CXX object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/DynamicLoader.cxx.o
>>>> [  1%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbitmap.c.o
>>>> [  1%] Building CXX object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/Glob.cxx.o
>>>> [  1%] Building CXX object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/RegularExpression.cxx.o
>>>> [  1%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/uncompr.c.o
>>>> [  2%] Building C object
>>>> Utilities/vtkzlib/CMakeFiles/vtkzlib.dir/zutil.c.o
>>>> Linking C static library ../../lib/libvtkzlib.a
>>>> [  2%] Built target vtkzlib
>>>> [  2%] Building CXX object
>>>> Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.cxx.o
>>>> In file included from
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:26:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:38:23:
>>>> error: strstream: No such file or directory
>>>> [  2%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftglyph.c.o
>>>> In file included from
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:26:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:63:
>>>> error: 'std::strstream' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:64:
>>>> error: 'std::istrstream' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:65:
>>>> error: 'std::ostrstream' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:74:
>>>> error: expected ')' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:78:
>>>> error: ISO C++ forbids declaration of 'strstream' with no type
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:78:
>>>> error: expected ';' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In destructor 'vtksys_ios::stringstream_cleanup::~stringstream_cleanup()':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:75:
>>>> error: 'm_StrStream' was not declared in this scope
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> At global scope:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:84:
>>>> error: expected class-name before '{' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:86:
>>>> error: 'strstream' does not name a type
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In constructor 'vtksys_ios::stringstream::stringstream(const std::string&)':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:88:
>>>> error: no match for 'operator<<' in '*(vtksys_ios::stringstream*)this <<
>>>> ((const std::string*)s)->std::basic_string<_CharT, _Traits, _Alloc>::c_str
>>>> [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
>>>> std::allocator<char>]()'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In member function 'std::string vtksys_ios::stringstream::str()':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:91:
>>>> error: no matching function for call to
>>>> 'vtksys_ios::stringstream_cleanup::stringstream_cleanup(vtksys_ios::stringstream&)'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:72:
>>>> note: candidates are:
>>>> vtksys_ios::stringstream_cleanup::stringstream_cleanup()
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:72:
>>>> note:
>>>> vtksys_ios::stringstream_cleanup::stringstream_cleanup(const
>>>> vtksys_ios::stringstream_cleanup&)
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:99:
>>>> error: 'class vtksys_ios::stringstream' has no member named 'rdbuf'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:101:
>>>> error: 'vtksys_ios::stringstream::Superclass' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> At global scope:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:117:
>>>> error: expected ')' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:121:
>>>> error: ISO C++ forbids declaration of 'ostrstream' with no type
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:121:
>>>> error: expected ';' before '&' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In destructor 'vtksys_ios::ostringstream_cleanup::~ostringstream_cleanup()':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:118:
>>>> error: 'm_OStrStream' was not declared in this scope
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> At global scope:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:127:
>>>> error: expected class-name before '{' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:129:
>>>> error: 'ostrstream' does not name a type
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In constructor 'vtksys_ios::ostringstream::ostringstream(const
>>>> std::string&)':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:131:
>>>> error: no match for 'operator<<' in '*(vtksys_ios::ostringstream*)this <<
>>>> ((const std::string*)s)->std::basic_string<_CharT, _Traits, _Alloc>::c_str
>>>> [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
>>>> std::allocator<char>]()'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In member function 'std::string vtksys_ios::ostringstream::str()':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:134:
>>>> error: no matching function for call to
>>>> 'vtksys_ios::ostringstream_cleanup::ostringstream_cleanup(vtksys_ios::ostringstream&)'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:115:
>>>> note: candidates are:
>>>> vtksys_ios::ostringstream_cleanup::ostringstream_cleanup()
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:115:
>>>> note:
>>>> vtksys_ios::ostringstream_cleanup::ostringstream_cleanup(const
>>>> vtksys_ios::ostringstream_cleanup&)
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:136:
>>>> error: 'class vtksys_ios::ostringstream' has no member named 'pcount'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:137:
>>>> error: 'vtksys_ios::ostringstream::Superclass' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> At global scope:
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:160:
>>>> error: expected class-name before '{' token
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:163:
>>>> error: 'istrstream' does not name a type
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In constructor 'vtksys_ios::istringstream::istringstream()':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:165:
>>>> error: class 'vtksys_ios::istringstream' does not have any field named
>>>> 'IStrStream'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In constructor 'vtksys_ios::istringstream::istringstream(const
>>>> std::string&)':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:167:
>>>> error: class 'vtksys_ios::istringstream' does not have any field named
>>>> 'IStrStream'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:
>>>> In member function 'void vtksys_ios::istringstream::clear(int)':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtkmodular-android/Utilities/vtksys/ios/sstream:176:
>>>> error: 'vtksys_ios::istringstream::IStrStream' has not been declared
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:
>>>> In static member function 'static bool
>>>> vtksys::SystemTools::FindProgramPath(const char*, std::string&,
>>>> std::string&, const char*, const char*, const char*)':
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2748:
>>>> error: no match for 'operator<<' in 'msg << "Can not find the command line
>>>> program "'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2751:
>>>> error: no match for 'operator<<' in 'msg << exeName'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2753:
>>>> error: no match for 'operator<<' in 'msg << "\012"'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2756:
>>>> error: no match for 'operator<<' in 'msg << "  argv[0] = \""'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2758:
>>>> error: no match for 'operator<<' in 'msg << "  Attempted paths:\012"'
>>>> /home/ubuntu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtkmodular/Utilities/kwsys/SystemTools.cxx:2762:
>>>> error: no match for 'operator<<' in 'msg << "    \""'
>>>> [  2%] make[5]: ***
>>>> [Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.cxx.o] Error 1
>>>> make[5]: *** Waiting for unfinished jobs....
>>>> [  2%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftinit.c.o
>>>> Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftmm.c.o
>>>> [  2%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/bdf/bdf.c.o
>>>> [  2%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/cache/ftcache.c.o
>>>> [  2%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/cff/cff.c.o
>>>> make[4]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/cid/type1cid.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/lzw/ftlzw.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/pcf/pcf.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/pfr/pfr.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/psaux/psaux.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/pshinter/pshinter.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/psnames/psmodule.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/raster/raster.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/sfnt/sfnt.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/smooth/smooth.c.o
>>>> [  3%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/truetype/truetype.c.o
>>>> [  4%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/type1/type1.c.o
>>>> [  4%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/type42/type42.c.o
>>>> [  4%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/winfonts/winfnt.c.o
>>>> [  4%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftdebug.c.o
>>>> [  4%] Building C object
>>>> Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/builds/unix/ftsystem.c.o
>>>> Linking C static library ../../lib/libvtkfreetype.a
>>>> [  4%] Built target vtkfreetype
>>>> make[3]: *** [all] Error 2
>>>> make[2]: ***
>>>> [CMakeExternals/Stamp/vtkmodular-android/vtkmodular-android-build] Error 2
>>>> make[1]: *** [CMakeFiles/vtkmodular-android.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>> ====================================================
>>>>
>>>>
>>>> Regards,
>>>> Sishir
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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/20120226/b6effb66/attachment-0001.html>


More information about the Ves mailing list