Question

I've made several attempts to find this information on the internet via google, this site, and a few others; I can't seem to find a good tutorial and/or answer on/for it.

How would I go about using the Ruby C API in Visual C++ 2010? I've added Ruby include folders to my project's inclusion paths, and I've also added the Ruby devkit include folders as well. However when I #include <ruby.h> it still can't find inttypes.h, and before the devkit paths were added it couldn't find other various header files.

What am I doing wrong?

Was it helpful?

Solution

Visual Studio does not ship with an inttypes.h as it does not have proper C99 support.

You need to get this header from a third party source such as http://code.google.com/p/msinttypes/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top