> I'm on 10.7 also, and XCode still lives in /Developer, so I imagine I > wouldn't be of any help.
I'm on 10.7, but using Xcode 4.3.1 - which now resides in /Applications and not /Developer anymore (downloaded from the App store). And I can confirm that pyopencl seems not to compile anymore, I am also getting the "fatal error: 'OpenCL/opencl.h' file not found". This switch of /Developer to /Applications was fixed a few weeks ago for macports. So getting this fixed for 10.7 + Xcode 4.3 (the current 'stable' version of OSX+XCode) should also make it working for 10.8beta Incidentally, the opencl.h files on my disk are: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/opencl.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/opencl.h /System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/opencl.h ... And if I try a fresh install of pyopencl: ########## git clone http://git.tiker.net/trees/pyopencl.git cd pyopencl git submodule init git submodule update python2.7 configure.py more siteconf.py [...] CXXFLAGS = ['-arch', 'i386', '-arch', 'x86_64', '-isysroot', '/Developer/SDKs/MacOSX10.7.sdk'] LDFLAGS = ['-arch', 'i386', '-arch', 'x86_64', '-isysroot', '/Developer/SDKs/MacOSX10.7.sdk', '-Wl', '-framework', 'OpenCL'] ########## So it seems that pyopencl still writes '/Developer/SDKs/MacOSX10.7.sdk' in the siteconfig.py, I am not sure why. I replaced this path in siteconfig.py by "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk", and it seems to be working ! Cheers, Vincent -- Vincent Favre-Nicolin http://inac.cea.fr CEA/Grenoble Institut Nanosciences & Cryogénie Laboratoire SP2M/Nano-structures et Rayonnement Synchrotron 17, rue des Martyrs 38054 Grenoble Cedex 9 - France Université Joseph Fourier http://www.ujf-grenoble.fr tél: (+33) 4 38 78 95 40 fax: (+33) 4 38 78 51 38 _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
