<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,&nbsp;<div class=""><br class=""></div><div class="">you have to check the README of&nbsp;<a href="https://github.com/pharo-project/pharo-vm" class="">https://github.com/pharo-project/pharo-vm</a>&nbsp;:)</div><div class=""><br class=""></div><div class="">Esteban</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 17 Nov 2014, at 16:58, Ben Coman &lt;<a href="mailto:btc@openInWorld.com" class="">btc@openInWorld.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><br class="">I followed the instructions at <a href="https://github.com/pharo-project/pharo-vm" class="">https://github.com/pharo-project/pharo-vm</a><br class="">to build the Pharo VM. In generator.image I evaluated...<br class=""> &nbsp;&nbsp;&nbsp;PharoVMBuilder buildMacOSX32.<br class="">then<br class=""> &nbsp;&nbsp;&nbsp;cd ../build<br class=""> &nbsp;&nbsp;&nbsp;bash build.sh<br class=""><br class="">After cmake finished its checks, it tried to compile freetype (2.4.9) but gets errors...<br class=""><br class="">*Generating /Users/ben/Repos/pharo-vm/results/Pharo.app/Contents/MacOS/Plugins/libfreetype.6.dylib*<br class=""><br class="">clang: warning: no such sysroot directory:<br class="">'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk'<br class=""><br class="">**fatal error: **'math.h' file not found*<br class=""><br class=""><br class="">And indeed, I don't have<br class=""> &nbsp;../MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk<br class="">I have<br class=""> &nbsp;../MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk<br class=""><br class="">So updating CMakeLists.txt as follows...<br class="">+ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9)<br class="">+ set(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk)<br class=""><br class="">- set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)<br class="">- set(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk)<br class=""><br class="">allowed the build to progress further.<br class=""><br class="">=========<br class=""><br class="">Then the build failed getting "too many errors" that looked somewhat like this...<br class="">/Users/ben/Repos/pharo-vm/platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m:208:18: error: use of undeclared identifier 'GL_TEXTURE_RECTANGLE_ARB'<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, GL_NEAREST);<br class=""><br class="">Tracked down a likely suspect here...<br class=""><a href="https://codereview.chromium.org/587193005/diff/1/content/browser/compositor/io_surface_layer_mac.mm" class="">https://codereview.chromium.org/587193005/diff/1/content/browser/compositor/io_surface_layer_mac.mm</a><br class=""><br class="">And indeed editing...<br class=""> &nbsp;&nbsp;&nbsp;platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m<br class=""><br class="">to add...<br class=""> &nbsp;&nbsp;&nbsp;#import &lt;OpenGL/gl.h&gt;<br class=""><br class="">gave me a working VM.<br class=""><br class=""><br class="">=========<br class=""><br class="">Should I log these somewhere ?<br class="">cheers -ben<br class=""></div></blockquote></div><br class=""></div></body></html>