Changes for migrating to glfw3.0.4 for the sb6 classes#13
Changes for migrating to glfw3.0.4 for the sb6 classes#13prabindh wants to merge 2 commits intoopenglsuperbible:masterfrom
Conversation
|
I could not manage to compile your fork on linux with glfw3 Did you try ? |
|
Sorry, I tried on Windows, but it should be quick enough for me to try on Linux. Any chance you can share the error log ? regards On Thursday, March 27, 2014 7:37 PM, sajis997 notifications@github.com wrote: I could not manage to compile your fork on linux with glfw3 |
|
Here goes the error info 1: ///////////////////////////////////////////// |
|
Sorry. It is an issue with the Windows build as well. My patch generation process is broken at the moment, but I made a commit to fix this - can you please try this on top of what you have: prabindh@ed8b584 |
|
Thanks for the effort, now i got something i used to get initially , linker error: ////////////////////////////////////////// I think some changes is necessary inside the CMakeLists.txt. I already have the new version of glfw installed and do we need to refer to it as external library inside the CMakeList.txt ? Thanks |
|
In CMakeLists.txt we have if(WIN32) The trouble is that the elif(UNIX) bit works out as false on my Linux box. If I replace then it builds ok. |
|
Having said it builds ok, the programs fail to create an OpenGL context. |
|
What toolchain are you using to build ? CMake should detect all *nix flavors correctly. http://www.cmake.org/Wiki/CMake_Useful_Variables#System_.26_Compiler_Information |
The attached patch for sb6.h migrates sb6 classes to use glfw3.0.4 package. Build tested with Visual Studio 2012 on Windows 7, with glfw3.0.4 and sb6code.