From: Luis Lavena Date: 2009-11-19T22:06:08+09:00 Subject: Re: extending ruby with c++ on windows On Nov 19, 9:42 am, Reid Thompson wrote: > 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 > > > 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. > > > 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. Yes, that is most likely the problem. MinGW and MSYS, the tools used to compile should never be installed in a path with spaces. Neither your code should be in a path with spaces. Just avoid them -- Luis Lavena