Skip to content

Instantly share code, notes, and snippets.

/output Secret

Created October 12, 2017 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/97a25648fd54c799ecc3455b9816709d to your computer and use it in GitHub Desktop.
Save anonymous/97a25648fd54c799ecc3455b9816709d to your computer and use it in GitHub Desktop.
[suswombat@nixos:/storage/halde]$ nix-build sdl-gpu.nix
these derivations will be built:
/nix/store/2i548s6vfnfx676zy40ng3b473szf60z-sdl-gpu-.drv
building path(s) ‘/nix/store/bvhn7kfahbcp4szc1qn6a8y3yg2hsak0-sdl-gpu-’
unpacking sources
unpacking source archive /nix/store/v4059p622qiyjf5q914zys3n904n47bw-sdl-gpu
source root is sdl-gpu
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/bvhn7kfahbcp4szc1qn6a8y3yg2hsak0-sdl-gpu-/include -DCMAKE_INSTALL_LIBDIR=/nix/store/bvhn7kfahbcp4szc1qn6a8y3yg2hsak0-sdl-gpu-/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/bvhn7kfahbcp4szc1qn6a8y3yg2hsak0-sdl-gpu-/lib -DCMAKE_INSTALL_PREFIX=/nix/store/bvhn7kfahbcp4szc1qn6a8y3yg2hsak0-sdl-gpu-
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Check for working C compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/gcc
-- Check for working C compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/g++
-- Check for working CXX compiler: /nix/store/m3hr6jjlg637240q67as3js21dg6h218-gcc-wrapper-6.4.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SDL2: /nix/store/im7ma1cx1fk9kkrr3h1qw0i66q7z2q80-SDL2-2.0.5/lib/libSDL2.so
CMake Warning at CMakeLists.txt:123 (message):
SDL2MAIN_LIBRARY is NOTFOUND
CMake Error at /nix/store/vsikpb1k4qdgsilckw446qd1l75jy1zi-cmake-3.8.2/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
/nix/store/vsikpb1k4qdgsilckw446qd1l75jy1zi-cmake-3.8.2/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
/nix/store/vsikpb1k4qdgsilckw446qd1l75jy1zi-cmake-3.8.2/share/cmake-3.8/Modules/FindOpenGL.cmake:170 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:136 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-sdl-gpu-.drv-0/sdl-gpu/build/CMakeFiles/CMakeOutput.log".
builder for ‘/nix/store/2i548s6vfnfx676zy40ng3b473szf60z-sdl-gpu-.drv’ failed with exit code 1
error: build of ‘/nix/store/2i548s6vfnfx676zy40ng3b473szf60z-sdl-gpu-.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment