Specified export _hnoise is not defined
Missing exports. Aborting
It works, when I remove the keyword hnoise from the tex.def file. But I’m not able to open the plugin in Blender 2.49. Neither in the 32 bit version, nor the 64 bit version.
I’m good at programming, but I’m totally new to that whole dll stuff. Can someone help me, please? I am using Windows Vista x64 duck.
I wish I can translate it to English, but it’s not easy for me.
So I recommend you another way to compile texture plugins using Microsoft Visual C++ Express.
I was able to compile it with Visual Studio as described. I was also able to open the dll in Blender. But it still doesn’t seem to work correctly. The texture preview remains black and when I render it, it looks really messed up (actually it looks always the same, no matter how I change the plugin code).
I’ve already spent so much hours on solving this problem… I’m tired of it. Maybe someone else can compile my plugin for me. It generates hexagons with a selectable line width and smoothing radius. Here is a picture I generated using the plugin (yep, I wrote a program just to test it, because I wasn’t able to get it working in blender):
Here is the .c file: http://files.project-nion.net/hexagon.c
It doesn’t support proper anti aliasing at the moment, because I’m not sure how to handle the dxt and dyt data. Feel free to use and/or modify the plugin… as long as I get my compiled version, I’m happy.
Thank you mato! It works. And even more than that: my own build works now, too. Seems like the plugin specification were out of date. Thanks again for your hint with visual c++ and for your changes! This was making me crazy.