[Ves] VES iOS build issue

Asad Ullah Naweed asad at cs.unc.edu
Sat Sep 7 11:40:11 EDT 2013


David's reply resolved the issue. Ashish pushed a fix for this to the
latest branch, and then it worked. The trick is to apply the following
steps after the git clone.

Try the next branch. Aashish just pushed a fix for this today.

> git fetch --all -p

> git checkout --track origin/next

or if already has checkout next

> git checkout next

> git reset --hard origin/next




On Sat, Sep 7, 2013 at 11:13 AM, Sebastien Calvi
<sebastien.calvi at yahoo.com>wrote:

> Hello Asad,
>
> I have had the exact same error message a couple of days ago…
> And I have tried on several machines:
> - an old macBook pro (dual core, OSX 10.7.5)
> -  mac mini i7, OSX 10.8.4
> - imac i3, OSX 10.8.4
>
> Each time it failed with the same prompt as below (email that I'm
> responding to)
> It is by pure chance that I found out how to build it, my problem was the
> cmake!
>
> At first I had installed (each time) cake from:
> www.cmake.org
>
> Then I've asked a friend to build it on his own macBook Pro and it worked,
> the only difference was that he had cake installed from macPorts:
> http://www.macports.org
>
> Both show the same revision number but "obviously" one does install
> dependencies or whatever that the other one does not.
>
> Following that discovery I have installed macPorts on all the pre-listed
> machines, re-installed cmake from macports and then was able to build on
> every machines with no error at all!
>
> I hope that it will help!
>
> Sebastien Calvi.
>
> On Sep 6, 2013, at 10:19 PM, Asad Ullah Naweed <asad at cs.unc.edu> wrote:
>
> > During the make process, it cant seem to find any headers from the
> CarbonCore framework. Anyone else have this issue? I believe its deprecated
> now in iOS 6.1.
> >
> > I'm using OSX 10.8.3, Xcode 4.6.3 and iOS SDK 6.1. I'm copying the build
> error in detail below for reference. I'd really appreciate if someone could
> help me out with this. I followed the instructions in the README to the
> letter, except that I used make -j1 instead of make -j4.
> >
> > Thanks so much in advance.
> >
> > -Asad
> >
> >
> > [ 96%] Building C object
> ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o
> > In file included from
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
> >                  from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,
> >                  from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125:39:
> error: CarbonCore/DriverServices.h: No such file or directory
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:161:27:
> error: CarbonCore/fp.h: No such file or directory
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:194:42:
> error: CarbonCore/MachineExceptions.h: No such file or directory
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:210:35:
> error: CarbonCore/HFSVolumes.h: No such file or directory
> > In file included from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,
> >                  from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25:35:
> error: OSServices/OSServices.h: No such file or directory
> >
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37:45:
> error: WebServicesCore/WebServicesCore.h: No such file or directory
> > In file included from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:101:53:
> error: ApplicationServices/ApplicationServices.h: No such file or directory
> > In file included from
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:142:
> error: expected ‘)’ before ‘ats_font_id’
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:
> In function ‘FT_GetFileRef_From_Mac_ATS_Name’:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179:
> error: ‘ATSFontRef’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179:
> error: (Each undeclared identifier is reported only once
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179:
> error: for each function it appears in.)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179:
> error: expected ‘;’ before ‘ats_font_id’
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:186:
> error: ‘ats_font_id’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:187:
> error: ‘kATSOptionFlagsDefault’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:199:
> error: expected ‘;’ before ‘id2’
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:203:
> error: ‘id2’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:
> In function ‘count_faces_sfnt’:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:351:
> error: ‘FamRec’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:
> In function ‘count_faces_scalable’:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:359:
> error: ‘AsscEntry’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:359:
> error: ‘assoc’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:360:
> error: ‘FamRec’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:360:
> error: ‘fond’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:364:
> error: expected expression before ‘)’ token
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:367:
> error: expected expression before ‘)’ token
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:
> In function ‘parse_fond’:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:394:
> error: ‘AsscEntry’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:394:
> error: ‘assoc’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:395:
> error: ‘base_assoc’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:396:
> error: ‘FamRec’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:396:
> error: ‘fond’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:403:
> error: expected expression before ‘)’ token
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:404:
> error: expected expression before ‘)’ token
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:433:
> error: ‘StyleTable’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:433:
> error: ‘style’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:441:
> error: expected expression before ‘)’ token
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:
> In function ‘FT_New_Face_From_Suitcase’:
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:800:
> error: ‘ResourceIndex’ undeclared (first use in this function)
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:800:
> error: expected ‘;’ before ‘res_index’
> >
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:813:
> error: ‘res_index’ undeclared (first use in this function)
> > make[5]: ***
> [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o]
> Error 1
> > make[4]: ***
> [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/all] Error 2
> > make[3]: *** [all] Error 2
> > make[2]: ***
> [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-build] Error 2
> > make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > --
> >
> >
> > -Asad
> > _______________________________________________
> > Ves mailing list
> > Ves at public.kitware.com
> > http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>


-- 


-Asad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130907/631eba6f/attachment-0002.html>


More information about the Ves mailing list