Re: [MacRuby-devel] Can't build MacRuby trunk

2010-06-24 Thread Mike Taylor
nerating newer bitcode incompatible with the older LLVM opt. > > In any case, I'm working on integrating a much newer version of LLVM for the > 10.6 build. It should be committed later today, I will post a message here > when it's done. > > Laurent > > On Ju

[MacRuby-devel] Can't build MacRuby trunk

2010-06-24 Thread Mike Taylor
Hi, I'm trying to build the trunk. I've got LLVM r89156 built as suggested by the README.rdoc file. I've built MacRuby successfully in the past. I'm on Xcode 3.2.3... My llvm-gcc is: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2326.10) Am I doing something wrong, or should

[MacRuby-devel] Passing a string buffer to a C function

2010-05-05 Thread Mike Taylor
Hi all, I'm trying to do some GLSL shaders with MacRuby. However, I'm a bit stumped as to how to call glGetShaderInfoLog if the shader compilation fails. The C function's prototype is: void glGetShaderInfoLog(GLuint shader, GLsizei maxLength, GLsizei * length, GLchar * infoLog); I couldn't

[MacRuby-devel] MacRuby and Shoulda

2010-05-04 Thread Mike Taylor
Has anyone had any luck using Thoughtbot's Shoulda gem with MacRuby for testing? I'm getting errors like this: 1) Error: test: My factorial method should return 1 when passed 0.(TC_Test): NoMethodError: undefined method `test: My factorial method should return 1 when passed 0.' for # I'm fairl