jbmcgee
jbmcgee
Hi, Platform: OSX, Intel HD 4000 I'm having trouble with the configure script failing to detect the gl context version. I believe HD 4000 supports up to 4.1 on OSX....
Sorry for the blob, get the following on the configure script: ``` Running with debug output on. debug trycompile on -- The C compiler identification is AppleClang 6.1.0.6020049 Called from:...
Oops, missed it. Get the following on `make`. ``` /usr/local/Cellar/cmake/3.2.2/bin/cmake -H/Users/jmcgee/Documents/oglplus/_build/gl/CMakeFiles/CMakeTmp -B/Users/jmcgee/Documents/oglplus/_build/gl/CMakeFiles/CMakeTmp --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_start /Users/jmcgee/Documents/oglplus/_build/gl/CMakeFiles/CMakeTmp/CMakeFiles /Users/jmcgee/Documents/oglplus/_build/gl/CMakeFiles/CMakeTmp/CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2996519597.dir/build.make CMakeFiles/cmTryCompileExec2996519597.dir/depend cd /Users/jmcgee/Documents/oglplus/_build/gl/CMakeFiles/CMakeTmp...
``` #include #include int main(int argc, char* argv[]){ glutInit(&argc, argv); glutInitDisplayMode(GLUT_3_2_CORE_PROFILE); glutCreateWindow("Test"); printf("%s %s\n", glGetString(GL_RENDERER), glGetString(GL_VERSION)); return 0; } ``` output: ``` Intel Iris OpenGL Engine 4.1 INTEL-10.6.20 ``` Without...
Yeah, was going to post the same link. I get the same. ``` #include #include #include int main(int argc, char* argv[]){ glutInit(&argc, argv); glutInitDisplayMode(GLUT_3_2_CORE_PROFILE); glutCreateWindow("Test"); int major = 0, minor...
The script detected 3.3 for me and `liboglplus.a` was built. However, the build failed on glut_main.cpp with: ``` oglplus/example/oglplus/glut_main.cpp:266:2: error: use of undeclared identifier 'glutInitContextVersion' glutInitContextVersion(OGLPLUS_GL_VERSION_MAJOR, OGLPLUS_GL_VERSION_MINOR); ```