For local development purposes. Reference: stackoverflow.
sudo ./generate_local_cert.sh mydomain.localFor local development purposes. Reference: stackoverflow.
sudo ./generate_local_cert.sh mydomain.local| name of display: :0 | |
| display: :0 screen: 0 | |
| direct rendering: Yes | |
| server glx vendor string: SGI | |
| server glx version string: 1.4 | |
| server glx extensions: | |
| GLX_ARB_context_flush_control, GLX_ARB_create_context, | |
| GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, | |
| GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, | |
| GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, |
| --------------------------- | |
| GLEW Extension Info | |
| --------------------------- | |
| GLEW version 2.1.0 | |
| Reporting capabilities of display , visual 0x24b | |
| Running on a Mesa Intel(R) HD Graphics 620 (KBL GT2) from Intel | |
| OpenGL version 4.6 (Core Profile) Mesa 21.1.2 is supported | |
| GL_VERSION_1_1: OK |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <GL/glew.h> | |
| #include <GLFW/glfw3.h> | |
| int | |
| main() | |
| { | |
| // Initialise GLFW |
| #include<stdio.h> | |
| int main(void) { | |
| printf("Halo dunia."); | |
| return 0; | |
| } |