What steps will reproduce the problem? 1. svn checkout http://chipmunk-physics.googlecode.com/svn/trunk/ chipmunk-physics-read- only
- compiling RUBY BUNDLE: ruby extconf.rb
What is the expected output? What do you see instead?
I got this message: cp: ../src/constraints is a directory (not copied).
I resolve with:
-system 'cp ../src/* ./' +system 'cp -pR ../src/* ./'
But now when I run make:
gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.5.0 -I/usr/local/lib/ruby/1.8/i686-darwin9.5.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -D_XOPEN_SOURCE=1 -fno- common -pipe -fno-common -std=gnu99 -ffast-math -c chipmunk.c In file included from chipmunk.h:75, from chipmunk.c:24: constraints/cpConstraint.h:56:35: error: cpBreakableConstraint.h: No such file or directory make: * [chipmunk.o] Error 1
What version of the product are you using? On what operating system?
MAC OSX 10.5.5, ruby 1.8.7 installed in /usr/local/bin
Best regards
Comment #1
Posted on Oct 15, 2008 by Happy LionPlease note that is only in the svn checkout (the 4.1.0 work well)
all the best
Comment #2
Posted on Jul 30, 2010 by Happy GiraffeSorry for the blast from the bast. I've been unintentionally avoiding the issue tracker, but I figured I should give these issues some closure.
The Ruby extension in 5.2 and trunk should compile on Linux/OS X by using CMake. Alternatively, there is a more actively maintained FFI based version. http://github.com/erisdiscord/chipmunk-ffi
Status: Fixed
Labels:
Type-Defect
Priority-Medium