-
Notifications
You must be signed in to change notification settings - Fork 13
Description
When doing the command make all, it doesn't do anything, instead, it gives out this error
/Library/Developer/CommandLineTools/usr/bin/make -C Util all make[1]: Nothing to be done for 'all'. /Library/Developer/CommandLineTools/usr/bin/make -C CycleQuickLooks all clang -o mac.xpl plugin.c -Wall -DAPL -O2 ../XP/Libs/XPLM ../Util/util.a -dynamiclib -fvisibility=hidden plugin.c:89:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int index = (int) param; ^~~~~~~~~~~ 1 warning generated. ld: warning: ignoring file ../XP/Libs/XPLM, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_XPLMCommandOnce", referenced from: _cycle_quick_look_cb in plugin-84ff49.o "_XPLMCreateCommand", referenced from: _cycle_quick_look_cb in plugin-84ff49.o _cmd_create in util.a(cmd.o) "_XPLMDebugString", referenced from: __log in util.a(log.o) __debug in util.a(log.o) "_XPLMEnableFeature", referenced from: _XPluginStart in plugin-84ff49.o _get_plugin_dir in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMGetMyID", referenced from: _get_plugin_dir in util.a(path.o) _get_plugin_name in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMGetNthAircraftModel", referenced from: _get_quick_looks in plugin-84ff49.o "_XPLMGetPluginInfo", referenced from: _get_plugin_dir in util.a(path.o) _get_plugin_name in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMRegisterCommandHandler", referenced from: _cmd_create in util.a(cmd.o) "_XPLMUnregisterCommandHandler", referenced from: _cmd_free in util.a(cmd.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]: *** [mac.xpl] Error 1 make: *** [CycleQuickLooks] Error 2
Any ideas? Or fixes?