GeertArien / learnopengl-examples

Examples from learnopengl.com, implemented using Sokol libraries.
115 stars 17 forks source link

sokol lib updated, repository c code has expired #3

Open zeromake opened 1 year ago

zeromake commented 1 year ago

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:

SethArchambault commented 5 months ago

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
zeromake commented 5 months ago

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 commented 5 months ago

@SethArchambault is fix on 3a8a93d9

SethArchambault commented 5 months ago

@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..