Hi Lee and Marcus, thanks for the replies.

Please forward the static ndll to [EMAIL PROTECTED] (and Thanks!) I wouldn't mind having it for reference.

I *did* get it to compile finally, I played around with the settings for a couple more hours. I changed so many things in Visual Studio I don't completely recall what I did. And I'm not sure if I complied static or dynamic and I'm not completely sure what the difference is, or how to change that!

I ended up having to go with ImageMagick 6.3.3 which is missing a bunch of of .lib files that were linked in the project. I removed the references to them hoping that whatever was in those files before is in the 3 files that are left. I had to change Runtime Library to MultiThreading (/MT) to get it to work, and I think I commented out a couple functions having to do with adaptive sharpening and something else. Eventually I got to the point where I still had 30-some errors, but no warnings. I think I just about fell out of my chair when it compiled.

Anyway, I managed to write a few more functions in the Manager.hx class and accomplish exactly what I set out to do. After all this time, C isn't as scary or mystifying as I once thought is was, although it seems very expansive and confusing in some areas. I will spend more time playing with the libraries and seeing if I can get more functions to work. I can email you the results if you're interested in merging the functions into your Manager class.

Also, if you don't mind a couple more questions (from a C newbie): What makes an ndll different from another library...specifically, what is done differently for neko (in C or in VS) than would be done to compile something for another language?
Sorry for the long post, I am rather excited to have made it this far!

Cheers,
Aaron

Lee McColl Sylvester wrote:
Hi Aaron,

I have a statically linked version of the ndll here, which means you won't / shouldn't need ImageMagick installed to use it. If you like, I could email it to you. If so, what email address would you prefer I send it to?

Regards,
Lee



Aaron Fay wrote:
Hi Lee,

I was going through the thread about nMagick and tried to follow along (XP pro). I downloaded the source from google code, got Visual Studio 7 up and running and spent the last 2 days trying to get it to spit out something remotely resembling the .ndll. I don't really know anything about C (except that it's a language) and each attempt to fiddle my way through the project has only resulted in more compile errors than less (the last attempt was ~4000 errors, and I think 37 warnings, mostly having to do with the ImageMagick libraries).

Mostly I'm just looking for a simple way to resize an image in a haXe program. Have you had a chance to compile the ndll? I noticed some of the haXe classes are started...I wouldn't mind trying to contribute to the class writing (it would take a little more fiddling to figure out what the hekko I'm doing ;).

Cheers,
Aaron






--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to