Skip to content

Instantly share code, notes, and snippets.

View Archspect's full-sized avatar
🎯
Focusing

Archspect Archspect

🎯
Focusing
View GitHub Profile
Compiling learn_rust v0.1.0 (/home/archspect/lCode/LearnRust)
Finished dev [optimized + debuginfo] target(s) in 1m 18s
Running `target/debug/learn_rust`
2023-03-29T11:37:43.717459Z INFO bevy_winit::system: Creating new window "Bevy App" (0v0)
2023-03-29T11:37:43.718344Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2023-03-29T11:38:01.530559Z INFO bevy_render::renderer: AdapterInfo { name: "Mesa Intel(R) HD Graphics 2000 (SNB GT1)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
2023-03-29T11:38:02.588862Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux rolling Arch Linux", kernel: "6.2.8-arch1-1", cpu: "Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz", core_count: "4", memory: "7.6 GiB" }
2023-03-29T11:38:02.690195Z ERROR wgpu_hal::gles::egl: GLES: [API/Error] ID 1 : GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
//! Demonstrates handling a key press/release.
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_systems(Update, keyboard_input_system)
.run();
}
@Archspect
Archspect / CMakeLists.txt
Last active February 10, 2023 18:04
Building SFML from source and linking it statically results in this error. The error does not occur when linked dynamically.
cmake_minimum_required(VERSION 3.0.0)
project(equinox)
set(CMAKE_EXPORT_COMPILE_COMMANDS true)
set(CXX_STANDARD_REQUIRED 20)
set(CXX_STANDARD 20)
add_executable(${PROJECT_NAME} Source/equinox.cpp)