From: Al Lo Date: 2009-11-20T17:59:03+09:00 Subject: Re: extending ruby with c++ on windows Thank you for answers. it was good idea. but i still have problems. i installed ruby in folder without spaces. relaunched "ruby extconf.rb" and "make" than, as in tutorial. executing "make" with version 3.80 i got the same error as before (makefile:145: *** target pattern contains no `%'. Stop.). building with "make" with version 3.81 i got next message: mingw32-make: *** No rule to make target `/C/Ruby19/include/ruby-1.9.1/ruby.h', needed by `Welcomer.o'. Stop. i fixed in makefile row with path (corrected "/C/" to "C:/") and got this response: C:\temp\c2r>mingw32-make process_begin: CreateProcess(NULL, rm -f Welcomer.so, ...) failed. make (e=2): ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы. mingw32-make: [Welcomer.so] Error 2 (ignored) g++ -shared -s -o Welcomer.so Welcomer.o -L. -LC:/Ruby19/lib -L. -Wl,--enable-a uto-image-base,--enable-auto-import -lmsvcrt-ruby191 -lshell32 -lws2_32 As i understand, error 2 means "The system cannot find the file specified". This command generates two files: "Welcomer.o" and "Welcomer.so". One more question is "is it normal that make generates .so file? maybe .dll will be more suitable". -- Posted via http://www.ruby-forum.com/.