Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chipmunk 5.2 Dll for Mingw32 #10

Open
Trebor777 opened this issue Jun 24, 2010 · 2 comments
Open

Chipmunk 5.2 Dll for Mingw32 #10

Trebor777 opened this issue Jun 24, 2010 · 2 comments
Assignees

Comments

@Trebor777
Copy link

HI,
It would be great if a Dll could be created for windows users who are not familliar with compiling stuff.. and just want to use it with ruby 1.9.1 from RubyInstaller.org ( created with Mingw32 )

Thanks a lot.

@shawn42
Copy link
Collaborator

shawn42 commented Jun 25, 2010

I've compiled the current svn build of chipmunk; not sure what if any changes are needed to chipmunk-ffi to make this work. Please give this a try and let me know any errors you get. Thanks!

http://github.com/downloads/shawn42/chipmunk-ffi/libchipmunk.dll

@Trebor777
Copy link
Author

:) thanks a lot for this !!
And i got errors right from the require :

C:/Ruby191/lib/ruby/gems/1.9.1/gems/ffi-0.6.3-x86-mingw32/lib/ffi/types.rb:46:in find_type': Unable to resolve type 'size_t' (TypeError) from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ffi-0.6.3-x86-mingw32/lib/ffi/library.rb:267:infind_type'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ffi-0.6.3-x86-mingw32/lib/ffi/struct.rb:191:in find_type' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ffi-0.6.3-x86-mingw32/lib/ffi/struct.rb:231:inarray_layout'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ffi-0.6.3-x86-mingw32/lib/ffi/struct.rb:158:in layout' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/nice-ffi-0.4/lib/nice-ffi/struct.rb:104:inlayout'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi/shape.rb:25:in <class:ShapeStruct>' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi/shape.rb:24:inmodule:CP'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi/shape.rb:1:in <top (required)>' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi.rb:44:inrequire'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi.rb:44:in block in <top (required)>' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi.rb:43:ineach'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/chipmunk-ffi-1.1.0/lib/chipmunk-ffi.rb:43:in `<top (required)>'

@shawn42 shawn42 self-assigned this Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants