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 :)
<br><br>Good luck<br>Kevin<br><br><div><span class="gmail_quote">On 2/2/07, <b class="gmail_sendername">Daniel Arcé</b> &lt;<a href="mailto:da@ringer.ca">da@ringer.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>I&#39;m trying to use pdp in os x 10.4.7 with pd-extended 0.39.2 (hc&#39;s version).<br><br>My goal is to create a simple video window using pdp_xv, but I&#39;m met with<br>the error:<br><br>pdp_xv: autocreate window
<br>pdp_xv: cant open display :0<br><br>same with pdp_glx.<br><br>Here are more details about my situation:<br><br>I needed to install x11 from the Tiger cd. This solved the missing library<br>problems. X11 now says it is &quot;X11 
1.1.1 - XFree86 4.4.0&quot;<br><br>I launched pd-extended by 1) clickin on it, and 2) from the xterm window<br>via &quot;open Pd-extended.app&quot;. The problem is the same either way.<br><br>PD launches with the smallest of complaints, notably:
<br><br>pdp_text : severe error : could not load default font : no rendering !!!<br><br>I found some source code floating around. It seems that the error comes<br>from this method:<br><br><br>&nbsp;&nbsp; imlib_add_path_to_font_path(&quot;/usr/X11R6/lib/X11/fonts/TTF&quot;);
<br>&nbsp;&nbsp; font = imlib_load_font(DEFAULT_FONT);<br>&nbsp;&nbsp; if ( !font )<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;post( &quot;pdp_text : severe error : could not load default font : no<br>rendering !!!&quot; );<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; imlib_context_set_font( font );
<br><br>I found the code in a google cache, so I don&#39;t know if it&#39;s current or what:<br><a href="http://64.233.167.104/search?q=cache:V-rLTO-hUmcJ:cvs.sourceforge.net/viewcvs.py/pure-data/externals/pidip/">http://64.233.167.104/search?q=cache:V-rLTO-hUmcJ:cvs.sourceforge.net/viewcvs.py/pure-data/externals/pidip/
</a><br><br>Anyhow, all that to say that I went to that directory, and there are a<br>number of .TTF files in it. For some reason DEFAULT_FONT is returning<br>null.<br><br><br>So my question again: How can I get pdp_xv to work on os x? Is the message
<br>&quot;no rendering !!!&quot; linked to my problem?<br><br>I can create windows with GEM, but pdp falls on my desk.<br><br>Any ideas?<br><br>Thanks!<br>Daniel.<br><br>_______________________________________________<br>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote>
</div><br><br clear="all"><br>-- <br><br><br>++++<br><a href="http://pocketkm.blogspot.com">http://pocketkm.blogspot.com</a>