One Click Installer-Mingw-Swiftiply Problem


#1

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 fromconst void*’ to void*' mapper.cpp:175: error: initializing argument 1 ofBOOL
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.


#2

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 fromconst void*’ to void*' mapper.cpp:175: error: initializing argument 1 ofBOOL
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