armory3d / armory

3D Engine with Blender Integration
https://armory3d.org/engine
zlib License
3.08k stars 319 forks source link

C Target on Linux results in black screen #2949

Closed ruapotato closed 1 year ago

ruapotato commented 1 year ago

Description Trying to export for Linux(C) does not work right. It ends up as a black screen. Run logs:

$ ./sound_1_0_0 
Starting KincHL
Using OpenGL version 4.6 (forward-compatible).
iron.data.Data:424: {url : ./data/Scene.arm, error : Could not load blob(s)}

To Reproduce

Expected behavior A window of the Sound example.

System Blender: blender-3.6.4-linux-x64 Armory: ArmorySDK2310 OS: Debian 11 Graphics card: GTX 1060

Onek8 commented 1 year ago

For hashlink you need to move your binary from the linux-hl-build/ (release or debug folder) and move it into the actual linux-hl folder where the "data" folder is which causes iron.data.Data:424: {url : ./data/Scene.arm, error : Could not load blob(s)} Sorry for this confusion :) should fix your problem

ruapotato commented 1 year ago

@Onek8 That was it. Thank you so much! After copying the binary to ../../linux-hl/ and running it from that folder, things started working.