# One Click Installer-Mingw-Swiftiply Problem

**URL:** <https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887>\
**Category:** Ruby\
**Created:** [March 15, 2009, 4:15am UTC](https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887 "2009-03-15T04:15:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [March 15, 2009, 4:15am UTC](https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887/1 "2009-03-15T04:15:27Z")

</div>

The windows extension compile situation seems to be a mess!  
Luis L. & Fabio Akita have downloads available using mingw compiles  
to address the problem.  
I have tried Fabios complete mingw dev kit and had this problem with  
swiftiply.  
Apart from the missing ssleay, any clues as to a solution?

C:/Ruby18/bin/ruby.exe extconf.rb install swiftiply

checking for windows.h… yes  
checking for winsock.h… yes  
checking for main() in -lkernel32… yes  
checking for main() in -lrpcrt4… yes  
checking for main() in -lgdi32… yes  
checking for main() in -lssleay32… no  
creating Makefile

make  
g++ -I. -I. -IC:/Ruby18/lib/ruby/1.8/i386-mingw32 -I. -DHAVE\_WINDOWS\_H  
-DHAVE\_WINSOCK\_H -D OS\_WIN3  
2 -D BUILD\_FOR\_RUBY -EHs -GR -D WITHOUT\_SSL -g -O2 -c mapper.cpp  
mapper.cpp: In member function `void Mapper_t::Close()': mapper.cpp:175: error: invalid conversion from`const void\*’ to `void*' mapper.cpp:175: error: initializing argument 1 of`BOOL  
UnmapViewOfFile(void\*)’  
g++.exe: unrecognized option `-EHs' g++.exe: unrecognized option`-GR’  
make: \*\*\* [mapper.o] Error 1

Gem files will remain installed in  
C:/Users/paulAdmin/dev/gems/gems/swiftiply-0.6.1.1 for inspection  
.  
Results logged to  
C:/Users/paulAdmin/dev/gems/gems/swiftiply-0.6.1.1/ext/fastfilereader/gem\_make.out

Thanks  
Paul F.

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 9, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/one-click-installer-mingw-swiftiply-problem/162887/2 "2009-05-09T23:37:12Z")

</div>

> 2 -D BUILD\_FOR\_RUBY -EHs -GR -D WITHOUT\_SSL -g -O2 -c mapper.cpp  
> mapper.cpp: In member function `void Mapper_t::Close()': mapper.cpp:175: error: invalid conversion from`const void\*’ to `void*' mapper.cpp:175: error: initializing argument 1 of`BOOL  
> UnmapViewOfFile(void\*)’  
> g++.exe: unrecognized option `-EHs' g++.exe: unrecognized option`-GR’  
> make: \*\*\* [mapper.o] Error 1

It was a “mingw doesnt like that” bug – should be fixed with the latest  
eventmachine release.  
-=r
