RubyInstaller will want different directories. Updated.
https://github.com/vim/vim/pull/13807
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@k-takata commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
config.h should be placed at C:\RubyXY\include\ruby-X.Y.0\i386-mswin32_140\config.h (32-bit) or C:\RubyXY-x64\include\ruby-X.Y.0\x64-mswin64_140\config.h (64-bit), not at C:\RubyXY{,-x64}\include\ruby-X.Y.0\ruby\config.h.
The original commands correctly copy them.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@dertuxmalwieder commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
That leads - at least on my machine ... - to an error that config.h could not be found. The updated commands fixes that for me.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@k-takata commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
Some of the build options might not be correctly set? (E.g. RUBY_API_VER_LONG, RUBY_PLATFORM)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@dertuxmalwieder commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
The problem is that Ruby's own internal/config.h (used by most Ruby header files) explicitly requires a ruby/config.h...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@k-takata commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
config.hshould be placed atC:\RubyXY\include\ruby-X.Y.0\i386-mswin32_140\config.h(32-bit) orC:\RubyXY-x64\include\ruby-X.Y.0\x64-mswin64_140\config.h(64-bit),
Sorry, the correct paths are:
32-bit: C:\RubyXY\include\ruby-X.Y.0\i386-mswin32_140\ruby\config.h
64-bit: C:\RubyXY-x64\include\ruby-X.Y.0\x64-mswin64_140\ruby\config.h
C:\RubyXY\include\ruby-X.Y.0\i386-mswin32_140 or C:\RubyXY-x64\include\ruby-X.Y.0\x64-mswin64_140 is specified as an include directory by the -I option in the makefile.
So, the compiler should be able to find ruby/config.h.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@dertuxmalwieder commented on this pull request.
> - xcopy /s .ext\include C:\Ruby24\include\ruby-2.4.0
+ xcopy /s .ext\include\i386-mswin32_140\config.h C:\Ruby24\include\ruby-2.4.0\ruby
For 64-bit version:
- xcopy /s .ext\include C:\Ruby24-x64\include\ruby-2.4.0
+ xcopy /s .ext\include\x64-mswin64_140 C:\Ruby24-x64\include\ruby-2.4.0\ruby
Indeed, it does. Turns out it was a configuration mistake on my side. 🤦♂️
Sorry.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #13807.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()