Re: [PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread Hans-Christoph Steiner


Thanks.  Fixed in svn, commit 12709.

.hc

On Oct 31, 2009, at 5:15 PM, patrick wrote:


oups, sorry (same report as olsen)...

fixed with:

pd/externals/pdp/opengl/include/pdp_texture.h

- bool pdp_packet_texture_isvalid(int packet);
+ int pdp_packet_texture_isvalid(int packet);


pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev






  ¡El pueblo unido jamás será vencido!



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread patrick

oups, sorry (same report as olsen)...

fixed with:

pd/externals/pdp/opengl/include/pdp_texture.h

- bool pdp_packet_texture_isvalid(int packet);
+ int pdp_packet_texture_isvalid(int packet);


pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread patrick

another one:

make[3]: Entering directory `/home/psc/src/pd/externals/pdp/opengl'
make -C system
make[4]: Entering directory `/home/psc/src/pd/externals/pdp/opengl/system'
cc -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math -Wall -W 
-Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -g 
-I../../../../pd/src -fPIC -I../../include -I../include 
-I/usr/X11R6/include -DPDP_VERSION=\"0.12.5-darcs\" -o pdp_texture.o -c 
pdp_texture.c

pdp_texture.c:219: error: conflicting types for ‘pdp_packet_texture_isvalid’
../include/pdp_texture.h:59: note: previous declaration of 
‘pdp_packet_texture_isvalid’ was here

make[4]: *** [pdp_texture.o] Error 1
make[4]: Leaving directory `/home/psc/src/pd/externals/pdp/opengl/system'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/home/psc/src/pd/externals/pdp/opengl'
make[2]: *** [/home/psc/src/pd/externals/pdp/opengl/pdp_opengl.pd_linux] 
Error 2

make[2]: Leaving directory `/home/psc/src/pd/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/psc/src/pd/packages'
make: *** [install] Error 2


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread Hans-Christoph Steiner


My fault, 'bool' is typedef'ed not #define'ed so you can't test it  
with a #ifndef.  I just discovered all this stuff is in the standard  
C99 header stdbool.h anyhow.  'svn up' externals/pdp/include' and try  
again.


.hc

On Oct 31, 2009, at 5:46 AM, patrick wrote:


hi,

i have this error when compiling pd-extended for ubuntu 9.10:

make -C /home/psc/src/pd/externals/gem2pdp
make[3]: Entering directory `/home/psc/src/pd/externals/gem2pdp'
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math - 
Wall -W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION= 
\"0.7\" -g -g -O2 -I/home/psc/src/pd/pd/src -I. -I/home/psc/src/pd/ 
externals/pdp/include -I/home/psc/src/pd/Gem/src -o gem2pdp.o -c  
gem2pdp.cpp

In file included from /home/psc/src/pd/Gem/src/Base/CPPExtern.h:20,
from /home/psc/src/pd/Gem/src/Base/GemBase.h:20,
from gem2pdp.h:13,
from gem2pdp.cpp:11:
/home/psc/src/pd/Gem/src/Base/GemVersion.h:13: warning: type  
qualifiers ignored on function return type

In file included from /home/psc/src/pd/externals/pdp/include/pdp.h:41,
from gem2pdp.h:15,
from gem2pdp.cpp:11:
/home/psc/src/pd/externals/pdp/include/pdp_types.h:50: error:  
redeclaration of C++ built-in type ‘bool’

make[3]: *** [gem2pdp.o] Error 1
make[3]: Leaving directory `/home/psc/src/pd/externals/gem2pdp'
make[2]: *** [gem2pdp] Error 2
make[2]: Leaving directory `/home/psc/src/pd/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/psc/src/pd/packages'
make: *** [install] Error 2

also i had to modified:

char * extension = strrchr(filename, '.');

for
char * extension = strrchr(const_cast(filename), '.');

as reported by ClaudiusMaximus
http://www.mail-archive.com/gem-...@iem.at/msg00236.html

pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev






Looking at things from a more basic level, you can come up with a more  
direct solution... It may sound small in theory, but it in practice,  
it can change entire economies. - Amy Smith




___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread patrick

hi,

i have this error when compiling pd-extended for ubuntu 9.10:

make -C /home/psc/src/pd/externals/gem2pdp
make[3]: Entering directory `/home/psc/src/pd/externals/gem2pdp'
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall 
-W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION=\"0.7\" -g 
-g -O2 -I/home/psc/src/pd/pd/src -I. 
-I/home/psc/src/pd/externals/pdp/include -I/home/psc/src/pd/Gem/src -o 
gem2pdp.o -c gem2pdp.cpp

In file included from /home/psc/src/pd/Gem/src/Base/CPPExtern.h:20,
from /home/psc/src/pd/Gem/src/Base/GemBase.h:20,
from gem2pdp.h:13,
from gem2pdp.cpp:11:
/home/psc/src/pd/Gem/src/Base/GemVersion.h:13: warning: type qualifiers 
ignored on function return type

In file included from /home/psc/src/pd/externals/pdp/include/pdp.h:41,
from gem2pdp.h:15,
from gem2pdp.cpp:11:
/home/psc/src/pd/externals/pdp/include/pdp_types.h:50: error: 
redeclaration of C++ built-in type ‘bool’

make[3]: *** [gem2pdp.o] Error 1
make[3]: Leaving directory `/home/psc/src/pd/externals/gem2pdp'
make[2]: *** [gem2pdp] Error 2
make[2]: Leaving directory `/home/psc/src/pd/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/psc/src/pd/packages'
make: *** [install] Error 2

also i had to modified:

char * extension = strrchr(filename, '.');

for
char * extension = strrchr(const_cast(filename), '.');

as reported by ClaudiusMaximus
http://www.mail-archive.com/gem-...@iem.at/msg00236.html

pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev