<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">You can use my scripts if you like: <a href="http://github.com/theseion/stuff.git" class="">http://github.com/theseion/stuff.git</a></div><div class=""><br class=""></div><div class="">I use them to build and update my VMs for libgit2.</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 17.11.2014, at 17:28, Ben Coman &lt;<a href="mailto:btc@openInWorld.com" class="">btc@openInWorld.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">Okay, got it. &nbsp;I don't remember installing SDK 10.9 so I had assume it came as part of XCode (but that could be my failing memory)<br class="">Thanks for the clarification.<br class=""><br class="">Now even with my deviation from the instructions, it was fairly straight forward. Nice setup.<br class="">cheers -ben<br class=""><br class="">Esteban Lorenzano wrote:<br class=""><blockquote type="cite" class=""> it is not a discrepancy, is two different things<br class="">1) Install latest Xcode. 2) Download SDK 10.6<br class="">:)<br class="">Esteban<br class=""><blockquote type="cite" class="">On 17 Nov 2014, at 17:17, Ben Coman &lt;<a href="mailto:btc@openInWorld.com" class="">btc@openInWorld.com</a>&gt; wrote:<br class=""><br class="">Whoops. I need to read it more carefully. &nbsp;But there is a discrepancy, it says "Download the latest" and references 10.6.<br class=""><br class="">Ben Coman wrote:<br class=""><blockquote type="cite" class="">You've lost me. &nbsp;That README.md were the instructions I used. Did I miss something, or do you mean I should add notes to it ?<br class="">cheers -ben<br class="">Esteban Lorenzano wrote:<br class=""><blockquote type="cite" class="">Hi,<br class="">you have to check the README of <a href="https://github.com/pharo-project/pharo-vm" class="">https://github.com/pharo-project/pharo-vm</a> :)<br class=""><br class="">Esteban<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On 17 Nov 2014, at 16:58, Ben Coman &lt;<a href="mailto:btc@openInWorld.com" class="">btc@openInWorld.com</a> &lt;<a href="mailto:btc@openInWorld.com" class="">mailto:btc@openInWorld.com</a>&gt;&gt; wrote:<br class=""><br 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;PharoVMBuilder buildMacOSX32.<br class="">then<br class=""> &nbsp;cd ../build<br class=""> &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="">clang: warning: no such sysroot directory:<br class="">'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' <br class="">**fatal error: **'math.h' file not found*<br class=""><br class=""><br class="">And indeed, I don't have<br class="">../MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk<br class="">I have<br class="">../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="">- 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="">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;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="">And indeed editing...<br class=""> &nbsp;platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m<br class=""><br class="">to add...<br class=""> &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=""></blockquote></blockquote></blockquote></blockquote></blockquote><br class=""><br class=""></div></blockquote></div><br class=""></body></html>