as a personal excercise I’d like to write a native little ruby starter
(with splashscreen) for my scripts.
In VS.NET I created a Starter.cpp and included the “ruby.h” as mentioned
in the docs. At compilation he doesn’t find the extern symbols for
_rb_init() etc. My guess was to link to some DLL stuff, but after a time
googeling I hope that someone here can point me on some docs for further
help.
In VS.NET I created a Starter.cpp and included the “ruby.h” as mentioned
in the docs. At compilation he doesn’t find the extern symbols for
_rb_init() etc. My guess was to link to some DLL stuff, but after a time
googeling I hope that someone here can point me on some docs for further
help.
Thanks a lot.
Hi,
You’ll need to add one of these libraries to your project:
Big static library containg all the object modules –
C:\ruby\lib\msvcrt-ruby18-static.lib
Small dynamic lib with pointers into the runtime DLL –
C:\ruby\lib\msvcrt-ruby18.lib
Sorry if that’s not enough help (I use other compiler tools).