hi,

After reading the shipped NDK, I find this :

The resulting shared object file (.so, .dll, or .dylib) should then be moved
to your ~/.nuke directory (or otherwise into the nuke plugin_path).

And I don't think a 64 dylib can be linked and used by a 32bits program. If
i were you, I would rebuild DDImage.dylib and libGLEW.dylib with your own
32bits machine.

Regards

XL

2011/3/30 ZiZi Zhao <ziziz2...@yahoo.com>

> Hello Folks,
>
> I am trying to build the plug-ins in the examples. my system is iMAC i7 w/
> osx 10.6.7.
> % arch
> i386
>
> But I failed to use the given Makefile to make *.dylib, e.g., Blocky.dylib.
> The error message is :
>
> g++-4.0 -g -c -DUSE_GLEW
> -I/Applications/Nuke6.2v1/Nuke6.2v1.app/Contents/MacOS/include -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -arch i386 -o Blocky.os Blocky.cpp
> g++-4.0 -L/Applications/Nuke6.2v1/Nuke6.2v1.app/Contents/MacOS
> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch i386 -bundle -lDDImage
> -lGLEW -framework QuartzCore -framework IOKit -framework CoreFoundation
> -framework Carbon -framework ApplicationServices -framework OpenGL
> -framework AGL -framework Quicktime -o Blocky.dylib Blocky.os
>
> ld: warning: in
> /Applications/Nuke6.2v1/Nuke6.2v1.app/Contents/MacOS/libDDImage.dylib, file
> was built for unsupported file format which is not the architecture being
> linked (i386)
> ld: warning: in
> /Applications/Nuke6.2v1/Nuke6.2v1.app/Contents/MacOS/libGLEW.dylib, file was
> built for unsupported file format which is not the architecture being linked
> (i386)
>
> plus tons of "Undefined symbols" errors such as :
>  "DD::Image::Op::input_label(int, char*) const", referenced from:
>
> So, I changed the "-arch i386" into "-arch x86_64". It worked, sort of, I
> got the Blocky.dylib. However, when I started nuke6.2v1, after I loaded the
> Blocky.dylib to ~/.nuke, I cannot find the Blocky in the Filter.
>
> My questions are:
>
> 1. if my system arch is i386, is the plugin built for x86_64 supposed to
> work for it?
>
> 2. if the answer for 1. is yes, where should I load the plugin in my
> system?
>
> 3. Where could I find the plugin in NUKE?
>
> Thanks in advance!
>
> ZiZi
>
>
> _______________________________________________
> Nuke-dev mailing list
> Nuke-dev@support.thefoundry.co.uk
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to