-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building issues fixed on Mac with SDK 10.10 and Xcode 6.2 #1
Comments
Hey kayjkay, Could you give me a little bit more information since I'm unfamiliar with OSX?
|
Hi Nick, Thank you for making the ICP source available. The External Repository cmake did not work that I had to manually build To answer your questions:
I hope to get your ICP source and the OpenGL example built on OSX. If I Thanks again. Kay On Thu, Jun 18, 2015 at 4:20 PM, Nick Lamprianidis <notifications@github.com
|
Thank you Kay for the fixes. |
Dear Guys; I think I'm running into the same problem; however, I don't know how to fix it. Kayjkay, if you have had success, can you tell me how to get everything to compile? Here is what I'm getting when I try to compile CLutils by itself: DrHalftone:build dllau$ cmake .. |
Ok, I found a reference to the same compiling problem but a different project. I now better understand kayjkay's solution. What I read was that Mac OS X 10.10 SDK doesn't include the C++ OpenCL headers (the ones that end in .hpp). So that's why we have to download them from Kronos. I thought that by following kayjkay's solution, I was duplicating the headers and that CMake just wasn't finding them. I see that was wrong. So now I can compile the CLUtils project. |
I was unable to compile on Mac with SDK 10.10 and Xcode 6.2. However, the following are the simple fixes.
https://www.khronos.org/registry/cl/api/1.2/cl.hpp
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers
include < numeric >
to have this compile:
rep total (rep initVal = 0.0)
{
return std::accumulate (tExec.begin (), tExec.end (), initVal);
}
if defined(_WIN32)
include <windows.h>
elif defined(linux)
include <GL/glx.h>
elif APPLE
include <OpenGL/OpenGL.h>
endif
The text was updated successfully, but these errors were encountered: