Closed jansegre closed 9 years ago
I was just trying out Embree v2.4 with gcc (clang 6 based) and do not see that issue. However, on my machine linking is performed using g++ and not Applications/Xcode6-Beta5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld.
Are you using an unmodified version of Embree v2.4?
You can also disable the JPEG support in cmake to work around the link issue.
Yes I'm building unmodified version of Embree v2.4. I thought I wasn't because I was on master, but v2.4 branch and master are at the same commit (584545...).
I could build when disabling JPEG, I don't mind, but still, it's odd.
This is what I get on a straight forward compilation attempt on OS X.
I went full verbose and got as far as:
I use homebrew, I also checked my libjpeg.dylib:
I was able to compile
ospray
with no issue, which means that I must have the correct dependencies.I also checked that the arch is correct, even if it wasn't the error would be different.
I can't tell for sure that I don't have an issue on my environment, but I'm running out of ideas on what to test, I mean, the lib is there and it has the symbols, why won't it link? Is there maybe a mangling issue with ispc or something?