<div dir="ltr">Hi Tom,<div><br></div><div>Those values only setup the default options for cmake.  Its better if you configure those values when using ccmake or cmake-gui then to modify the hard-coded values in the CMakeLists.txt</div>

<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 10:04 AM, Tom Panzarella <span dir="ltr"><<a href="mailto:tpanzarella@loveparkrobotics.com" target="_blank">tpanzarella@loveparkrobotics.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Casey, it seems to be working.<br>
<br>
For those following along, here is a diff to do what Casey suggests:<br>
<br>
[ ~/dev/android/VES/CMake ]<br>
tpanzarella@jelly: $ git diff<br>
diff --git a/CMake/ves-superbuild.cmake b/CMake/ves-superbuild.cmake<br>
index c5a034f..005abb9 100644<br>
--- a/CMake/ves-superbuild.cmake<br>
+++ b/CMake/ves-superbuild.cmake<br>
@@ -2,8 +2,8 @@ project(VES_SUPERBUILD NONE)<br>
<br>
 include(ExternalProject)<br>
<br>
-option(VES_USE_LIBARCHIVE "Should VES include libarchive support" ON)<br>
-option(VES_USE_CURL "Should VES include cURL support" ON)<br>
+option(VES_USE_LIBARCHIVE "Should VES include libarchive support" OFF)<br>
+option(VES_USE_CURL "Should VES include cURL support" OFF)<br>
 option(VES_USE_PCL "Should VES include PCL support" OFF)<br>
 set(PCL_SUPERBUILD_DIR "PCL_SUPERBUILD_DIR-NOTFOUND" CACHE PATH<br>
   "Directory containing CMakeExternals/Install with PCL and its dependencies")<br>
<br>
The code is currently building for me.<br>
<br>
Thanks,<br>
Tom<div class="im"><br>
<br>
On 10/11/2013 09:59 AM, Casey Goodlett wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
For now you can work around by disabling curl and libarchive when<br>
building for android.<br>
<br>
<br>
On Fri, Oct 11, 2013 at 9:55 AM, Tom Panzarella<br>
<<a href="mailto:tpanzarella@loveparkrobotics.com" target="_blank">tpanzarella@loveparkrobotics.<u></u>com</a><br></div><div class="im">
<mailto:<a href="mailto:tpanzarella@loveparkrobotics.com" target="_blank">tpanzarella@<u></u>loveparkrobotics.com</a>>> wrote:<br>
<br>
    Hi,<br>
<br>
    I'm not sure what errors you are encountering but I am also having<br>
    trouble building the code from a fresh VES checkout. Here is what I get:<br>
<br>
    tpanzarella@jelly: $ cmake -P configure.cmake<br>
    CMake Error at<br></div>
    /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:718 (get_property):<div class="im"><br>
<br>
       get_property could not find TARGET curl-android.  Perhaps it has<br>
    not yet<br>
       been created.<br>
    Call Stack (most recent call first):<br></div>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:932<br>
    (ExternalProject_Get_Property)<br>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:1488<br>
    (_ep_get_step_stampfile)<br>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:1702<div class="im"><br>
    (_ep_add_configure_command)<br>
<br>
       CMake/ves-superbuild.cmake:337 (ExternalProject_Add)<br>
       CMake/ves-superbuild.cmake:390 (crosscompile_ves)<br>
       CMakeLists.txt:3 (include)<br>
<br>
<br>
    CMake Error at<br></div>
    /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:720 (message):<div class="im"><br>
<br>
       External project "curl-android" has no stamp_dir<br>
    Call Stack (most recent call first):<br></div>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:932<br>
    (ExternalProject_Get_Property)<br>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:1488<br>
    (_ep_get_step_stampfile)<br>
       /usr/share/cmake-2.8/Modules/_<u></u>_ExternalProject.cmake:1702<div class="im"><br>
    (_ep_add_configure_command)<br>
<br>
       CMake/ves-superbuild.cmake:337 (ExternalProject_Add)<br>
       CMake/ves-superbuild.cmake:390 (crosscompile_ves)<br>
       CMakeLists.txt:3 (include)<br>
<br>
<br>
    -- Configuring incomplete, errors occurred!<br>
<br>
    Any help is greatly appreciated.<br>
<br>
    Best,<br>
    Tom<br>
<br>
<br></div><div class="im">
    On 10/11/2013 09:40 AM, <a href="mailto:DEB63@pitt.edu" target="_blank">DEB63@pitt.edu</a> <mailto:<a href="mailto:DEB63@pitt.edu" target="_blank">DEB63@pitt.edu</a>> wrote:<br>
<br>
        Hi<br>
<br>
        You mentioned below to try the current master.  These Android<br>
        configuration errors appear to be happening on the master<br>
        branch.....<br>
        Here is what I get, as I type the following, to perform a fresh<br>
        build from<br>
        the command prompt...<br>
        - - - - - - -<br></div>
        { ~ }-> git clone git://<a href="http://vtk.org/VES.git" target="_blank">vtk.org/VES.git</a> <<a href="http://vtk.org/VES.git" target="_blank">http://vtk.org/VES.git</a>><div class="im"><br>
        Cloning into 'VES'...<br>
        remote: Counting objects: 9593, done.<br>
        remote: Compressing objects: 100% (2998/2998), done.<br>
        remote: Total 9593 (delta 6433), reused 9525 (delta 6391)<br>
        Receiving objects: 100% (9593/9593), 26.32 MiB | 8.86 MiB/s, done.<br>
        Resolving deltas: 100% (6433/6433), done.<br>
        { ~ }-> cd VES<br>
        { ~/VES }-> git branch<br>
        * master                  < < < < < On the master branch < < <<br>
        { ~/VES }-> cd Apps/Android/CmakeBuild<br>
        { ~/VES/Apps/Android/CmakeBuild }-> cmake -P configure.cmake<br>
<br>
        [> > > > >(after a bunch of journal lines...)< < < < ]<br>
<br>
        -- Configuring incomplete, errors occurred!        < < < Error <<br>
          < <<br>
        { ~/VES/Apps/Android/CmakeBuild }-><br>
<br>
        - - - - - -<br>
        Thanks<br>
        Dave<br>
<br>
<br>
<br>
<br>
            On Wed, Oct 9, 2013 at 8:00 AM, Casey Goodlett<br>
            <<a href="mailto:casey.goodlett@kitware.com" target="_blank">casey.goodlett@kitware.com</a><br></div>
            <mailto:<a href="mailto:casey.goodlett@kitware.com" target="_blank">casey.goodlett@<u></u>kitware.com</a>>>__wrote:<div class="im"><br>
<br>
                Aashish,<br>
<br>
                I think we also have problems on the VES dashboard.  I<br>
                think there may<br>
                be<br>
                a problem with android builds with curl and libarchive<br>
                enabled.<br>
<br>
<br>
            I see. I can look into it today if you haven't done it<br>
            already. Thanks for<br>
            pointing it out.<br>
<br>
            - Aashish<br>
<br>
<br>
<br>
<br>
                On Tue, Oct 8, 2013 at 12:58 PM, Aashish Chaudhary <<br>
                <a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a><br></div><div class="im">
                <mailto:<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@<u></u>kitware.com</a>>> wrote:<br>
<br>
                    Could you please try the current master. We have<br>
                    done quite a bit of<br>
                    work<br>
                    on resolving most of the build issues and most of<br>
                    these changes are in<br>
                    master now.<br>
<br>
                    - Aashish<br>
<br>
<br>
<br>
                    On Tue, Oct 8, 2013 at 12:44 PM, <<a href="mailto:DEB63@pitt.edu" target="_blank">DEB63@pitt.edu</a><br></div><div class="im">
                    <mailto:<a href="mailto:DEB63@pitt.edu" target="_blank">DEB63@pitt.edu</a>>> wrote:<br>
<br>
                        Hi<br>
<br>
                        I tried to download/setup a fresh installation<br>
                        of VES for Android for<br>
                        a<br>
                        project that I have been working on -<br>
                        specifically using the<br>
                        kiwi-next-apps-resolved-next branch.  However,<br>
                        after trying to build<br>
                        my<br>
                        code with the new download, I ended up getting<br>
                        some link errors...<br>
                        errors<br>
                        that were never there before...<br>
<br>
                        "undefined reference to<br></div>
                        `vesKiwiDataLoader::__<u></u>setErrorOnMoreThan65kVertices(<u></u>__bool)'<div class="im"><br>
<br>
                        I will note that this code will build correctly<br>
                        using a VES install I<br>
                        did<br>
                        2-3 weeks ago.<br>
<br>
                        In an effort to track down the problem, I tried<br>
                        to perform a clean<br>
                        superbuild for Android... as per the basic setup<br>
                        instructions...<br>
                        $ export<br></div>
                        ANDROID_NDK=/path/to/__<u></u>installed/android-ndk<div class="im"><br>
                        $ cd Apps/Android/CMakeBuild<br>
                        $ cmake -P configure.cmake<br>
                        $ cd build<br>
                        $ make -j4<br>
<br>
                        however, the cmake -P configure.cmake<br>
                        now produces some errors, such as:<br>
<br>
<br>
                        { ~/VES/Apps/Android/CMakeBuild }-> cmake -P<br>
                        configure.cmake<br>
                        -- Found PythonInterp: /usr/bin/python (found<br>
                        version "2.7.2")<br>
                        -- Found Git: /usr/bin/git (found version<br>
                        "1.7.12.4 (Apple Git-37)")<br>
                        CMake Error at /Applications/CMake<br></div>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:718<div class="im"><br>
                        (get_property):<br>
                            get_property could not find TARGET<br>
                        curl-android.  Perhaps it has not<br>
                        yet<br>
                            been created.<br>
                        Call Stack (most recent call first):<br>
                            /Applications/CMake<br></div>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:932<br>
                        (ExternalProject_Get_Property)<br>
                            /Applications/CMake<br>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:1488<br>
                        (_ep_get_step_stampfile)<br>
                            /Applications/CMake<br>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:1702<div class="im"><br>
                        (_ep_add_configure_command)<br>
                            CMake/ves-superbuild.cmake:337<br>
                        (ExternalProject_Add)<br>
                            CMake/ves-superbuild.cmake:390<br>
                        (crosscompile_ves)<br>
                            CMakeLists.txt:3 (include)<br>
<br>
<br>
                        CMake Error at /Applications/CMake<br></div>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:720<div class="im"><br>
                        (message):<br>
                            External project "curl-android" has no stamp_dir<br>
                        Call Stack (most recent call first):<br>
                            /Applications/CMake<br></div>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:932<br>
                        (ExternalProject_Get_Property)<br>
                            /Applications/CMake<br>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:1488<br>
                        (_ep_get_step_stampfile)<br>
                            /Applications/CMake<br>
                        2.8-10.app/Contents/share/__<u></u>cmake-2.8/Modules/__<u></u>ExternalProject.cmake:1702<div class="im"><br>
                        (_ep_add_configure_command)<br>
                            CMake/ves-superbuild.cmake:337<br>
                        (ExternalProject_Add)<br>
                            CMake/ves-superbuild.cmake:390<br>
                        (crosscompile_ves)<br>
                            CMakeLists.txt:3 (include)<br>
<br>
<br>
                        -- Configuring incomplete, errors occurred!<br>
<br>
                        <<<<<<<<<br>
<br>
                        Any suggestions?<br>
<br>
                        Thanks<br>
                        Dave<br>
<br>
<br></div>
                        ______________________________<u></u>___________________<br>
                        Ves mailing list<br>
                        <a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
                        <mailto:<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><u></u>><br>
                        <a href="http://public.kitware.com/cgi-__bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-<u></u>__bin/mailman/listinfo/ves</a><div class="im"><br>
                        <<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/<u></u>cgi-bin/mailman/listinfo/ves</a>><br>
<br>
<br>
<br>
<br>
                    --<br>
                    | Aashish Chaudhary<br>
                    | R&D Engineer<br>
                    | Kitware Inc.<br></div>
                    | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<br>
                    ______________________________<u></u>___________________<br>
                    Ves mailing list<br>
                    <a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a> <mailto:<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><u></u>><br>
                    <a href="http://public.kitware.com/cgi-__bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-<u></u>__bin/mailman/listinfo/ves</a><div class="im"><br>
                    <<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/<u></u>cgi-bin/mailman/listinfo/ves</a>><br>
<br>
<br>
<br>
<br>
                --<br>
                Casey B. Goodlett, Ph.D.<br>
                R&D Engineer<br>
                Kitware, Inc. - North Carolina Office<br>
                <a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br></div>
                <a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a> <tel:%28919%29%20969-6990%<u></u>20x310><div class="im"><br>
<br>
<br>
<br>
<br>
            --<br>
            | Aashish Chaudhary<br>
            | R&D Engineer<br>
            | Kitware Inc.<br></div>
            | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
            ______________________________<u></u>___________________<br>
            Ves mailing list<br>
            <a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a> <mailto:<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><u></u>><br>
            <a href="http://public.kitware.com/cgi-__bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-<u></u>__bin/mailman/listinfo/ves</a><br>
            <<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/<u></u>cgi-bin/mailman/listinfo/ves</a>><br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        Ves mailing list<br>
        <a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a> <mailto:<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><u></u>><br>
        <a href="http://public.kitware.com/cgi-__bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-<u></u>__bin/mailman/listinfo/ves</a><br>
        <<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/<u></u>cgi-bin/mailman/listinfo/ves</a>><br>
<br>
    ______________________________<u></u>___________________<br>
    Ves mailing list<br>
    <a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a> <mailto:<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><u></u>><br>
    <a href="http://public.kitware.com/cgi-__bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-<u></u>__bin/mailman/listinfo/ves</a><div class="im"><br>
    <<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/<u></u>cgi-bin/mailman/listinfo/ves</a>><br>
<br>
<br>
<br>
<br>
--<br>
Casey B. Goodlett, Ph.D.<br>
R&D Engineer<br>
Kitware, Inc. - North Carolina Office<br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a><br>
</div></blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Casey B. Goodlett, Ph.D.<br>R&D Engineer<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com">http://www.kitware.com</a><br>(919) 969-6990 x310
</div>