Nelarius / imnodes

A small, dependency-free node editor for dear imgui
MIT License
1.97k stars 241 forks source link

make fail #141

Closed bigbigzxl closed 2 years ago

bigbigzxl commented 2 years ago

Undefined symbols for architecture arm64: "_MTLCreateSystemDefaultDevice", referenced from: _METAL_CreateRenderer in libSDL2.a(SDL_render_metal.m.o) "_OBJCCLASS$_MTLRenderPassDescriptor", referenced from: objc-class-ref in libSDL2.a(SDL_render_metal.m.o) "_OBJCCLASS$_MTLRenderPipelineDescriptor", referenced from: objc-class-ref in libSDL2.a(SDL_render_metal.m.o) "_OBJCCLASS$_MTLSamplerDescriptor", referenced from: objc-class-ref in libSDL2.a(SDL_render_metal.m.o) "_OBJCCLASS$_MTLTextureDescriptor", referenced from: objc-class-ref in libSDL2.a(SDL_render_metal.m.o) "_OBJCCLASS$_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;

Nelarius commented 2 years ago

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

bigbigzxl commented 2 years ago

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