learnopengl-examples icon indicating copy to clipboard operation
learnopengl-examples copied to clipboard

sokol lib updated, repository c code has expired

Open zeromake opened this issue 2 years ago • 4 comments

sokol lib library has been updated a lot, and this repository needs to be updated before it can compile normally, repository c code has expired

My fork: all libraries are up to date(use xmake build tools), if you are interested, you can take a look. Live Demos

there are also some questions:

  • HandmadeMath update to V2, The rotate angle calculation is not the same(speed * 0.1f fix).
  • 4-10-1-instancing: It works, but it's not the same as before.
  • offscreen msaa on sokol is not support.

zeromake avatar Aug 13 '23 08:08 zeromake

Sadly can't get xmake to work properly:

$ xmake b 1-3-1
error: cannot runv(sokol-shdc --ifdef -l hlsl5:glsl330:glsl300es:metal_macos:metal_ios --input src/4-1-depth-testing/3-depth-buffer.glsl --output build/sokol_shader/4-1-depth-testing/3-depth-buffer.glsl.h), No such file or directory

SethArchambault avatar Apr 23 '24 22:04 SethArchambault

Sadly can't get xmake to work properly:

$ xmake b 1-3-1
error: cannot runv(sokol-shdc --ifdef -l hlsl5:glsl330:glsl300es:metal_macos:metal_ios --input src/4-1-depth-testing/3-depth-buffer.glsl --output build/sokol_shader/4-1-depth-testing/3-depth-buffer.glsl.h), No such file or directory

sokol-shdc not auto install,wait, I'll change it to automatic download.

sokol made a huge update gfx, and now it's incompatible. I'll update it when I have time. First use a specific version.

zeromake avatar Apr 23 '24 23:04 zeromake

@SethArchambault is fix on 3a8a93d9

zeromake avatar Apr 24 '24 02:04 zeromake

@zeromake That worked thanks for the quick response!

Hey, any instructions on how to get this running without a build system? I'm trying to create a simple build.sh script, and it looks like there's a fair amount happening under the surface..

SethArchambault avatar Apr 27 '24 21:04 SethArchambault