[Ves] problems building ves for android (Mohammad Khatami)
Daniel Fuentes
daniel.fuentes at softwaredelcentro.com.ar
Fri May 16 12:53:59 EDT 2014
Hi, I built ves for android a couple of months ago.
I don't had the same error that you have.
But I was be forced to use only cmake version 2.8.9.
With newest versions (2.8.12 in that time) the android toolchain dont work properly.
This happened to me, only on Linux. Later, I tried to build again for android on Mac and all version of cmake, they had a proper workings.
On the next days, I will try to build the lastest version of ves according to the steps described on:
http://www.kitware.com/blog/home/post/546
and I will send to you my feedback about that.
Daniel Fuentes
Software del Centro
daniel.fuentes at softwaredelcentro.com.ar
(0249)430-5085
Int 1103
----- Mensaje original -----
De: ves-request at public.kitware.com
Para: ves at public.kitware.com
Enviados: Viernes, 16 de Mayo 2014 13:00:01
Asunto: Ves Digest, Vol 28, Issue 4
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: problems building ves for android (Mohammad Khatami)
2. Re: problems building ves for android (Mohammad Khatami)
----------------------------------------------------------------------
Message: 1
Date: Fri, 16 May 2014 15:35:39 +0200
From: Mohammad Khatami <mdkhatami at gmail.com>
To: Aashish Chaudhary <aashish.chaudhary at kitware.com>
Cc: "ves at public.kitware.com" <ves at public.kitware.com>
Subject: Re: [Ves] problems building ves for android
Message-ID:
<CALGJvOdVNKbFLPg=RK0niaAgJgR7HGN+gC06=KtBmnw8M9urFA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
*Hi,*
*I still have a problem when I want to creat Kiwi project for eclipse. I
used the command which you provided here:*
*http://www.kitware.com/blog/home/post/546
<http://www.kitware.com/blog/home/post/546>*
*but I get this error:*
*CMake Warning at
/home/mohammad/android/adt-bundle/VES/CMake/toolchains/android.toolchain.cmake:442
(message):*
* Could not determine machine name for compiler from*
*
/home/mohammad/android/adt-bundle/ndk/toolchains/renderscript/prebuilt/linux-x86*
*Call Stack (most recent call first):*
*
/home/mohammad/android/adt-bundle/VES/CMake/toolchains/android.toolchain.cmake:650
(__DETECT_TOOLCHAIN_MACHINE_NAME)*
*
/home/mohammad/android/adt-bundle/VES/CMake/toolchains/android.toolchain.cmake:695
(__GLOB_NDK_TOOLCHAINS)*
* /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:93 (include)*
* CMakeLists.txt:2 (project)*
*-- Could not determine Eclipse version, assuming at least 3.6 (Helios).
Adjust CMAKE_ECLIPSE_VERSION if this is wrong.*
*CMake Error at CMakeLists.txt:12 (message):*
* Kiwi does not support in-source builds :) .*
*However the ndk and sdk working correctly on my machine and I use Ubuntu
14.04 as my OS.*
*would you please help me how to solve it?*
*Best Regards,*
*Mohammad*
On 6 May 2014 15:43, Aashish Chaudhary <aashish.chaudhary at kitware.com>wrote:
> Hi Jamie,
>
> The instructions there pretty much should work for Linux and Mac as well.
> Have a look at the previous blog in case you have not read it:
>
> http://www.kitware.com/blog/home/post/546
>
> This was specific to Linux.
>
> Thanks,
>
>
> On Tue, May 6, 2014 at 5:41 AM, Wright James (NHS Greater Glasgow & Clyde)
> <jamie.wright at nhs.net> wrote:
>
>> Hi Aashish
>>
>> Thanks for publishing this blog post. Can I ask if there will be similar
>> posts that are more Linux and iOS centric
>>
>> Jamie
>>
>> jamie.wright at nhs.net
>> ________________________________________
>> From: Ves [ves-bounces at public.kitware.com] On Behalf Of Aashish
>> Chaudhary [aashish.chaudhary at kitware.com]
>> Sent: 03 May 2014 16:08
>> To: w.schmeing at vissoft.de
>> Cc: ves at public.kitware.com
>> Subject: Re: [Ves] problems building ves for android
>>
>> Hi Walter,
>>
>> Have a look at this post we just published:
>> http://www.kitware.com/blog/posts/view/642. Make sure you use Android 8
>> for now.
>>
>> Any feedback is greatly appreciated.
>>
>> Thanks
>>
>>
>>
>> On Sat, May 3, 2014 at 4:13 AM, Walter Schmeing <w.schmeing at vissoft.de
>> <mailto:w.schmeing at vissoft.de>> wrote:
>> Hello Aashish,
>>
>> I have the same problem when trying to build the KiwiViewer using the
>> following instructions:
>> http://www.vtk.org/Wiki/VES/Download_And_Build_Instructions
>>
>> $ cd Apps/Android/Kiwi
>> $
>> $ # if android, adb, ant, or cmake are not in your PATH, edit tools.sh to
>> enter the correct paths
>> $
>> $ ./configure_cmake.sh
>> $ ./configure_ant.sh
>> $ ./compile.sh
>>
>> No scripts can be found in Apps/Android/Kiwi
>>
>> You wrote to Jamie:
>>
>> Let me send you a PDF (or we may just publish this document) that
>> describe the new process.
>> Is this PDF publicly available yet, or can you send it to me ?
>>
>>
>> Regards,
>> Walter
>>
>>
>> Am 01.05.2014 20:56, schrieb Aashish Chaudhary:
>> Hi Jamie,
>>
>> Let me send you a PDF (or we may just publish this document) that
>> describe the new process.
>>
>> - Aashish
>>
>>
>>
>> On Thu, May 1, 2014 at 12:07 PM, Wright James (NHS Greater Glasgow &
>> Clyde) <jamie.wright at nhs.net<mailto:jamie.wright at nhs.net>> wrote:
>> Dear All,
>>
>> I have run into some problems when attempting to build VES for Android on
>> my Ubuntu machine. I was following along with the webinar hosted by Pat
>> Marion and seemed to be getting there. However after running the VES
>> superbuild I went into the /Apps/Android/Kiwi directory and there are no
>> build scripts (.sh files) here, however there are in the GIT checkout that
>> Pat uses for the webinar. There are however /assets and /bin directories
>> already here. Does this mean that the Kiwi app now comes pre-built with the
>> latest GIT VES branch?
>>
>> I then opened it as an Android project in eclipse and attempted to run it
>> from eclipse. However in this case there were compilation errors,
>> specifically that the auto-generated R resources file could not be found.
>> In the past when creating Android apps and running into this error I have
>> resolved it by deleting the gen/ directory. Eclipse then rebuilds this
>> directory and usually the R file is generated also. Does anyone know why
>> the R file is failing to generate?
>>
>> thanks, Jamie
>>
>> jamie.wright at nhs.net<mailto:jamie.wright at nhs.net>
>>
>>
>> ********************************************************************************************************************
>>
>> This message may contain confidential information. If you are not the
>> intended recipient please inform the
>> sender that you have received the message in error before deleting it.
>> Please do not disclose, copy or distribute information in this e-mail or
>> take any action in reliance on its contents:
>> to do so is strictly prohibited and may be unlawful.
>>
>> Thank you for your co-operation.
>>
>> NHSmail is the secure email and directory service available for all NHS
>> staff in England and Scotland
>> NHSmail is approved for exchanging patient data and other sensitive
>> information with NHSmail and GSi recipients
>> NHSmail provides an email address for your career in the NHS and can be
>> accessed anywhere
>>
>>
>> ********************************************************************************************************************
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com<mailto:Ves at public.kitware.com>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>>
>> --
>> | Aashish Chaudhary
>> | Technical Leader
>> | Kitware Inc.
>> | http://www.kitware.com/company/team/chaudhary.html
>>
>>
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com<mailto:Ves at public.kitware.com>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>>
>>
>> --
>> VISTEC Software GmbH Fon:+49(0)30/6392-6060
>> <tel:%2B49%280%2930%2F6392-6060>
>> Dipl.-Ing. Walter Schmeing Fax:+49(0)30/6392-6062
>> <tel:%2B49%280%2930%2F6392-6062>
>> Justus-von-Liebig-Stra?e 7 w.schmeing at vissoft.de<mailto:
>> w.schmeing at vissoft.de>
>> 12489 Berlin, Germany http://www.vissoft.de
>>
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com<mailto:Ves at public.kitware.com>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>>
>>
>> --
>> | Aashish Chaudhary
>> | Technical Leader
>> | Kitware Inc.
>> | http://www.kitware.com/company/team/chaudhary.html
>>
>>
>> ********************************************************************************************************************
>>
>> This message may contain confidential information. If you are not the
>> intended recipient please inform the
>> sender that you have received the message in error before deleting it.
>> Please do not disclose, copy or distribute information in this e-mail or
>> take any action in reliance on its contents:
>> to do so is strictly prohibited and may be unlawful.
>>
>> Thank you for your co-operation.
>>
>> NHSmail is the secure email and directory service available for all NHS
>> staff in England and Scotland
>> NHSmail is approved for exchanging patient data and other sensitive
>> information with NHSmail and GSi recipients
>> NHSmail provides an email address for your career in the NHS and can be
>> accessed anywhere
>>
>>
>> ********************************************************************************************************************
>>
>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader | Kitware Inc. *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>
> _______________________________________________
> 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/20140516/9a02a35b/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 16 May 2014 16:07:53 +0200
From: Mohammad Khatami <mdkhatami at gmail.com>
To: Aashish Chaudhary <aashish.chaudhary at kitware.com>
Cc: "ves at public.kitware.com" <ves at public.kitware.com>
Subject: Re: [Ves] problems building ves for android
Message-ID:
<CALGJvOcFYGtGttSxGvLc9_zOdcoJAs8amHAU0tEq4F6mgovm1A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
*Hi again,*
*Also when I use sh file in Pointcloud directory to create that application
I get this error:*
*+ cd /home/mohammad/android/adt-bundle/VES/Apps/Android/PointCloud*
*+ make*
*Linking CXX shared library ../libs/armeabi-v7a/libPointCloud.so*
*/home/mohammad/android/adt-bundle/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/lib/libvtktiff-6.0.a(tif_dirinfo.c.o):tif_dirinfo.c:function
vtk_TIFFFindFieldInfoByName: error: undefined reference to 'lfind'*
*collect2: error: ld returned 1 exit status*
*make[2]: *** [libs/armeabi-v7a/libPointCloud.so] Error 1*
*make[1]: *** [jni/CMakeFiles/PointCloud.dir/all] Error 2*
*make: *** [all] Error 2*
*+ exit*
*Does anybody know how can I solve it?*
*Best Regards,*
*Mohammad*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140516/3c8362da/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 28, Issue 4
**********************************
More information about the Ves
mailing list