Hi,
I am on a Mac G5, running OS X 10.4.8.
As reported elsewhere (http://emergent.brynmawr.edu/pipermail/pyro-
users/2006-November/000447.html), I wasn't using an actual camera,
and so only need the PyrobotSimulator. I thus answered "no" to all
the options (except the clustering one) when doing the configure. I
now wish to play w/some of the other code and am wondering if any Mac/
pyro users know how to avoid the following "-shared" error
(appended), which arises when I try to include the Imaging option. I
am using the latest developer tools and X11, although I don't need
X11 b/c the version of Python I'm using comes w/native Aqua-Tk.
Ideas welcome.
--b
26 % sudo make
(cd ./camera/device && make)
g++ -O3 -Wall -Wno-unused -D_POSIX_THREADS -
D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DPOSIX -D__x86__ -
D__linux__ -D__OSVERSION__=2 -frepo -DUSINGTHREADS -DLINUX -
D_GNU_SOURCE -I/Library/Frameworks/Python.framework/Versions/2.4/
include/python2.4 -shared -c -o Device.o Device.cpp
powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
(cd ./vision/cvision && make)
swig -I../../camera/device/ -python -c++ -o Vision.cc Vision.i
cc -c -I/Library/Frameworks/Python.framework/Versions/2.4/include/
python2.4 -I../../camera/device/ Vision.cc -o vision.o
cc -O3 -Wall -Wno-unused -D_POSIX_THREADS -
D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DPOSIX -D__x86__ -
D__linux__ -D__OSVERSION__=2 -frepo -DUSINGTHREADS -DLINUX -
D_GNU_SOURCE -I/Library/Frameworks/Python.framework/Versions/2.4/
include/python2.4 -I../../camera/device/ -shared vision.o
Vision.o ../../camera/device/Device.o -o _vision.so -lstdc++ -ldl -
lpthread
powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
/usr/bin/ld: multiple definitions of symbol _init_vision
vision.o definition of _init_vision in section (__TEXT,__text)
Vision.o definition of _init_vision in section (__TEXT,__text)
collect2: ld returned 1 exit status
make[1]: *** [_vision.so] Error 1
make: *** [vision/cvision] Error 2
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users