Build problem: 1.8.1 and Cygwin

M

Mark Probert

Hi, all.

I built Ruby 1.8.1 under Cygwin this morning and found had an error
compiling the WinOLE extension. The error was:

win32ole.c:5010: error: `GUIDKIND_DEFAULT_SOURCE_DISP_IID' undeclared
(first use in this function)

This was easily fixed by adding the line:

#include <olectl.h>

to the file.

I wonder if this is a problem with my Cywin install or whether others have
seen it as well.

-mark.
 
H

H.Yamamoto

Hi.

This was easily fixed by adding the line:

#include <olectl.h>

to the file.

This line was added by eban. So it'll be included in ruby-1.8.2.

1.1 (suke 01-Jun-02): #include <ocidl.h>
1.20 (eban 18-Feb-04): #include <olectl.h>
1.1 (suke 01-Jun-02): #include <ole2.h>

Revision : 1.16.2.4
Date : 2004/2/18 8:22:18
Author : 'eban'
State : 'Exp'
Lines : +2 -1
Description :
* ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.

http://www.ruby-lang.org/cgi-bin/cv...e/win32ole.c.diff?r1=1.16.2.3;r2=1.16.2.4;f=h
 

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,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top