Search found 28 matches

by patrickwalker
Mon Jan 29, 2018 10:16 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

I doubt the headers really changed all that much. The paths are clearly set, yet looks more and more like the header files are not even loaded for device.cpp, leading to the CGLGetContext() error. The only guaranteed file to be included in device.cpp doesn't include headers as well. Also, if it was ...
by patrickwalker
Mon Jan 29, 2018 6:25 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

You can still hardcode, but automatic find is preferred. Indeed. Inside of Config_OSX, I've added: find_path(OPENGL_SEARCH_PATH OpenGL.h PATHS "${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/opengl.framework" ) find_path(OPENGL_INCLUDE_PATH OpenGL.h PATHS "${CMAKE_OSX_SYSROOT}/System...
by patrickwalker
Mon Jan 29, 2018 5:35 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

Oh, none ? Thats the root problem then. Try find out how cmake can find ogl Jens Should be easy enough, which is probably why it will take me forever to get done. But here goes... set(OPENGL_SEARCH_PATH "${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/opengl.framework") set(OPENGL_INCLUDE_...
by patrickwalker
Mon Jan 29, 2018 5:21 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

EDIT: a simple #include <OpenGL/OpenGL.h> should do, it inherits CGLCurrent.h or if you want it more strict <OpenGL/CGLCurrent.h> It does work with that. Error disappears. Check in cmake the opengl_include_dir was properly found. I should look like: /Applications/Xcode.app/Contents/Developer/Platfo...
by patrickwalker
Mon Jan 29, 2018 4:24 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

I can, but all I did was add the libembree.2.17.2.dylib and the embree header files from 2.17.2.

Most of the changes really have been in cmake configuration(s). There is still that outstanding header file issue for device.cpp.
by patrickwalker
Mon Jan 29, 2018 3:43 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

SDKpathes are never a problem, cause you can assume a given structure ( unless Aplle reinvented the wheel again ) Once the changes are added to the online repository, what I'll do is wipe and redownload and redo it once again. By C++ bindings, do you mean cl.hpp into Xcode? Yes, the file is there. ...
by patrickwalker
Mon Jan 29, 2018 2:59 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

########################################################################### # # Configuration ( Jens Verwiebe ) # ########################################################################### MESSAGE(STATUS "Using OSX Configuration settings") # Allow for the location of OSX_DEPENDENCY_ROOT ...
by patrickwalker
Mon Jan 29, 2018 2:35 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

So, going the preferred route, the macOS dependency archive would have to include the embree2 library and header files for 2.17.2. So, I commented out the EMBREE entries and added in the EMBREE_SEARCH_PATH. The CGLGetCurrentContext() error remains. I guess I just have to somehow find where/which hea...
by patrickwalker
Mon Jan 29, 2018 1:45 pm
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

SET(EMBREE_LIBRARY ${OSX_DEPENDENCY_ROOT}/lib/embree2/libembree.2.8.0.dylib) So, here's where some fun begins. I did a full HDD search and it is not finding this dylib. I've gone through the usual spots and cannot find them. That error seems to have disappeared as The OpenGL/OpenCL interoperability...
by patrickwalker
Mon Jan 29, 2018 2:54 am
Forum: Development
Topic: Mac OS
Replies: 215
Views: 126662

Re: Mac OS

I erased and redownloaded everything. Managed to get GUI version of cmake generate the Xcode file, however, I'm getting errors. The root cause might be that Xcode cannot find embree2/rtcore_builder.h as referenced in bvhembreebuild.cpp. I had hoped it was included in TBB, but I cannot find it in the...