
Hi Chandan, I understand. We used to use a very old version of Ruby that way for something a long time back. Would love to hear about what you're doing and how :) On 2023-11-23 7:33 pm, Chandan K N wrote:
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.
Yes, that's correct indeed. I guess the issue you're having is with this part?
You need to install required libraries using vcpkg like: vcpkg --triplet x64-windows install openssl libffi libyaml zlib
Although it's not a direct match, but I'd recommend that you ask either in the RubyInstaller mailing list or maybe even on the GitHub site for it: oneclick/rubyinstaller2: MSYS2 based RubyInstaller for Windows (github.com) <https://github.com/oneclick/rubyinstaller2> - there are a few people there who may be able to help. Best regards, Mohit.