glfw/3.3.4+1

[brief]

GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

Build status Build status Coverity Scan

Introduction

GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

GLFW natively supports Windows, macOS and Linux and other Unix-like systems. On Linux both X11 and Wayland are supported.

GLFW is licensed under the zlib/libpng license.

You can download the latest stable release as source or Windows binaries, or fetch the latest branch from GitHub. Each release starting with 3.0 also has a corresponding annotated tag with source and binary archives.

The documentation is available online and is included in all source and binary archives. See the release notes for new features, caveats and deprecations in the latest release. For more details see the version history.

The master branch is the stable integration branch and should always compile and run on all supported platforms, although details of newly added features may change until they have been included in a release. New features and many bug fixes live in other branches until they are stable enough to merge.

If you are new to GLFW, you may find the tutorial for GLFW 3 useful. If you have used GLFW 2 in the past, there is a transition guide for moving to the GLFW 3 API.

Compiling GLFW

GLFW itself requires only the headers and libraries for your OS and window system. It does not need the headers for any context creation API (WGL, GLX, EGL, NSGL, OSMesa) or rendering API (OpenGL, OpenGL ES, Vulkan) to enable support for them.

GLFW supports compilation on Windows with Visual C++ 2010 and later, MinGW and MinGW-w64, on macOS with Clang and on Linux and other Unix-like systems with GCC and Clang. It will likely compile in other environments as well, but this is not regularly tested.

There are pre-compiled Windows binaries available for all supported compilers.

See the compilation guide for more information about how to compile GLFW yourself.

Using GLFW

See the documentation for tutorials, guides and the API reference.

Contributing to GLFW

See the contribution guide for more information.

System requirements

GLFW supports Windows XP and later and macOS 10.8 and later. Linux and other Unix-like systems running the X Window System are supported even without a desktop environment or modern extensions, although some features require a running window or clipboard manager. The OSMesa backend requires Mesa 6.3.

See the compatibility guide in the documentation for more information.

Dependencies

GLFW itself depends only on the headers and libraries for your window system.

The (experimental) Wayland backend also depends on the extra-cmake-modules package, which is used to generate Wayland protocol headers.

The examples and test programs depend on a number of tiny libraries. These are located in the deps/ directory.

The documentation is generated with Doxygen if CMake can find that tool.

Reporting bugs

Bugs are reported to our issue tracker. Please check the contribution guide for information on what to include when reporting a bug.

Changelog

Contact

On glfw.org you can find the latest version of GLFW, as well as news, documentation and other information about the project.

If you have questions related to the use of GLFW, we have a forum, and the #glfw IRC channel on Freenode.

If you have a bug to report, a patch to submit or a feature you'd like to request, please file it in the issue tracker on GitHub.

Finally, if you're interested in helping out with the development of GLFW or porting it to your favorite platform, join us on the forum, GitHub or IRC.

Acknowledgements

GLFW exists because people around the world donated their time and lent their skills.

version 3.3.4+1
license Zlib
repository https://pkg.cppget.org/1/stable
download glfw-3.3.4+1.tar.gz
sha256 4328b1a3068536c2e8e501223f5f0dbf5581be702c5f1efad2772f85bf9eb50d
project glfw
url www.glfw.org
package-url github.com/Swat-SomeBug/glfw.git

Requires (3)

OpengGL/Vulkan libraries. Usually installed with system or SDK on Windows
X11 (default) or Wayland when building for Linux
Wayland build requires pkg-config and wayland libraries and utilites

Tests

glfw-tests == 3.3.4

Examples

glfw-examples == 3.3.4

Builds

toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_14.0-static_O3
timestamp 2023-09-27 05:23:11 UTC (23:03:31 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_14.0-O3
timestamp 2023-09-27 05:21:55 UTC (23:04:47 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_14.0
timestamp 2023-09-27 05:20:31 UTC (23:06:11 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16_libc++-static_O3
timestamp 2023-09-26 21:14:05 UTC (01 07:12:37 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16_libc++-O3
timestamp 2023-09-26 21:13:02 UTC (01 07:13:40 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16_libc++
timestamp 2023-09-26 21:11:53 UTC (01 07:14:49 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16-static_O3
timestamp 2023-09-26 21:11:20 UTC (01 07:15:22 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16-O3
timestamp 2023-09-26 21:10:16 UTC (01 07:16:26 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_16
timestamp 2023-09-26 21:08:48 UTC (01 07:17:54 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0-static_O3
timestamp 2023-09-26 18:05:40 UTC (01 10:21:02 days ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0-O3
timestamp 2023-09-26 18:04:24 UTC (01 10:22:18 days ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2023-09-26 18:03:03 UTC (01 10:23:38 days ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.6-static_O2
timestamp 2023-09-26 17:31:27 UTC (01 10:55:15 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.6-O2
timestamp 2023-09-26 16:50:43 UTC (01 11:35:59 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.6
timestamp 2023-09-26 16:50:08 UTC (01 11:36:34 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.5
timestamp 2023-09-26 16:07:14 UTC (01 12:19:28 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_16.0_llvm_msvc_17.6-static_O2
timestamp 2023-09-26 15:07:24 UTC (01 13:19:18 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13-static_O3
timestamp 2023-09-26 14:09:32 UTC (01 14:17:10 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13-O3
timestamp 2023-09-26 14:08:06 UTC (01 14:18:36 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13-ndebug_O3
timestamp 2023-09-26 14:07:10 UTC (01 14:19:32 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2023-09-26 14:06:13 UTC (01 14:20:29 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0_libc++-static_O3
timestamp 2023-09-26 13:48:47 UTC (01 14:37:55 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0_libc++-O3
timestamp 2023-09-26 13:48:17 UTC (01 14:38:24 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0-static_O3
timestamp 2023-09-26 13:47:56 UTC (01 14:38:46 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0-O3
timestamp 2023-09-26 13:46:57 UTC (01 14:39:45 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0_libc++
timestamp 2023-09-26 13:45:41 UTC (01 14:41:01 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_16.0
timestamp 2023-09-26 13:45:01 UTC (01 14:41:40 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_16.0_llvm_msvc_17.6-O2
timestamp 2023-09-26 13:36:08 UTC (01 14:50:34 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_16.0_llvm_msvc_17.6
timestamp 2023-09-26 13:35:56 UTC (01 14:50:45 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_12.2_mingw_w64-static_O2
timestamp 2023-09-26 13:19:06 UTC (01 15:07:36 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_12.2_mingw_w64-O2
timestamp 2023-09-26 13:16:15 UTC (01 15:10:27 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_12.2_mingw_w64
timestamp 2023-09-26 13:12:42 UTC (01 15:14:00 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_15_libc++
timestamp 2023-09-26 12:46:42 UTC (01 15:40:00 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_15
timestamp 2023-09-26 12:45:38 UTC (01 15:41:04 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_11-gcc_12
timestamp 2023-09-26 12:45:15 UTC (01 15:41:27 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1-static_O3
timestamp 2023-09-26 12:43:07 UTC (01 15:43:35 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1-O3
timestamp 2023-09-26 12:43:05 UTC (01 15:43:37 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1-ndebug_O3
timestamp 2023-09-26 12:37:35 UTC (01 15:49:07 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_12-bindist
timestamp 2023-09-26 12:31:48 UTC (01 15:54:54 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1
timestamp 2023-09-26 12:31:06 UTC (01 15:55:36 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_15.0_msvc_msvc_17.6
timestamp 2023-09-26 12:07:10 UTC (01 16:19:32 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_15.0
timestamp 2023-09-26 12:06:46 UTC (01 16:19:56 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_15.0_libc++
timestamp 2023-09-26 12:05:58 UTC (01 16:20:44 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_11-gcc_12.1
timestamp 2023-09-26 11:47:49 UTC (01 16:38:53 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_fedora_38-gcc_13-bindist
timestamp 2023-09-26 10:55:20 UTC (01 17:31:22 days ago)
result error (update) | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_fedora_37-gcc_12.2-bindist
timestamp 2023-09-26 10:47:32 UTC (01 17:39:09 days ago)
result error (update) | log | rebuild
target x86_64-apple-darwin22.5.0
tgt config macos_13-gcc_13_homebrew
result excluded (GCC not supported on macos -> Cannot parse Cocoa)
target x86_64-apple-darwin22.5.0
tgt config macos_13-gcc_13_homebrew-O3
result excluded (GCC not supported on macos -> Cannot parse Cocoa)
target x86_64-apple-darwin22.5.0
tgt config macos_13-gcc_13_homebrew-static_O3
result excluded (GCC not supported on macos -> Cannot parse Cocoa)
target x86_64-freebsd12.4
tgt config freebsd_12-clang_13.0
result excluded
target x86_64-freebsd13.2
tgt config freebsd_13-clang_14.0
result excluded
target x86_64-freebsd13.2
tgt config freebsd_13-clang_14.0-O3
result excluded
target x86_64-freebsd13.2
tgt config freebsd_13-clang_14.0-static_O3
result excluded