Nelarius/imnodes

make fail

bigbigzxl opened this issue · 2 comments

Undefined symbols for architecture arm64:
"_MTLCreateSystemDefaultDevice", referenced from:
_METAL_CreateRenderer in libSDL2.a(SDL_render_metal.m.o)
"OBJC_CLASS$_MTLRenderPassDescriptor", referenced from:
objc-class-ref in libSDL2.a(SDL_render_metal.m.o)
"OBJC_CLASS$_MTLRenderPipelineDescriptor", referenced from:
objc-class-ref in libSDL2.a(SDL_render_metal.m.o)
"OBJC_CLASS$_MTLSamplerDescriptor", referenced from:
objc-class-ref in libSDL2.a(SDL_render_metal.m.o)
"OBJC_CLASS$_MTLTextureDescriptor", referenced from:
objc-class-ref in libSDL2.a(SDL_render_metal.m.o)
"OBJC_CLASS$_MTLVertexDescriptor", referenced from:
objc-class-ref in libSDL2.a(SDL_render_metal.m.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../bin/Debug/colornode] Error 1
make: *** [colornode] Error 2

M1 macos;

Hi @bigbigzxl 👋 I removed the premake-based build system and migrated to CMake: 3ab867d. You could try building the examples again.

everything is fine on M1 based macos.
ths a lot~