[Ves] Errors during VES building for iOS

Xiaopeng Yang yxp233 at postech.ac.kr
Wed Sep 4 10:34:36 EDT 2013


Hi Aashish,

 

Did you replicate the issue on your Mac? Can I have another question? What
environments, like what system and which version, which version of Xcode, do
you use for VES/Kiwi iPad development? Thank you.

 

Best,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Tuesday, September 03, 2013 10:33 PM
To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building for iOS

 

Hi Xiaopeng, 

 

Let me see if I can replicate the issue on my Mac (10.8). Last time I was
able to built it successfully and your errors seems odd. 

 

- Aashish

 

On Tue, Sep 3, 2013 at 3:28 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Also attached please find the CMakeCache.txt file.

 

Thank you very much for your help!

 

Best,

Xiaopeng

 

From: ves-bounces at public.kitware.com [mailto:ves-bounces at public.kitware.com]
On Behalf Of Xiaopeng Yang
Sent: Tuesday, September 03, 2013 4:11 PM


To: 'Aashish Chaudhary'
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building for iOS

 

Sorry I am using OS X 10.8 not iOS 10.8.

 

From: ves-bounces at public.kitware.com [mailto:ves-bounces at public.kitware.com]
On Behalf Of Xiaopeng Yang
Sent: Tuesday, September 03, 2013 4:02 PM
To: 'Aashish Chaudhary'
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building for iOS

 

Dear Aashish,

 

After several days’ effort in building VES on iOS by following your
instructions, I am still struggling and cannot get it worked properly.
Attached please find the whole building process I did. Still there are many
errors.

 

I used CMake GUI to configure VES. I specified the generator for the project
as “Unix Makefiles”à”Use default native compilers”. Then I enabled
VES_USE_CURL and VES_USE_LIBARCHIVE.

 

I am using iOS 10.8, Xcode 4.6.3 and I installed Command Line Tools, iOS
6.0, 5.1, 5.0 Simulator, Mac OS X 10.6 Core Library under
Xcode/Preferences/Downloads.

 

Could you please check the attached building process and point out where I
made a mistake? I am so depressed after I tried about 50 times building VES.
I hope there could be a more detailed manual for teaching how to build VES
in the future. 

 

Best regards,

Xiaopeng

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Friday, August 30, 2013 11:38 PM
To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

 

On Fri, Aug 30, 2013 at 10:35 AM, Xiaopeng Yang <yxp233 at postech.ac.kr>
wrote:

Do I need to run make rebuild_cache or just make –j4? I already deleted
everything under the building directory.

 

If you deleted everything and ran ccmake / cmake again then just make -j4
should be good. 

 

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Friday, August 30, 2013 11:33 PM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

If you already done git fetch, then do git reset --hard origin/master like
show below:

 

> git fetch 

> git checkout master

> git reset --hard origin/master

 

On Fri, Aug 30, 2013 at 10:31 AM, Xiaopeng Yang <yxp233 at postech.ac.kr>
wrote:

Hi Ashish,

 

After I tried git checkout master, a message appeared: Already on ‘master’
Your branch is behind ‘origin/master’ by 6 commits, and can be
fast-forwarded. 

 

Shall I skip this and do git reset --hard origin/master?

 

Thanks,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Friday, August 30, 2013 11:24 PM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

No you don't need that just the IOS one should work. Also, after you do what
I said in my previous email: 

 

Make sure to run: 

 

make rebuild_cache

 

Thanks, 

Aashish

 

 

On Fri, Aug 30, 2013 at 10:18 AM, Xiaopeng Yang <yxp233 at postech.ac.kr>
wrote:

Also do I need to turn on VES_HOST_SUPERBUILD?

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Friday, August 30, 2013 10:47 PM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

Ok, this makes it clear. You need to TURN ON the VES_USE_CURL in the cmake /
ccmake  / cmake-gui as the KiwiViewer needs it. 

 

So please do this: 

 

> cd your_build_dir_the_top_level

> ccmake .

> VES_USE_CURL ON

> VES_USE_LIBARCHIVE ON

 

Let us know, how it goes. Also, Would you mind pulling latest changes? We
pushed a fix that may solve the makeFrameworks.sh problem you run into
before. For that, do this: 

 

> cd your_ves_source_dir

> git fetch 

> git checkout master

> git reset --hard origin/master

 

Thanks,

Aashish

 

 

On Fri, Aug 30, 2013 at 8:43 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Hi Chaudhary,

 

Enclosed please find the file "vesKiwiOptions.h". Thank you very much.

 

Best,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Wednesday, August 28, 2013 11:38 PM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

Can you send me this file "vesKiwiOptions.h". Look for this file in the
build tree. 

 

Thanks,

 

 

On Tue, Aug 27, 2013 at 9:38 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Thank you very much! Now I am debugging KiwiViewer using Xcode. But I get
errors like: vesKiwiCurlDownloader.h file not found. Could you please let me
know how to solve this problem?

 

Thanks,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Wednesday, August 28, 2013 6:26 AM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

 

On Tue, Aug 27, 2013 at 2:56 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Hi 

 

I tried make –j1 as you suggested. And no error occurred. I have another
question. In step 4 of creating a symlink, do I need to go to Apps/iOS
directory using $ cd <ves src dir>/Apps/iOS and then run $ ln –s <build
dir>/CMakeExternals/Install/frameworks ./frameworks?

 

Yes, this is also mentioned in the README.txt for Apps/iOS

 

 

 

Thanks,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Wednesday, August 28, 2013 2:58 AM


To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

Thanks, can you run 

 

> make -j1

 

Also, what is your git SHA>? 

 

I am not seeing anything obvious in the cache. 

 

Thanks

 

 

On Tue, Aug 27, 2013 at 1:49 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Hi Chaudhary,

 

I was trying to build VES for iOS app development by following the
instruction in README.txt under VES/Apps/iOS. The make –j4 is the 3rd step
in that instruction file. 

Attached is the CMakeCache.txt file. By the way, I was at the very beginning
stage of VES.

 

Thanks,

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Wednesday, August 28, 2013 2:32 AM
To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Errors during VES building using make -j4

 

I have not seen this error before. What branch of VES you are tying to
build? Also can you send us your CMakeCache.txt? 

 

Thanks

 

 

On Tue, Aug 27, 2013 at 1:15 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Dear VES users,

 

After I built VES using make –j4, I got two errors. Could anyone let me know
why these errors occurred?

 

[ 71%] Built target vtk-ios-device

Scanning dependencies of target ves-ios-device

Scanning dependencies of target vtk-framework

[ 75%] [ 75%] -- The CXX compiler identification is GNU 4.2.1

Creating vtk framework

Creating directories for 'ves-ios-device'

make[2]: /Applications/ToolBox/VES/VES/CMake/makeFramework.sh: No such file
or directory

make[2]: *** [CMakeFiles/vtk-framework] Error 1

make[1]: *** [CMakeFiles/vtk-framework.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

 

Thank you very much in advance.

 

Best regards,

Xiaopeng Yang

 

 

_______________________________________________
Ves mailing list
Ves at public.kitware.com
http://public.kitware.com/cgi-bin/mailman/listinfo/ves





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130904/d460f36d/attachment-0001.html>


More information about the Ves mailing list