So let me make sure I understand you... you're opening X11 first and then launching Pd/pdp?  X11 *does* need to be open for the window to be created.  I think you're supposed to use pdp_glx anyway last time I checked, but I am definitely not the most knowledgable source :)

Good luck
Kevin

On 2/2/07, Daniel Arcé <da@ringer.ca> wrote:
Hello
I'm trying to use pdp in os x 10.4.7 with pd-extended 0.39.2 (hc's version).

My goal is to create a simple video window using pdp_xv, but I'm met with
the error:

pdp_xv: autocreate window
pdp_xv: cant open display :0

same with pdp_glx.

Here are more details about my situation:

I needed to install x11 from the Tiger cd. This solved the missing library
problems. X11 now says it is "X11 1.1.1 - XFree86 4.4.0"

I launched pd-extended by 1) clickin on it, and 2) from the xterm window
via "open Pd-extended.app". The problem is the same either way.

PD launches with the smallest of complaints, notably:

pdp_text : severe error : could not load default font : no rendering !!!

I found some source code floating around. It seems that the error comes
from this method:


   imlib_add_path_to_font_path("/usr/X11R6/lib/X11/fonts/TTF");
   font = imlib_load_font(DEFAULT_FONT);
   if ( !font )
   {
      post( "pdp_text : severe error : could not load default font : no
rendering !!!" );
   }
   imlib_context_set_font( font );

I found the code in a google cache, so I don't know if it's current or what:
http://64.233.167.104/search?q=cache:V-rLTO-hUmcJ:cvs.sourceforge.net/viewcvs.py/pure-data/externals/pidip/

Anyhow, all that to say that I went to that directory, and there are a
number of .TTF files in it. For some reason DEFAULT_FONT is returning
null.


So my question again: How can I get pdp_xv to work on os x? Is the message
"no rendering !!!" linked to my problem?

I can create windows with GEM, but pdp falls on my desk.

Any ideas?

Thanks!
Daniel.

_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



--


++++
http://pocketkm.blogspot.com