Lee, I compiled ImageMagick-6.3.0 instead and it works better, it
compiles fine.
Get another error now....
gcc -shared -lneko -lWand -lMagick -o nMagick.ndll nMagick.o
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
/usr/bin/ld: Undefined symbols:
_main
_MagickThumbnail
_val_double
collect2: ld returned 1 exit status
Anyone got a clue?
Regards,
M.
On Feb 23, 2007, at 3:47 PM, Lee McColl Sylvester wrote:
Does the editor you're using show those flags as having a value?
If so, you could be forgetting to include a lib, otherwise it might
be a header file. I'm not that experienced a C coder to know, but
that's what it sounds like to me.
Lee
Marcus Bergstrom wrote:
Not exactly,
I am having some issues with compiling nMagick at the moment. I get:
/usr/bin/ld: Undefined Symbols:
_MagickMax
_MagickMin
M.
On Feb 23, 2007, at 3:02 PM, Lee McColl Sylvester wrote:
Does that mean you now have a compiled ndll? Let me know how
your tests run. Did you compile with a static library? If so,
what is the ndll file size?
Thanks,
Lee
Marcus Bergstrom wrote:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> is my address.
I am using ImageMagick-6.3.2. I sorted the error with just
adding: val_double( opacity ).
Regards,
M.
-----------------------------------------------------------
Marcus Bergstrom [marcus at quickform.net]
-----------------------------------------------------------
On Feb 23, 2007, at 2:22 PM, Lee McColl Sylvester wrote:
What version of ImageMagick are you using? It could be that
this function has changed since I wrote the code. If it's the
latest, feel free to modify the function. If you send me your
gmail addy, I'll add you to the google code project and you can
resubmit your changes / osx makefile.
Regards,
Lee
Marcus Bergstrom wrote:
Alright, will try that. there is one other error at this point.
nMagick.c:2506: error: incompativle type for argument 3 of
"MagickPaintTransparentImage".
All the other problems are just warnings.
-----------------------------------------------------------
Marcus Bergstrom [marcus at quickform.net]
-----------------------------------------------------------
On Feb 23, 2007, at 1:33 PM, Lee McColl Sylvester wrote:
I could be wrong (as I haven't checked the neko_val_gc
signature), but it could be that the value being passed as
argument2 is a pointer of a type other than Void*. I get
this often, though Void* should effectively be able to accept
any pointer type.
If this is the case, set the makefile to ignore the warning.
Lee
Marcus Bergstrom wrote:
I am trying to compile the ndll for nMagick, but I am having
some issues.
First of all, I am compiling on intel Mac (could be good to
know).
I get these errors: "nMagick.c:100 warning: pasing argument
2 of 'neko_val_gc' from incompatible pointer type".
However I believe the problem is in the line before, it's
using alloc_abstract(), and it doesn't seem
to go down very well.
Any suggestions. I am not a C coder, so I am a bit...clueless.
M.
-----------------------------------------------------------
Marcus Bergstrom [marcus at quickform.net]
-----------------------------------------------------------
--Neko : One VM to run them all
(http://nekovm.org)
--Neko : One VM to run them all
(http://nekovm.org)
--Neko : One VM to run them all
(http://nekovm.org)
--Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)