{"action":"created","issue":{"url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/358","labels_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/358/comments","events_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/358/events","html_url":"https://github.com/PixarAnimationStudios/OpenSubdiv/issues/358","id":45821326,"number":358,"title":"glViewer 'Failed to open window'","user":{"login":"deepak1556","id":964386,"avatar_url":"https://avatars.githubusercontent.com/u/964386?v=3","gravatar_id":"","url":"https://api.github.com/users/deepak1556","html_url":"https://github.com/deepak1556","followers_url":"https://api.github.com/users/deepak1556/followers","following_url":"https://api.github.com/users/deepak1556/following{/other_user}","gists_url":"https://api.github.com/users/deepak1556/gists{/gist_id}","starred_url":"https://api.github.com/users/deepak1556/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepak1556/subscriptions","organizations_url":"https://api.github.com/users/deepak1556/orgs","repos_url":"https://api.github.com/users/deepak1556/repos","events_url":"https://api.github.com/users/deepak1556/events{/privacy}","received_events_url":"https://api.github.com/users/deepak1556/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/labels/example+code","name":"example code","color":"02e10c"},{"url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/labels/platform-specifc","name":"platform-specifc","color":"CC6666"}],"state":"open","locked":false,"assignee":{"login":"manuelk","id":1672752,"avatar_url":"https://avatars.githubusercontent.com/u/1672752?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelk","html_url":"https://github.com/manuelk","followers_url":"https://api.github.com/users/manuelk/followers","following_url":"https://api.github.com/users/manuelk/following{/other_user}","gists_url":"https://api.github.com/users/manuelk/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelk/subscriptions","organizations_url":"https://api.github.com/users/manuelk/orgs","repos_url":"https://api.github.com/users/manuelk/repos","events_url":"https://api.github.com/users/manuelk/events{/privacy}","received_events_url":"https://api.github.com/users/manuelk/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2014-10-15T01:47:57Z","updated_at":"2015-01-10T19:44:48Z","closed_at":null,"body":"OS - archlinux 64-bit\r\nglfw-3.0.4-2 , glew-1.11.0-1\r\nopensubdiv compiled successfully\r\n\r\n```\r\nbin git:master  ❯ sudo lshw -short | grep -i --color display\r\n/0/100/1/0             display        GK107M [GeForce GT 755M]\r\n/0/100/2               display        4th Gen Core Processor Integrated Graphics Controller\r\n\r\nbin git:master  ❯ ldd glViewer       \r\n\tlinux-vdso.so.1 (0x00007fffb7ffc000)\r\n\tlibpng16.so.16 => /usr/lib64/lib64/libpng16.so.16 (0x00007f23b954b000)\r\n\tlibz.so.1 => /usr/lib64/lib64/libz.so.1 (0x00007f23b9335000)\r\n\tlibosdCPU.so.3.0.0.alpha => /home/robo/github/opensubdiv/build/lib/libosdCPU.so.3.0.0.alpha (0x00007f23b9043000)\r\n\tlibosdGPU.so.3.0.0.alpha => /home/robo/github/opensubdiv/build/lib/libosdGPU.so.3.0.0.alpha (0x00007f23b8dff000)\r\n\tlibGLU.so.1 => /usr/lib64/lib64/libGLU.so.1 (0x00007f23b8b7e000)\r\n\tlibGL.so.1 => /usr/lib64/lib64/libGL.so.1 (0x00007f23b890e000)\r\n\tlibSM.so.6 => /usr/lib64/lib64/libSM.so.6 (0x00007f23b8706000)\r\n\tlibICE.so.6 => /usr/lib64/lib64/libICE.so.6 (0x00007f23b84e9000)\r\n\tlibX11.so.6 => /usr/lib64/lib64/libX11.so.6 (0x00007f23b81a7000)\r\n\tlibXext.so.6 => /usr/lib64/lib64/libXext.so.6 (0x00007f23b7f95000)\r\n\tlibglfw.so.3 => /usr/lib64/lib64/libglfw.so.3 (0x00007f23b7d82000)\r\n\tlibXrandr.so.2 => /usr/lib64/lib64/libXrandr.so.2 (0x00007f23b7b78000)\r\n\tlibXxf86vm.so.1 => /usr/lib64/lib64/libXxf86vm.so.1 (0x00007f23b7972000)\r\n\tlibXcursor.so.1 => /usr/lib64/lib64/libXcursor.so.1 (0x00007f23b7767000)\r\n\tlibrt.so.1 => /usr/lib64/lib64/librt.so.1 (0x00007f23b755f000)\r\n\tlibGLEW.so.1.11 => /usr/lib64/lib64/libGLEW.so.1.11 (0x00007f23b72ce000)\r\n\tlibgomp.so.1 => /usr/lib64/lib64/libgomp.so.1 (0x00007f23b70b8000)\r\n\tlibstdc++.so.6 => /usr/lib64/lib64/libstdc++.so.6 (0x00007f23b6da9000)\r\n\tlibm.so.6 => /usr/lib64/lib64/libm.so.6 (0x00007f23b6aa4000)\r\n\tlibgcc_s.so.1 => /usr/lib64/lib64/libgcc_s.so.1 (0x00007f23b688e000)\r\n\tlibpthread.so.0 => /usr/lib64/lib64/libpthread.so.0 (0x00007f23b6672000)\r\n\tlibc.so.6 => /usr/lib64/lib64/libc.so.6 (0x00007f23b62cf000)\r\n\tlibglapi.so.0 => /usr/lib64/lib64/libglapi.so.0 (0x00007f23b60a6000)\r\n\tlibXdamage.so.1 => /usr/lib64/lib64/libXdamage.so.1 (0x00007f23b5ea3000)\r\n\tlibXfixes.so.3 => /usr/lib64/lib64/libXfixes.so.3 (0x00007f23b5c9d000)\r\n\tlibX11-xcb.so.1 => /usr/lib64/lib64/libX11-xcb.so.1 (0x00007f23b5a9b000)\r\n\tlibxcb-glx.so.0 => /usr/lib64/lib64/libxcb-glx.so.0 (0x00007f23b5881000)\r\n\tlibxcb-dri2.so.0 => /usr/lib64/lib64/libxcb-dri2.so.0 (0x00007f23b567c000)\r\n\tlibxcb-dri3.so.0 => /usr/lib64/lib64/libxcb-dri3.so.0 (0x00007f23b5479000)\r\n\tlibxcb-present.so.0 => /usr/lib64/lib64/libxcb-present.so.0 (0x00007f23b5276000)\r\n\tlibxcb-randr.so.0 => /usr/lib64/lib64/libxcb-randr.so.0 (0x00007f23b5068000)\r\n\tlibxcb-xfixes.so.0 => /usr/lib64/lib64/libxcb-xfixes.so.0 (0x00007f23b4e60000)\r\n\tlibxcb-render.so.0 => /usr/lib64/lib64/libxcb-render.so.0 (0x00007f23b4c56000)\r\n\tlibxcb-shape.so.0 => /usr/lib64/lib64/libxcb-shape.so.0 (0x00007f23b4a52000)\r\n\tlibxcb-sync.so.1 => /usr/lib64/lib64/libxcb-sync.so.1 (0x00007f23b484b000)\r\n\tlibxcb.so.1 => /usr/lib64/lib64/libxcb.so.1 (0x00007f23b4629000)\r\n\tlibxshmfence.so.1 => /usr/lib64/lib64/libxshmfence.so.1 (0x00007f23b4426000)\r\n\tlibdrm.so.2 => /usr/lib64/lib64/libdrm.so.2 (0x00007f23b4219000)\r\n\tlibdl.so.2 => /usr/lib64/lib64/libdl.so.2 (0x00007f23b4015000)\r\n\tlibuuid.so.1 => /usr/lib64/lib64/libuuid.so.1 (0x00007f23b3e10000)\r\n\tlibXi.so.6 => /usr/lib64/lib64/libXi.so.6 (0x00007f23b3bff000)\r\n\tlibXrender.so.1 => /usr/lib64/lib64/libXrender.so.1 (0x00007f23b39f5000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00007f23b9781000)\r\n\tlibXau.so.6 => /usr/lib64/lib64/libXau.so.6 (0x00007f23b37f1000)\r\n\tlibXdmcp.so.6 => /usr/lib64/lib64/libXdmcp.so.6 (0x00007f23b35eb000)\r\n\r\nbin git:master  ❯ glViewer                                                                                                                                                                  ⏎\r\nFailed to open window.\r\n```\r\n\r\nam i missing something ?"},"comment":{"url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/comments/69469069","html_url":"https://github.com/PixarAnimationStudios/OpenSubdiv/issues/358#issuecomment-69469069","issue_url":"https://api.github.com/repos/PixarAnimationStudios/OpenSubdiv/issues/358","id":69469069,"user":{"login":"manuelk","id":1672752,"avatar_url":"https://avatars.githubusercontent.com/u/1672752?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelk","html_url":"https://github.com/manuelk","followers_url":"https://api.github.com/users/manuelk/followers","following_url":"https://api.github.com/users/manuelk/following{/other_user}","gists_url":"https://api.github.com/users/manuelk/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelk/subscriptions","organizations_url":"https://api.github.com/users/manuelk/orgs","repos_url":"https://api.github.com/users/manuelk/repos","events_url":"https://api.github.com/users/manuelk/events{/privacy}","received_events_url":"https://api.github.com/users/manuelk/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T19:44:48Z","updated_at":"2015-01-10T19:44:48Z","body":"Sorry - this fell a bit through the cracks. Looking at the config & spewage, cmake is having issues locating the library dependencies for both GLFW and GLEW. The headers are found, but not the libs / dlls.\r\n\r\nAssuming you just grabbed the GLEW binary and unzipped the file, this should be working (i just updated my Win7 tinderbox to Glew 1.11.0 and FindGLEW.cmake had no problem configuring given the correct GLEW_LOCATION).\r\n\r\nThe same problem seems to be happening for GLFW, but i don't really know why. This is somewhat hard to debug without having access to your setup (particularly where the files are on your hard drives and where cmake goes wrong...). You can try tracking down the problem by adding message() commands to cmake/FindGLEW.cmake and cmake/FindGLFW.cmake (that's what i am usually doing...).\r\n\r\nTo be safe, i usually recommend wiping the entire build directory, which includes cmake caches, and reconfigure from scratch instead (which is why the cmake GUI is a pain because you have to re-enter everything by hand...). It is easy to get in a bad state because cmake often only does partial re-discovery when reconfiguring. We highly recommend working with cygwin and using a configuration script for cmake (like the ones we have posted in the documentation)...\r\n\r\n\r\n"}}