[WIN] Compiling / Extending ruby using Visual Studio IDE

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Re: [WIN] Compiling / Extending ruby using Visual Studio IDE

    "Shashank Date" <sdate@everestkc.net> writes:
    > Has anybody successfully compiled or extended Ruby on the Windows platform
    > using Microsoft Visual Studio 6.0 IDE ?
    I have, and was too succesfull with lcc-win32.
    >
    > I am having difficulty doing both and wanted some guidance especially in
    > setting up the Project correctly.
    I strongly suggest you check out how extconf.rb should be written. See
    Programmng Ruby chapter 17. Let Ruby take the task of writing the
    Makefile.
    >
    > I have successfully compiled and extended using the extconf.rb method so
    > this is not very urgent ... but still it would be nice to get there.
    Ah sorry you used that, so what is your problem with it? Check out the
    generated Makefile and you'll see what you should include.
    > After
    > some trial and error, I was able to compile stand alone C programs, once
    > Ruby was compiled at the command prompt. But I could not generate C DLLs.
    > I'm pretty sure I am missing some critical step ... any help will be highly
    > appreciated.
    Hm, have you tried to build and use a simple DLL? IIRC there are some
    Wizards there for that help.

    Regards
    Friedrich
    Friedrich Dominicus Guest

  2. Similar Questions and Discussions

    1. DW8 to Visual Studio
      I would like to get my DW8 asp.NET pages to open up in Visual Studio 2003. I have some co workers that need to do some work as well..... I have...
    2. Visual studio?
      Not that i dont like the flex ide, but i'd much rather use visual studio? has anyone found a plug in or tried to intergrade into vs.net yet?
    3. Cross compiling with visual age
      Hi, is it possible to compile applications and kernel modules on AIX 4.3 that will run correctly on AIX 5.1?? I think that application-wise there...
    4. Visual Studio .Net
      You may need to repair your IIS mappings. To do this, run the following command: aspnet_regiis.exe -i Here's further information:...
    5. Visual Studio.NET and PHP
      Hello, Does anyone have an idea how to integrate PHP into Visual Studio .NET 2003. Thanks, Albert Ahtenberg
  3. #2

    Default Re: [WIN] Compiling / Extending ruby using Visual Studio IDE

    On Sat, 28 Jun 2003 11:01:06 +0000, Shashank Date wrote:
    > Has anybody successfully compiled or extended Ruby on the Windows platform
    > using Microsoft Visual Studio 6.0 IDE ?
    >
    > I am having difficulty doing both and wanted some guidance especially in
    > setting up the Project correctly.
    >
    > I have successfully compiled and extended using the extconf.rb method so
    > this is not very urgent ... but still it would be nice to get there. After
    > some trial and error, I was able to compile stand alone C programs, once
    ^^^^^^^^^^^
    ^^^^^^^^^^^

    If I understand you correct, you are talking about 'embedding' ruby into
    C. In order to understand eachother we must use same terminologi.
    #1 'extensions' is when you compile some C code and use it within Ruby.
    #2 'embedding' is when you interpret some Ruby code withing you C code.

    From your earlier postings I would say that you are doing #2 :-)
    Am I right ?

    > Ruby was compiled at the command prompt. But I could not generate C DLLs.
    > I'm pretty sure I am missing some critical step ... any help will be highly
    > appreciated.
    I know nothing about windows.. sorry I cannot help.


    --
    Simon Strandgaard
    Simon Strandgaard Guest

  4. #3

    Default Re: [WIN] Compiling / Extending ruby using Visual Studio IDE

    "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> wrote in message
    > > some trial and error, I was able to compile stand alone C programs, once
    > ^^^^^^^^^^^
    > If I understand you correct, you are talking about 'embedding' ruby into
    > C. In order to understand eachother we must use same terminologi.
    Agreed 100 %.
    > #1 'extensions' is when you compile some C code and use it within Ruby.
    That is what I meant when I mentioned C-DLLs.
    > #2 'embedding' is when you interpret some Ruby code within you C code.
    And that is what I meant when I mentioned stand alone C programs.
    > From your earlier postings I would say that you are doing #2 :-)
    > Am I right ?
    So I am trying to do both :-)
    But yes, in my earlier postings you helped me do the embedding part.
    Thanks a lot again.
    >
    > > Ruby was compiled at the command prompt. But I could not generate C
    DLLs.
    > I know nothing about windows.. sorry I cannot help.
    Appreciate your time and attention, nevertheless.
    > Simon Strandgaard
    -- shanko


    Shashank Date Guest

  5. #4

    Default Re: [WIN] Compiling / Extending ruby using Visual Studio IDE


    "Friedrich Dominicus" <frido@q-software-solutions.com> wrote in message
    [snip]
    > ....so what is your problem with it?
    > Check out the generated Makefile and you'll see what you should include.
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    I'm struggling with precisely this -- it will be just a matter time before I
    figure it out.
    Am being lazy that's all ;-). Wanted to see if someone has already invented
    the wheel.


    Shashank Date Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139