From: Reid Thompson Date: 2009-11-19T21:42:49+09:00 Subject: Re: extending ruby with c++ on windows Al Lo wrote: > hello everyone > i need help with extending ruby with c on windows > i've got ruby with version 1.9.1 [i386-mingw32] > and mingw32-make with versions 3.8 and 3.81 > i wrote a simply cpp file and extconf.rb as is described here: > http://onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html > then i run "ruby extconf.rb". so i get a Makefile. > > running mingw32-make (v3.80) i get error: > makefile:145: *** target pattern contains no `%'. Stop. > > if i run mingw32-make i get this strings: > makefile:154: warning: overriding commands for target `C:/Program' > makefile:148: warning: ignoring old commands for target `C:/Program' > mingw32-make: *** No rule to make target `"/C/Program', needed by > `Welcomer.o'. > Stop. > > don't know what to do. is there any way to fix this? or the way to by > pass this? not sure if it's the problem or not, but i'd try everything with a directory hierarchy that does not contain any spaces in any of the directory or filenames.