[Ves] problems building ves for android
Aashish Chaudhary
aashish.chaudhary at kitware.com
Fri May 16 13:04:22 EDT 2014
Looks like you are doing in-source builds? Make sure you don't do this:
1. in the src tree, run git clean -dfx
2. go one directory up and create build directory and from ther run
ccmake.
*Kiwi does not support in-source build*
On Fri, May 16, 2014 at 9:35 AM, Mohammad Khatami <mdkhatami at gmail.com>wrote:
> *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
>>
>>
>
--
*| Aashish Chaudhary | Technical Leader | Kitware Inc. *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140516/4627032e/attachment-0003.html>
More information about the Ves
mailing list