Unrecognized import file type
BlitzMax Forums/BlitzMax Module Tweaks/Unrecognized import file type
| ||
I'm new in making mods. I try make a embedded ruby mod to execute ruby scripts. If I try to import the ruby.h I got the error: Unrecognized import file type for import '../ruby/include/ruby.h' What am I doing wrong? |
| ||
You can't directly import .h files. Instead, do something like : Import "../ruby/include/*.h" |
| ||
Then, it looks like nothing is imported. The files of the module got a size of 1kb (too less for ruby) and BM can't find my functions from the extern block. |
| ||
You need to import either the C/C++ files or a precompiled library, then you have to add all the functions (or classes if the methods are virtual) to an Extern block. |