<div class="gmail_quote">2012/1/18 Arnaud F <span dir="ltr">&lt;<a href="mailto:pachalmars@gmail.com">pachalmars@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Still no luck.<br>I made sure that i am using the correct version of tcl/tk and tested the compilation of tkinter with python27 and it worked.<br>With pypy, i still have to define WITH_THREAD (it&#39;s defined in pyconfig.h for python27 but not in pypy-1.7); I also had to modify the setup.py since i used tcl/tk 8.5 (and the libs do not have the dot in windows : tcl85 and tk85)<br>

Now I get missing libs error from the linker :<br><br>LINK : fatal error LNK1181: cannot open input file &#39;X11.lib&#39;<br>LINK : fatal error LNK1181: cannot open input file &#39;python27.lib&#39;<br></blockquote><div>
<br></div><div>Well, this is progress!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">if i try to remove X11 from the librairies in setup.py and add a path to python27.lib, i get a lot of unresolved external symbols<br>
</blockquote><div><br></div><div>How comes that you need the X11 library? didn&#39;t you build a dll version of tcl/tk? (tcl85.dll, tk85.dll)</div><div>Don&#39;t use the CPython python27.lib, you should use the one shipped with pypy; it&#39;s possible that it is named libpypy.lib instead. Just rename it if needed.</div>
<div><br></div></div>-- <br>Amaury Forgeot d&#39;Arc<br>