{"action":"created","issue":{"url":"https://api.github.com/repos/mickelson/sfml-pi/issues/2","repository_url":"https://api.github.com/repos/mickelson/sfml-pi","labels_url":"https://api.github.com/repos/mickelson/sfml-pi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mickelson/sfml-pi/issues/2/comments","events_url":"https://api.github.com/repos/mickelson/sfml-pi/issues/2/events","html_url":"https://github.com/mickelson/sfml-pi/issues/2","id":209159800,"number":2,"title":"lots of errors for cmake ... libGLESv1_CM.so","user":{"login":"shiftleftplusone","id":11213519,"avatar_url":"https://avatars1.githubusercontent.com/u/11213519?v=4","gravatar_id":"","url":"https://api.github.com/users/shiftleftplusone","html_url":"https://github.com/shiftleftplusone","followers_url":"https://api.github.com/users/shiftleftplusone/followers","following_url":"https://api.github.com/users/shiftleftplusone/following{/other_user}","gists_url":"https://api.github.com/users/shiftleftplusone/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftleftplusone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftleftplusone/subscriptions","organizations_url":"https://api.github.com/users/shiftleftplusone/orgs","repos_url":"https://api.github.com/users/shiftleftplusone/repos","events_url":"https://api.github.com/users/shiftleftplusone/events{/privacy}","received_events_url":"https://api.github.com/users/shiftleftplusone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-21T14:23:44Z","updated_at":"2017-09-16T08:35:08Z","closed_at":null,"author_association":"NONE","body":"hello,\r\n\r\n\r\nI am using g++ (GCC) 6.3.0,  C++(14), \r\non my Raspberry Pi 2 \r\nRaspbian GNU/Linux 8 (jessie)\r\nLinux RPi 4.4.38-v7+ #938 SMP Thu Dec 15 \r\n\r\nI followed your instructions and installed cmake: \r\nsudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg8-dev libfreetype6-dev libudev-dev libraspberrypi-dev\r\n\r\nand sfml-pi:\r\nsudo git clone https://github.com/mickelson/sfml-pi.git\r\n\r\nbut for the cmake cmd to build the sfml-library there are lots of errors:\r\n\r\n`cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so\r\n`\r\n.\r\n.\r\n.\r\n\r\n```\r\n\r\ncmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake:177 (file):\r\n  file failed to open for writing (No such file or directory):\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeOutput.log\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error: Could not open file for write in copy operation /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CMakeSystem.cmake.tmp\r\nCMake Error: : System Error: No such file or directory\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake:189 (configure_file):\r\n  configure_file Problem configuring file\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdC\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdC\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdC\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdC\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:642 (file):\r\n  file failed to open for writing (No such file or directory):\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeError.log\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:55 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:121 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\n-- The C compiler identification is unknown\r\nCMake Error: Could not open file for write in copy operation /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CMakeCCompiler.cmake.tmp\r\nCMake Error: : System Error: No such file or directory\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCCompiler.cmake:184 (configure_file):\r\n  configure_file Problem configuring file\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error: Could not find cmake module file: /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CMakeCCompiler.cmake\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdCXX\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake:113 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:141 (file):\r\n  file problem creating directory:\r\n  /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CompilerIdCXX\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:40 (CMAKE_DETERMINE_COMPILER_ID_BUILD)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake:113 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:642 (file):\r\n  file failed to open for writing (No such file or directory):\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeError.log\r\nCall Stack (most recent call first):\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCompilerId.cmake:55 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)\r\n  /usr/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake:113 (CMAKE_DETERMINE_COMPILER_ID)\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\n-- The CXX compiler identification is unknown\r\nCMake Error: Could not open file for write in copy operation /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CMakeCXXCompiler.cmake.tmp\r\nCMake Error: : System Error: No such file or directory\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineCXXCompiler.cmake:179 (configure_file):\r\n  configure_file Problem configuring file\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error: Could not find cmake module file: /home/pi/sfml-pi/build/CMakeFiles/3.6.2/CMakeCXXCompiler.cmake\r\n-- Check for working C compiler: /usr/bin/cc\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:35 (file):\r\n  file failed to open for writing (No such file or directory):\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeTmp/testCCompiler.c\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:47 (try_compile):\r\n  Unknown extension \".c\" for file\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeTmp/testCCompiler.c\r\n\r\n  try_compile() works only for enabled languages.  Currently these are:\r\n\r\n    C CXX\r\n\r\n  See project() command to enable other languages.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\n-- Check for working C compiler: /usr/bin/cc -- broken\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:58 (file):\r\n  file failed to open for writing (No such file or directory):\r\n\r\n    /home/pi/sfml-pi/build/CMakeFiles/CMakeError.log\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\nCMake Error at /usr/share/cmake-3.6/Modules/CMakeTestCCompiler.cmake:61 (message):\r\n  The C compiler \"/usr/bin/cc\" is not able to compile a simple test program.\r\n\r\n  It fails with the following output:\r\n\r\n   \r\n\r\n  \r\n\r\n  CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:35 (project)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nCMake Error: Cannot open file for write: /home/pi/sfml-pi/build/CMakeCache.txt.tmp\r\nCMake Error: : System Error: Permission denied\r\nCMake Error: Unable to open cache file for save. /home/pi/sfml-pi/build/CMakeCache.txt\r\nCMake Error: : System Error: Permission denied\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mickelson/sfml-pi/issues/comments/329955000","html_url":"https://github.com/mickelson/sfml-pi/issues/2#issuecomment-329955000","issue_url":"https://api.github.com/repos/mickelson/sfml-pi/issues/2","id":329955000,"user":{"login":"shiftleftplusone","id":11213519,"avatar_url":"https://avatars1.githubusercontent.com/u/11213519?v=4","gravatar_id":"","url":"https://api.github.com/users/shiftleftplusone","html_url":"https://github.com/shiftleftplusone","followers_url":"https://api.github.com/users/shiftleftplusone/followers","following_url":"https://api.github.com/users/shiftleftplusone/following{/other_user}","gists_url":"https://api.github.com/users/shiftleftplusone/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftleftplusone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftleftplusone/subscriptions","organizations_url":"https://api.github.com/users/shiftleftplusone/orgs","repos_url":"https://api.github.com/users/shiftleftplusone/repos","events_url":"https://api.github.com/users/shiftleftplusone/events{/privacy}","received_events_url":"https://api.github.com/users/shiftleftplusone/received_events","type":"User","site_admin":false},"created_at":"2017-09-16T08:35:08Z","updated_at":"2017-09-16T08:35:08Z","author_association":"NONE","body":"hello,\r\nthanks for your interest, but I dropped that long time ago. Actually I still needed a simple lib to #include just  for basic things like playwav(filename) and recwav(soundcardpath, filename). \r\ntbh, I also never used cmake before, not even makefile,  just the Geany IDE with a couple of compile and build flags. So I woud prfer something where cmake will not be needed at all."}}
{"actor":{"display_login":"shiftleftplusone"}}