<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Zack Rusin <zack <at> <a href="http://kde.org/" target="_blank">kde.org</a>> writes:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">> </div><div style="font-family:arial,sans-serif;font-size:13px">> On Mon, Dec 1, 2014 at 2:20 PM, José Fonseca <jose.r.fonseca <at> <a href="http://gmail.com/" target="_blank">gmail.com</a>> wrote:I never tried building with the "Xcode" generator. I always use the default "Unix Makefiles" generator.</div><span class="im" style="font-family:arial,sans-serif;font-size:13px"><div>> Does the issue happen with the Unix Makefiles cmake generator too?</div><div>> </div><div>> </div><div>> Nah, those work correctly. Xcode generator has been broken for a while (maybe even always). I use 'ninja' because it's faster than the alternatives but both unix makefiles and ninja work fine.</div><div><br></div></span><div style="font-family:arial,sans-serif;font-size:13px">Ok, I tried the makefiles generator again and I got it to build. I think the problem I hit before was a bad clang installation.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">However, it doesn't work for me:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> ~/dev/src/apitrace/build (master) $ ./apitrace trace ~/dev/prefix/bin/qmlscene</div><div style="font-family:arial,sans-serif;font-size:13px"> apitrace: loaded into /Users/ske/dev/prefix/bin/qmlscene</div><div style="font-family:arial,sans-serif;font-size:13px"> apitrace: tracing to /Users/ske/dev/src/apitrace/build/qmlscene.trace</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> ~/dev/src/apitrace/build (master) $ DYLD_FRAMEWORK_PATH=$PWD/wrappers ~/dev/prefix/bin/qmlscene</div><div style="font-family:arial,sans-serif;font-size:13px"> apitrace: loaded into /Users/ske/dev/prefix/bin/qmlscene</div><div style="font-family:arial,sans-serif;font-size:13px"> apitrace: tracing to /Users/ske/dev/src/apitrace/build/qmlscene.1.trace</div><div style="font-family:arial,sans-serif;font-size:13px"> Segmentation fault: 11</div><div style="font-family:arial,sans-serif;font-size:13px"> ~/dev/src/apitrace/build (master) $ l $PWD/wrappers/</div><div style="font-family:arial,sans-serif;font-size:13px"> CMakeFiles          Makefile            OpenGL.framework    cgltrace.cpp        cmake_install.cmake</div><div style="font-family:arial,sans-serif;font-size:13px"> ~/dev/src/apitrace/build (master) $ </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Any guidance from here?</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small"><br></span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">For example, is there a requirement that apitrace and Qt (and anything else - what else?) is compiled with the same compiler? In this case, Qt and apitrace are compiled with the same compiler, (a self-built clang), but if there are other dependencies coming from the system, then they were not compiled with the same compiler.</span><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">Is there a simpler testcase available than Qt?</div><div><br></div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Steve.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 3:04 AM, Zack Rusin <span dir="ltr"><<a href="mailto:zack@kde.org" target="_blank">zack@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Mon, Dec 1, 2014 at 2:20 PM, José Fonseca <span dir="ltr"><<a href="mailto:jose.r.fonseca@gmail.com" target="_blank">jose.r.fonseca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I never tried building with the "Xcode" generator. I always use the default "Unix Makefiles" generator.<div><br></div><div>Does the issue happen with the Unix Makefiles cmake generator too?</div></div></blockquote><div><br></div></span><div>Nah, those work correctly. Xcode generator has been broken for a while (maybe even always). I use 'ninja' because it's faster than the alternatives but both unix makefiles and ninja work fine.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>z  </div></font></span></div></div></div>
</blockquote></div><br></div>