Dear List,
after being away from osx for some time, i have now to install/compile pd on a 10.4 system, with tcltk 8.4.7 (tcltk-aqua).
Compilation is fine, but at installing pd (in /usr/local) i get at launch: g4:/usr/local/bin peter$ ./pd sh: line 1: ../lib/pd/bin/../bin/pd: No such file or directory
note that i start pd in /usr/local/bin. So the above path is definitely leading somewhere else..
I know it is unkommon to install pd there (on osx).
Then i try to compile GemCVS (fresh checkout): g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. TextBase.cpp -o TextBase.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glew.cpp -o glew.o glew.cpp: In function `void* NSGLGetProcAddress(const GLubyte*)': glew.cpp:78: error: invalid conversion from 'void*' to 'char*' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. sgiimage.cpp -o sgiimage.o make[1]: *** [glew.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Base] Error 2
here the compiler version: g4:~/src/Gem/src peter$ gcc -v Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
Any help is very welcome!
Zitiere Peter Plessas plessas@sbox.tugraz.at:
Dear List,
make[1]: *** [glew.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Base] Error 2
try deleting Base/glew.cpp (it is not used yet anyhow)
mfg,.asdr. IOhannes
Thanks IOhannes,
that solved one error, but introduced another... I have the slight feelinhg that i am doing sth wrong, or is it really so hard to compile gemCVS on OSX?
lg, p
that's the latest error:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_vertex.cpp -o glsl_vertex.o glsl_program.cpp: In member function `virtual void glsl_program::LinkProgram()': glsl_program.cpp:283: error: 'kCGLCPGPUVertexProcessing' was not declared in this scope glsl_program.cpp:284: error: 'kCGLCPGPUFragmentProcessing' was not declared in this scope g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. linear_path.cpp -o linear_path.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. ortho.cpp -o ortho.o make[1]: *** [glsl_program.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Manips] Error 2
zmoelnig@iem.at wrote:
Zitiere Peter Plessas plessas@sbox.tugraz.at:
Dear List,
make[1]: *** [glew.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Base] Error 2
try deleting Base/glew.cpp (it is not used yet anyhow)
mfg,.asdr. IOhannes
Do you have 10.4.3 or later? That's when GLSL arrived. It might be best to skip GLSL for now since it is still being worked on.
Also, we use XCode to build for OSX, so I'm not sure if the make process is even working.
On 2/7/06, Peter Plessas plessas@sbox.tugraz.at wrote:
Thanks IOhannes,
that solved one error, but introduced another... I have the slight feelinhg that i am doing sth wrong, or is it really so hard to compile gemCVS on OSX?
lg, p
that's the latest error:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_vertex.cpp -o glsl_vertex.o glsl_program.cpp: In member function `virtual void glsl_program::LinkProgram()': glsl_program.cpp:283: error: 'kCGLCPGPUVertexProcessing' was not declared in this scope glsl_program.cpp:284: error: 'kCGLCPGPUFragmentProcessing' was not declared in this scope g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. linear_path.cpp -o linear_path.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. ortho.cpp -o ortho.o make[1]: *** [glsl_program.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Manips] Error 2
zmoelnig@iem.at wrote:
Zitiere Peter Plessas plessas@sbox.tugraz.at:
Dear List,
make[1]: *** [glew.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Base] Error 2
try deleting Base/glew.cpp (it is not used yet anyhow)
mfg,.asdr. IOhannes
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list