I'm trying to create an external library in C++ and use it in my haxe project. I'm following the instructions at
http://haxe.org/doc/cpp/ffi. Everything is fine until I run the program and I get:
Error : Could not load module test@sum__2
I have the test.ndll in the bin directory with my Main. I'm not sure what I'm doing wrong here. Any clues or hints?
Most importantly: I'm trying to build a Mysql connector for the C++ target for haxe 3. That's how I ran into this because I couldn't find one, so I thought I'd do it myself using the supplied mysql connector for C++, because I really need it right now. If anyone knows of a project where this is already done or is in a work in progress. Please point me in the right direction.
Thanks.