[vtkusers] iOS compiling issues

Ken Martin ken.martin at kitware.com
Tue Nov 22 11:31:27 EST 2016


Here is the script I use

I believe you have to create/have a writable install directory. Below you
can see that script creates an install directory in the build directory. So
you probably need to mkdir install and set CMAKE_INSTALL_PREFIX to it.

Thanks
Ken

set(CTEST_SITE "kens_ipad.kitware")
set(CTEST_BUILD_NAME "iOS ES 3.0")
set(CTEST_CONFIGURATION_TYPE Debug)
set(CTEST_CMAKE_GENERATOR "Ninja")
set(CTEST_CUSTOM_WARNING_EXCEPTION
    ${CTEST_CUSTOM_WARNING_EXCEPTION} "has no symbols")

set(dashboard_cache "
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/local/bin/ninja
BUILD_TESTING:BOOL=OFF
BUILD_EXAMPLES:BOOL=ON
OPENGL_ES_VERSION:STRING=3.0
VTK_IOS_BUILD:BOOL=ON
CMAKE_INSTALL_PREFIX:PATH=/Users/kenmartin/Dashboards/My
Tests/vtkios_es3/install
")

set(dashboard_model "Nightly")

set(dashboard_binary_name vtkios_es3)

macro(dashboard_hook_init)
  file(MAKE_DIRECTORY "${CTEST_BINARY_DIRECTORY}/install")
endmacro()

include(${CTEST_SCRIPT_DIRECTORY}/common/vtk_common.cmake)




On Tue, Nov 22, 2016 at 11:09 AM, Jaime Campos <jaimefbc at gmail.com> wrote:

> Hi everyone,
>
> I'm trying to compile VTK from tag v7.1.0 for iOS using CMAKE and make.
> The configuration has the flag VTK_IOS_BUILD turned ON, so I suppose
> that's how we add support to build the iOS version of VTK.
>
> The problem begins with the make process, I'm getting errors such as:
>
> [ 77%] Performing build step for 'vtk-ios-device-arm64'
> make[3]: *** No rule to make target `install'.  Stop.
> make[2]: *** [CMakeExternals/Prefix/vtk-ios-device-arm64/src/vtk-ios-
> device-arm64-stamp/vtk-ios-device-arm64-build] Error 2
> make[1]: *** [CMakeFiles/vtk-ios-device-arm64.dir/all] Error 2
> make: *** [all] Error 2
>
> For the armv7, armv7s, arm64 and even the simulator architectures.
>
> Is the makefile being generated correctly ?
> Is anyone else having the same problem ?
>
> Thanks,
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161122/55a253ce/attachment.html>


More information about the vtkusers mailing list