<div dir="ltr">Thanks Tony, Dan<div><br></div><div style>grabbed and built latest master erlang/otp from github and it seems to work now!</div><div style>let the opencl experimenting begin... :)</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 4:10 AM, Tony Rogvall <span dir="ltr"><<a href="mailto:tony@rogvall.se" target="_blank">tony@rogvall.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Yes.<div>I did a post about that just the other day.</div><div>if you know how, you can edit the erts/<a href="http://configure.in" target="_blank">configure.in</a> a rebuild erlang.</div>
<div>If you can live with 32-bit or build from git Dan also had some nice ways around this.</div><div><br></div><div>I will see if I can produce some easy instructions on how to start with cl.</div><div>But in this case it was never possible to get started ;-) </div>
<div><br></div><div>Thanks</div><div><br></div><div>/Tony</div><div><br></div><div><blockquote type="cite"></blockquote><blockquote type="cite"><blockquote type="cite">Hi!<div><br></div><div>Found a workaround for cl (<a href="https://github.com/tonyrog/cl" target="_blank">https://github.com/tonyrog/cl</a>) not starting on erlang 64-bit mac os x</div>
<div>The fix is to add "-framework Foundation" to LIBCARBON in erts/<a href="http://configure.in" target="_blank">configure.in</a></div><div><br></div><div>--- Like this ---</div><div><div>case $ARCH-$OPSYS in</div>
<div> amd64-darwin*)</div><div> LIBCARBON="-framework Foundation"</div><div> AC_MSG_RESULT([no])</div><div> ;;</div><div> *-darwin*)</div><div> LIBCARBON="-framework Carbon -framework Foundation"</div>
<div> AC_MSG_RESULT([yes])</div><div> ;;</div></div><span class="HOEnZb"><font color="#888888"><div>--</div><div><br></div><div>Any chans that this might be fixed in a future release ?</div><div>
<br></div><div><br></div><div>/Tony</div></font></span></blockquote></blockquote><div><div class="h5"><div><br></div><div><br></div><div><div>On 17 jan 2013, at 02:26, Alex Babkin <<a href="mailto:ababkin@gmail.com" target="_blank">ababkin@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hi<div><br></div><div>I was trying to play around with this code (<a href="https://github.com/tonyrog/cl" target="_blank">https://github.com/tonyrog/cl</a>) and get it going on my mac (Air, <span style="font-family:'Lucida Grande';font-size:11px">OS X 10.8.2</span>), but wasn't all that successful </div>
<div><br></div><div>I have some experience running erlang programs but usually bootstrapped with rebar.</div><div><br></div><div>I've gotten as far as getting "Trace/BPT trap: 5" as soon as i run some examples (and this error doesn't really help/tell me much)</div>
<div><br></div><div>It'd be really great if there would be a step by step instructions on how to get the examples running and how to set the system up in general. A lot of people use macs for development nowadays, so mac specific instructions and gotchas would be great (and i can help with this however i can)</div>
<div><br></div><div>here are the steps i followed:</div><div> </div><div>$mkdir opencl</div><div>$cd opencl</div><div>$git clone git://<a href="http://github.com/tonyrog/cl.git" target="_blank">github.com/tonyrog/cl.git</a></div>
<div>$cd cl</div><div>$make</div><div>$cd examples</div><div>$make</div><div>$ cd ../..</div><div>$erl -pa cl/ebin</div><div><div>Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]</div>
<div><br></div><div>Eshell V5.9.3 (abort with ^G)</div><div>1> cl_bandwidth:test().</div><div>Trace/BPT trap: 5</div><div><br></div><div><br></div><div>Thanks</div></div><div><br></div></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>