One Click Installer-Mingw-Swiftiply Problem

P

Paul Fraser

The windows extension compile situation seems to be a mess!
Luis Lavena & 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
 
R

Roger Pack

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top