-
Change keyboard layout:
loadkeys no
-
Verify boot mode:
ls /sys/firmware/efi/efivars(If the directory exist your computer supports EFI)
-
Ping some site on the Internet to verify connection:
ping archlinux.org
| // example how to set up OpenGL core context on X11 with EGL | |
| // and use basic functionality of OpenGL 4.5 version | |
| // to compile on Ubuntu first install following packages: build-essential libx11-dev libgl-dev libegl-dev | |
| // then run: | |
| // gcc x11_opengl.c -o x11_opengl -lm -lX11 -lEGL | |
| // important extension functionality used here: | |
| // (4.3) KHR_debug: https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_debug.txt | |
| // (4.5) ARB_direct_state_access: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_direct_state_access.txt |
| #include <stdio.h> | |
| #define STR2(x) #x | |
| #define STR(x) STR2(x) | |
| #ifdef _WIN32 | |
| #define INCBIN_SECTION ".rdata, \"dr\"" | |
| #else | |
| #define INCBIN_SECTION ".rodata" | |
| #endif |
| #include "dynamicarray.h" | |
| using namespace std; | |
| DynamicArray::DynamicArray() { | |
| DynamicArray::DynamicArray(5); | |
| } | |
| DynamicArray::DynamicArray(int initSize) { | |
| size = initSize; |