apitrace on OS X

José Fonseca jose.r.fonseca at gmail.com
Tue May 14 23:13:12 PDT 2013


On Wed, May 15, 2013 at 1:54 AM, Peter Lohrmann <peterl at valvesoftware.com>wrote:

>  Looks like the library I was generating was x86_64, but the application
> was strictly i386.  It took a bit of messing around with the project
> settings to get it to output just a 32-bit version, and then it seems the
> generated library went to a different directory
> /ApiTrace/build/wrappers/Debug instead of /ApiTrace/build/Debug/wrappers.
>
That's peculiar, as CMakeLists.txt should have built both architectures:

  # On Mac OS X build fat binaries with i386 and x86_64 architectures by
default.
  if (APPLE AND NOT CMAKE_OSX_ARCHITECTURES)
      set (CMAKE_OSX_ARCHITECTURES "i386;x86_64" CACHE STRING "Build
architectures for OSX" FORCE)
  endif ()

What XCode version did you use? Did you use cmake and make to build from
commandline, or something different?

Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20130515/2a6b144e/attachment.html>


More information about the apitrace mailing list