<div dir="ltr">Yes, indeed the requirements list is important information for those using the windows, yet the windows binaries packages do not even include INSTALL.markdown. I think I should have a INSTALL-windows.markdown with specific instructions for windows binaries packages.<div>
<br></div><div>I'm surprised about the missing msvcr71.dll though. The Apitrace binaries I make available in <a href="http://people.freedesktop.org/~jrfonseca/apitrace/">http://people.freedesktop.org/~jrfonseca/apitrace/</a> statically link the CRT.</div>
<div><br></div><div>Note you don't need to use Python 2.7 exactly: any 2.7.x should work fine. Actually it's probably better to install the latest <a href="https://www.python.org/download/releases/2.7.6/">https://www.python.org/download/releases/2.7.6/</a> if you haven't done so.</div>
<div><br></div><div>Jose </div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 2, 2014 at 11:59 PM, Ron <span dir="ltr"><<a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div dir="ltr">Bingo! This got me started on the right path. Thank you.<div><br></div><div>Now, isn't this listed in an area for those who want to build APITrace? Those who want to just install and run APITrace don't need to install CMake, Qt and QJson, right? It seems to me listing the run-only requirements in an easily-seen area would greatly help those like me who just need to install and run pre-compiled versions of APItrace.</div>
<div><br></div><div>To help those others who want to just install and run (and use diff-images) as well, here is what I did:</div><div><br></div><div>- Download and install Python 2.7 from: <a href="https://www.python.org/download/releases/2.7" style="font-size:12pt" target="_blank">https://www.python.org/download/releases/2.7</a></div>
<div>- The system complained about "msvcr71.dll is missing windows 7 64". I ended up downloading and moving two msvc dll's (MSVCP71.dll and msvcr71.dll) from: <a href="http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/" style="font-size:12pt" target="_blank">http://www.addictivetips.com/windows-tips/fix-msvcp71-dll-and-msvcr71-dll-missing-error-in-windows-7/</a> and copying them into the 32 bit view of my Windows 64 OS (C:\Windows\SysWOW64).</div>
<div>- The version of PIL has to match the python version. I downloaded and used this one: <a href="http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe" target="_blank">http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe</a>. When you install it it goes into where you installed Python 2.7.</div>
<div><br></div><div>Thanks again, Lawrence and Terence.</div><div><br></div><div>Ron</div><div><br><div><hr>Date: Fri, 2 May 2014 11:38:46 -0700<div class=""><br>Subject: Re: diff image error<br></div>From: <a href="mailto:lawlove@gmail.com" target="_blank">lawlove@gmail.com</a><br>
To: <a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a><br>CC: <a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a><div><div class="h5"><br><br><div dir="ltr">
How about <div><a href="https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements" target="_blank">https://github.com/apitrace/apitrace/blob/master/INSTALL.markdown#requirements</a><br></div></div><div>
<br><br><div>On Fri, May 2, 2014 at 10:57 AM, Ron <span dir="ltr"><<a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>></span> wrote:<br><blockquote style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div dir="ltr">Terence,<div><br></div><div>Actually the reason I installed 3.4 is because 2.7 was giving that error so I thought I must have an old version. I have gone back to 2.7 and I am getting the same exact error:</div>
<div><div><br></div><div>"</div><div><div><br></div><div> File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39, in <module></div><div> from PIL import Image</div><div>ImportError: No module named PIL</div>
</div><div>"</div><div><br></div></div><div>To the community: is there a list of all the external dependencies for APITrace (such as Python and its required version) that one is supposed to adhere to before APITrace works correctly or do we have to guess what those are? I have been going through the docs and if it's there I'm failing to find it.</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Ron</div><div><br><br><div><hr>From: <a href="mailto:Terry.Amato@medsimulation.com" target="_blank">Terry.Amato@medsimulation.com</a><br>To: <a href="mailto:rasarx@hotmail.com" target="_blank">rasarx@hotmail.com</a>; <a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a><br>
Subject: RE: diff image error<br>Date: Thu, 1 May 2014 14:30:38 +0000<div><div><br><br>
<div>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">PIL stands for Python Image Library.</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">It makes image related work fairly easy.</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">However, the latest version of PIL does not seem to support python 3.4 and you’ll need to download python 2.7.</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">This was read from PIL’s homepage.</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">As far as other python modules or anything else you might be missing, I’m hoping others respond because my use of apitrace has been rather limited.</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Terence</span><br>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><br>
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in">
<b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> apitrace [mailto:<a href="mailto:apitrace-bounces@lists.freedesktop.org" target="_blank">apitrace-bounces@lists.freedesktop.org</a>]
<b>On Behalf Of </b>Ron<br>
<b>Sent:</b> Wednesday, April 30, 2014 6:44 PM<br>
<b>To:</b> .<br>
<b>Subject:</b> diff image error</span><br>
</div>
</div>
<br>
<div>
<span style="font-family:Calibri,sans-serif">Hi,</span><br>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif">I'm a APITrace newb so please don't mind the question being too primitive. I have recently downloaded and started using APITrace. There is probably more to prepping for running APITrace
correctly than what I have gleaned from what documentation I have come across, mainly in this page: </span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif"><a href="https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage" target="_blank">https://github.com/apitrace/apitrace/blob/master/README.markdown#basic-usage</a></span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif">While I have been able to generate trace files and replay them with some success, I have had trouble with doing image comparison between different runs. (This is all on Windows 7, by the
way).</span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif">I first had this error:</span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
<blockquote>
<div>
<div>
<span style="font-family:Calibri,sans-serif">$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4</span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif">error: failed to execute python</span><br>
</div>
</div>
</blockquote>
<div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif">which made me realize I needed Python. I downloaded and installed Python 3.4 and that got me past the above error. But since I haven't seen installing Python mentioned in the docs that
I have read so far, the next error is making me wonder if there are other things required on my system for successful use of APITrace. Can anyone tell me what the following error indicates I'm missing?</span><br>
</div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
</div>
<blockquote>
<div>
<div>
<span style="font-family:Calibri,sans-serif">$ apitrace diff-images --output summary.html I:\APITRACE\Snapshots\REF3 I:\APITRACE\Snapshots\REF4</span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif">Traceback (most recent call last):</span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif"> File "I:\APITRACE\x86\bin\..\lib\scripts\snapdiff.py", line 39,</span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif">in <module></span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif"> from PIL import Image</span><br>
</div>
</div>
<div>
<div>
<span style="font-family:Calibri,sans-serif">ImportError: No module named 'PIL'</span><br>
</div>
</div>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
</blockquote>
<span style="font-family:Calibri,sans-serif"><br>
Thanks!<br>
<br>
Ron</span><br>
<div>
<span style="font-family:Calibri,sans-serif"> </span><br>
</div>
</div>
</div>
<br></div></div>_______________________________________________
apitrace mailing list
<a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a></div></div> </div></div>
<br>_______________________________________________<br>
apitrace mailing list<br>
<a href="mailto:apitrace@lists.freedesktop.org" target="_blank">apitrace@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
<br></blockquote></div><br></div></div></div></div></div> </div></div>
<br>_______________________________________________<br>
apitrace mailing list<br>
<a href="mailto:apitrace@lists.freedesktop.org">apitrace@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
<br></blockquote></div><br></div></div></div>