You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Your machine tries to build the arm64 architecture, but the SDK ist intel only. You either need to switch to the latest SDK (XP12) which includes arm64 support or convince make to build x84_64.
I've upgraded to the newest SDK in my fork https://github.com/matatata/XPPlugins. It builds an runs natively on arm64 in XP12. I only tried BEtterMouseYoke, CycleQuickLooks and MouseButtons (I had to make a fix in the code)
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?
The text was updated successfully, but these errors were encountered: