
Hi Mohit, Thanks for your reply. I need to build in VS2019/22 as I have to use the generated library (Ruby DLL) in my C++ project for Ruby-C++ interop. I am already using Ruby 2.4.5 in this way. I'm trying to upgrade to newer version of Ruby now. Using mingw version will not be compatible with VS compiler. Regards, Chandan On Thu, 23 Nov, 2023, 4:30 pm Mohit Sindhwani, <mo_mail@onghu.com> wrote:
Hi Chandan,
On 2023-11-22 9:40 pm, knchandan--- via ruby-talk wrote:
I'm trying to build Ruby 3.2.2 source code on Windows 10 using Visual Studio 2019. I downloaded the source code using link https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz from https://www.ruby-lang.org/en/downloads/.
I'm following the steps mentioned in this (https://docs.ruby-lang.org/en/master/windows_md.html).
Do you need to build with Visual Studio 2019? I think I had found that it was easier to build using the Devkit that comes with a Ruby installation. The errors imply that they need all the packages to be installed which are likely to be easier on a mingw installation... hopefully someone else has better advice for VS 2019.
Best regards, Mohit.