<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I have no *.dyld files. The file that gets output from the cgltrace project is just called "OpenGL"<br>
<br>
How are you compiling? I'm using XCode.<br>
<br>
Where does your trace file get generated? In the ApiTrace folder, or the OSX.app/Contents/MacOS/CINEBENCH OSX" folder?<br>
<br>
Even if I am in the directory containing apitrace, it is not recognized as an executable if I try to run it as you mention below. It does work if I use "open apitrace" and I can see the usage print out. Unfortunately I'm not able to get it to recognize any
 arguments.<br>
<br>
- Peter<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF357467"><font color="#000000" face="Tahoma" size="2"><b>From:</b> José Fonseca [jose.r.fonseca@gmail.com]<br>
<b>Sent:</b> Tuesday, May 14, 2013 3:09 PM<br>
<b>To:</b> Peter Lohrmann<br>
<b>Cc:</b> Apitrace list<br>
<b>Subject:</b> Re: apitrace on OS X<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">I use apitrace on MacOSX, though only sporadically.
<div><br>
</div>
<div>I haven't tried tracing through "open". What I typically do is to find inside the executable inside foo.app/ and invoke that directly.  Take for example CINEBENCH -- if you download CINEBENCH <a href="http://www.maxon.net/?id=1258" target="_blank">http://www.maxon.net/?id=1258</a> ,
 then you'd trace it as</div>
<div><br>
</div>
<div style="">   apitrace trace "CINEBENCH OSX.app/Contents/MacOS/CINEBENCH OSX"</div>
<div style=""><br>
</div>
<div style="">or somthing like that.</div>
<div style=""><br>
</div>
<div style="">Also, I'm surprised you have a wrappers/Debug subdir -- when I build on MacOSX the .dyld wrappers does not go into a Debug subdir. This only happens on MSVC builds for me. What does</div>
<div style=""><br>
</div>
<div style="">  find /ApiTrace/build -name \*.dyld </div>
<div>
<div>
<div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra" style="">output?</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Jose<br>
<br>
<div class="gmail_quote">On Tue, May 14, 2013 at 10:21 PM, Peter Lohrmann <span dir="ltr">
<<a href="mailto:peterl@valvesoftware.com" target="_blank">peterl@valvesoftware.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 lang="EN-US">
<div>
<div>
<div>
<div>
<div>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Hi all,<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">I'm trying to use apitrace on OS X, but having trouble. I've got the project building, and am using the suggested command line to launch the application (while also
 overriding DYLD_LIBRARY_PATH) and it does run, but I can't find a trace file anywhere. I'm guessing the application is not actually loading my opengl library.
<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="">export DYLD_LIBRARY_PATH=/ApiTrace/build/wrappers/Debug/<u></u><u></u></p>
<p class="">open <long path>/OSXGLEssentials.app<u></u><u></u></p>
<p class=""><u></u> <u></u></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Can anyone offer some suggestions as to what the issue may be, or how to investigate this farther? I'm relatively new to OS X development, so all help would be appreciated.<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Thank you,<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">   Peter<u></u><u></u></span></p>
</div>
</div>
</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>
</div>
</body>
</html>