Build problem: 1.8.1 and Cygwin

Discussion in 'Ruby' started by Mark Probert, Aug 11, 2004.

  1. Mark Probert

    Mark Probert Guest

    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.
     
    Mark Probert, Aug 11, 2004
    #1
    1. Advertising

  2. Mark Probert

    H.Yamamoto Guest

    Hi.

    Mark Probert <> wrote:
    (2004/08/12 02:46)

    >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
     
    H.Yamamoto, Aug 12, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    526
  2. Replies:
    0
    Views:
    463
  3. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    540
    Robin Becker
    Sep 5, 2003
  4. Replies:
    0
    Views:
    425
  5. Nicolas Lehuen
    Replies:
    3
    Views:
    751
    Nicolas Lehuen
    Jan 28, 2004
Loading...

Share This Page