<div dir="ltr">Hi Sebatien, <div><br></div><div style>The cause of this problem was spaces in the path for cmake command. Depending on from where you installed the cmake you may have spaces such as </div><div style><br></div>
<div style><font face="courier new, monospace">Applications/ foo bar/cmake</font></div><div style><br></div><div style>We prevented the problem by putting double quotes around it (its always a good practice anyways IMO). The fixed we pushed on next should work for you as well as pointed out by Dave. </div>
<div style><br></div><div style>Hope it helps. </div><div style><br></div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 7, 2013 at 11:13 AM, Sebastien Calvi <span dir="ltr"><<a href="mailto:sebastien.calvi@yahoo.com" target="_blank">sebastien.calvi@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Asad,<br>
<br>
I have had the exact same error message a couple of days ago…<br>
And I have tried on several machines:<br>
- an old macBook pro (dual core, OSX 10.7.5)<br>
- mac mini i7, OSX 10.8.4<br>
- imac i3, OSX 10.8.4<br>
<br>
Each time it failed with the same prompt as below (email that I'm responding to)<br>
It is by pure chance that I found out how to build it, my problem was the cmake!<br>
<br>
At first I had installed (each time) cake from:<br>
<a href="http://www.cmake.org" target="_blank">www.cmake.org</a><br>
<br>
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:<br>
<a href="http://www.macports.org" target="_blank">http://www.macports.org</a><br>
<br>
Both show the same revision number but "obviously" one does install dependencies or whatever that the other one does not.<br>
<br>
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!<br>
<br>
I hope that it will help!<br>
<span class="HOEnZb"><font color="#888888"><br>
Sebastien Calvi.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sep 6, 2013, at 10:19 PM, Asad Ullah Naweed <<a href="mailto:asad@cs.unc.edu">asad@cs.unc.edu</a>> wrote:<br>
<br>
> 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.<br>
><br>
> 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.<br>
><br>
> Thanks so much in advance.<br>
><br>
> -Asad<br>
><br>
><br>
> [ 96%] Building C object ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o<br>
> 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,<br>
> from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,<br>
> from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:<br>
> /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<br>
> /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<br>
> /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<br>
> /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<br>
> In file included from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:100,<br>
> from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:<br>
> /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<br>
> /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<br>
> In file included from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:<br>
> /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<br>
> In file included from /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:142: error: expected ‘)’ before ‘ats_font_id’<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c: In function ‘FT_GetFileRef_From_Mac_ATS_Name’:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179: error: ‘ATSFontRef’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179: error: (Each undeclared identifier is reported only once<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179: error: for each function it appears in.)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:179: error: expected ‘;’ before ‘ats_font_id’<br>
> /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)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:187: error: ‘kATSOptionFlagsDefault’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:199: error: expected ‘;’ before ‘id2’<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:203: error: ‘id2’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c: In function ‘count_faces_sfnt’:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:351: error: ‘FamRec’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c: In function ‘count_faces_scalable’:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:359: error: ‘AsscEntry’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:359: error: ‘assoc’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:360: error: ‘FamRec’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:360: error: ‘fond’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:364: error: expected expression before ‘)’ token<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:367: error: expected expression before ‘)’ token<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c: In function ‘parse_fond’:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:394: error: ‘AsscEntry’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:394: error: ‘assoc’ undeclared (first use in this function)<br>
> /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)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:396: error: ‘FamRec’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:396: error: ‘fond’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:403: error: expected expression before ‘)’ token<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:404: error: expected expression before ‘)’ token<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:433: error: ‘StyleTable’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:433: error: ‘style’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:441: error: expected expression before ‘)’ token<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c: In function ‘FT_New_Face_From_Suitcase’:<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:800: error: ‘ResourceIndex’ undeclared (first use in this function)<br>
> /Users/Asad/Desktop/VES-build/CMakeExternals/Source/vtk/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:800: error: expected ‘;’ before ‘res_index’<br>
> /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)<br>
> make[5]: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o] Error 1<br>
> make[4]: *** [ThirdParty/freetype/vtkfreetype/CMakeFiles/vtkfreetype.dir/all] Error 2<br>
> make[3]: *** [all] Error 2<br>
> make[2]: *** [CMakeExternals/Stamp/vtk-ios-simulator/vtk-ios-simulator-build] Error 2<br>
> make[1]: *** [CMakeFiles/vtk-ios-simulator.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> --<br>
><br>
><br>
> -Asad<br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Ves mailing list<br>
> <a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>
</div>