Hi,

aslo I read a little bit about lcrypt and it is no supported by MacOs
so I tried both  to ommit it
and replace it with mcrypt but I get the same error

/usr/bin/ld: Undefined symbols:
imageStruct::clear()
imageStruct::allocate()
imageStruct::imageStruct()
imageStruct::~imageStruct()
GemException::~GemException()
GemBase::setModified()
GemBase::obj_setupCallback(_class*)
GemBase::realStopRendering()
GemBase::~GemBase()
pixBlock::pixBlock()
CPPExtern::m_holdname
CPPExtern::m_holder
GemPixObj::postrender(GemState*)
GemPixObj::processImage(imageStruct&)
GemPixObj::processYUVMMX(imageStruct&)
GemPixObj::processGrayMMX(imageStruct&)
GemPixObj::processRGBAMMX(imageStruct&)
GemPixObj::processYUVSSE2(imageStruct&)
GemPixObj::setPixModified()
GemPixObj::processGraySSE2(imageStruct&)
GemPixObj::processRGBASSE2(imageStruct&)
GemPixObj::processRGBImage(imageStruct&)
GemPixObj::processYUVImage(imageStruct&)
GemPixObj::processGrayImage(imageStruct&)
GemPixObj::processRGBAImage(imageStruct&)
GemPixObj::obj_setupCallback(_class*)
GemPixObj::processYUVAltivec(imageStruct&)
GemPixObj::processGrayAltivec(imageStruct&)
GemPixObj::processRGBAAltivec(imageStruct&)
GemPixObj::GemPixObj()
GemException::report() const
typeinfo for GemException
typeinfo for GemPixObj
vtable for GemException
vtable for GemPixObj
operator new(unsigned long, void*, void*)
_class_new
_class_sethelpsymbol
_gensym
_pd_new
collect2: ld returned 1 exit status

thanks,

On 10/25/06, Fanouris Moraitis <[EMAIL PROTECTED]> wrote:
Hi d5,

Well if I understood well I did the following:

I follow your advice and I did "make" again in order to get the whole
compiler command which is something like

g++ -bundle -undefined suppress  -o gridflow.bundle base/main.o
base/grid.o base/bitpacking.o base/flow_objects.o base/number.1.o
base/number.2.o base/number.3.o base/number.4.o format/x11.o
format/quartz.o format/jpeg.o format/png.o format/quicktimeapple.o
optional/gem.o optional/fftw.o -L/Users/fan/lib -L/usr/local/lib
-L/sw/lib -lm -L/usr/X11R6/lib -lX11 -lXext -lobjc -framework Cocoa
-ljpeg -lpng -lz -framework Quicktime -lfftw3f -lfftw3 -L. -lruby -ldl
-lcrypt -lm

and then I changed it to

g++ -bundle -undefined error  -o gridflow.bundle base/main.o
base/grid.o base/bitpacking.o base/flow_objects.o base/number.1.o
base/number.2.o base/number.3.o base/number.4.o format/x11.o
format/quartz.o format/jpeg.o format/png.o format/quicktimeapple.o
optional/gem.o optional/fftw.o -L/Users/fan/lib -L/usr/local/lib
-L/sw/lib -lm -L/usr/X11R6/lib -lX11 -lXext -lobjc -framework Cocoa
-ljpeg -lpng -lz -framework Quicktime -lfftw3f -lfftw3 -L. -lruby -ldl
-lcrypt -lm

but now I get another error

/usr/bin/ld: can't locate file for: -lcrypt
collect2: ld returned 1 exit status

I am not so good at compiling stuff so maybe I 've done something wrong!

thanks


On 10/24/06, day 5 <[EMAIL PROTECTED]> wrote:
> Hi Fanouris,
>
> I was getting this error when compiling GridFlow 0.8.4 as well.
>
> On Oct 24, 2006, at 8:56 AM, Fanouris Moraitis wrote:
>
> > /usr/bin/ld: -undefined error, -undefined dynamic_lookup or -undefined
> > define_a_way must be used when -twolevel_namespace is in effect
>
> The solution was to copy the entire commandline that invokes the
> compiler, paste into Text Edit or some such and change the instance of
> "-undefined suppress" to "-undefined error" and copy-paste it back in
> your Terminal window. That's what worked for me.. Note that it doesn't
> work to change "-undefined suppress" in the Makefile or Makefile.in
> because some other components of GridFlow must explicitly require
> "-undefined suppress". Good luck! P.S. I'm on 10.3.9 so I'm not sure
> how different the process is but I don't imagine it is very much.
>
>
> ./d5
>
>


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to