TheOpenSpaceProgram / new-ospgl

A space exploration game in OpenGL. Devblog: https://tatjam.github.io/index.html
MIT License
42 stars 6 forks source link

Can't run application #17

Closed Titaniumtown closed 2 years ago

Titaniumtown commented 4 years ago

I'm on Arch Linux, gcc 10

[INF] Starting OSP with settings = "settings.toml", resource path = "./res/", user data path = "./udata/"
[renderer]
    type = "windowed"
    scale = 0.75000000000000000
    height = 768
    width = 1366
    [renderer.quality]
        secondary_shadow_size = 512
        sun_terrain_shadow_size = 1024
        sun_shadow_size = 1024

[INF] Package 'OSP Core 0.0.1' ('core' initialized as 'core')
[INF] Package 'OSP Default Navball 0.0.1' ('default_navball' initialized as 'navball')
[INF] OpenGL Version: 4.6 (Core Profile) Mesa 20.0.7
[INF] GLSL Version: 4.60
[INF] OpenGL Vendor: Intel
[INF] OpenGL Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
[DBG] Loaded asset 'core:shaders/debug.vs'
[DBG] Loaded asset 'core:shaders/simple_sprite.vs'
[DBG] Loaded asset 'core:shaders/font.vs'
[INF] Loading package core
[DBG] Adding part category from pkg 'core' with path 'core:categories/command.toml'
[DBG] Adding part category from pkg 'core' with path 'core:categories/engines.toml'
[DBG] Adding part category from pkg 'core' with path 'core:categories/all.toml'
[INF] Loading package navball
[ERR] Condition 'Invalid package given' failed
terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'
fish: “./ospgl” terminated by signal SIGABRT (Abort)
tatjam commented 4 years ago

Do you have the test_parts and debug_system packages installed? I don't think the error is on navball as it's unused as of now

tatjam commented 4 years ago

You can install them using these commands: ./ospm fetch https://github.com/TheOpenSpaceProgram/new-ospgl/releases/download/ospm-test/debug_system.zip

./ospm fetch https://github.com/TheOpenSpaceProgram/new-ospgl/releases/download/ospm-test/test_parts.zip

Should really add it to the README as it's not clear anywhere.