neilharvey94044 / ScannerClient

Cross Platform Radio Scanner Client
GNU General Public License v2.0
1 stars 1 forks source link

ARM support (M2 Mac??) #1

Open guruuno opened 1 year ago

guruuno commented 1 year ago

Not wanting to sound stupid, but any way to port this or other means to use on a Mac Mini M2?

neilharvey94044 commented 1 year ago

I'm not sure it requires any changes to run on that platform. Have you tried building it on the M2? I don't have one to try it.

guruuno commented 1 year ago

Yes, I did on my M2, fails…I’ll share info later in the day tomorrow, as it is past my bedtime ☹

From: Neil Harvey @.> Date: Saturday, April 15, 2023 at 10:34 PM To: neilharvey94044/ScannerClient @.> Cc: guruuno @.>, Author @.> Subject: Re: [neilharvey94044/ScannerClient] ARM support (M2 Mac??) (Issue #1)

I'm not sure it requires any changes to run on that platform. Have you tried building it on the M2? I don't have one to try it.

— Reply to this email directly, view it on GitHubhttps://github.com/neilharvey94044/ScannerClient/issues/1#issuecomment-1510025473, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGKM2QVCS2QFFVJDQNTSH2DXBNLBTANCNFSM6AAAAAAW7YL2F4. You are receiving this because you authored the thread.Message ID: @.***>

guruuno commented 1 year ago

The ~/repos/ScannerClient/build/Release folder does not get generated

@. ScannerClient % mkdir build @. ScannerClient % cmake -S . -B ./build -DCMAKE_CONFIG_TYPE=Release -- The C compiler identification is AppleClang 14.0.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring on/for macOS -- Build type: Release -- C++ Compiler flags: -- C Compiler flags: -- C++ flags, Release configuration: -O3 -DNDEBUG -- C flags, Release configuration: -O3 -DNDEBUG -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for immintrin.h -- Looking for immintrin.h - not found -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") -- Checking processor clipping capabilities... -- Performing Test CPU_CLIPS_POSITIVE -- Performing Test CPU_CLIPS_POSITIVE - Failed -- Performing Test CPU_CLIPS_NEGATIVE -- Performing Test CPU_CLIPS_NEGATIVE - Failed -- Checking processor clipping capabilities... none -- Performing Test HAVE_VISIBILITY -- Performing Test HAVE_VISIBILITY - Success -- Found wxWidgets: -L/opt/homebrew/lib;;;-framework IOKit;-framework Carbon;-framework Cocoa;-framework QuartzCore;-framework AudioToolbox;-framework System;-framework OpenGL;-lwx_baseu-3.2;-lwx_osx_cocoau_core-3.2;-lwx_osx_cocoau_propgrid-3.2 (found version "3.2.2") -- Configuring done (1.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project:

CMAKE_CONFIG_TYPE

-- Build files have been written to: /Users/guruuno/repos/ScannerClient/build @.* ScannerClient % cmake --build ./build --config Release [ 3%] Building CXX object CMakeFiles/scl.dir/src/network/UDPSocket.cpp.o [ 6%] Building CXX object CMakeFiles/scl.dir/src/network/TCPSocket.cpp.o [ 9%] Building CXX object CMakeFiles/scl.dir/src/network/Socket.cpp.o [ 12%] Building CXX object CMakeFiles/scl.dir/src/network/RTSPRequest.cpp.o [ 15%] Building CXX object CMakeFiles/scl.dir/src/network/RTSPResponse.cpp.o [ 18%] Building CXX object CMakeFiles/scl.dir/src/network/SessionDescription.cpp.o [ 21%] Building CXX object CMakeFiles/scl.dir/src/network/MediaDescription.cpp.o [ 24%] Building CXX object CMakeFiles/scl.dir/src/network/RTSPSession.cpp.o [ 27%] Building CXX object CMakeFiles/scl.dir/src/network/RTPSession.cpp.o [ 30%] Building CXX object CMakeFiles/scl.dir/src/network/g711.cpp.o [ 33%] Building CXX object CMakeFiles/scl.dir/src/utils/utils.cpp.o [ 36%] Building CXX object CMakeFiles/scl.dir/src/audio/AudioBuffer.cpp.o [ 39%] Building CXX object CMakeFiles/scl.dir/src/audio/SC_RTaudio.cpp.o [ 42%] Building CXX object CMakeFiles/scl.dir/src/status/ScannerStatus.cpp.o [ 45%] Building CXX object CMakeFiles/scl.dir/src/config/SC_CONFIG.cpp.o [ 48%] Building CXX object CMakeFiles/scl.dir/src/config/WX_ConfigImpl.cpp.o [ 51%] Building CXX object CMakeFiles/scl.dir/src/control/SControl.cpp.o [ 54%] Linking CXX static library libscl.a [ 54%] Built target scl [ 57%] Building C object external/libsamplerate/src/CMakeFiles/samplerate.dir/samplerate.c.o [ 60%] Building C object external/libsamplerate/src/CMakeFiles/samplerate.dir/src_linear.c.o [ 63%] Building C object external/libsamplerate/src/CMakeFiles/samplerate.dir/src_sinc.c.o [ 66%] Building C object external/libsamplerate/src/CMakeFiles/samplerate.dir/src_zoh.c.o [ 69%] Linking C static library libsamplerate.a [ 69%] Built target samplerate [ 72%] Building CXX object CMakeFiles/sc_test.dir/src/tests/sc_test.cpp.o [ 75%] Building CXX object CMakeFiles/sc_test.dir/external/tinyxml2/tinyxml2.cpp.o [ 78%] Building CXX object CMakeFiles/sc_test.dir/external/rtaudio/RtAudio.cpp.o /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:553:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:574:114: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress propertyAddress = { kAudioHardwarePropertyDevices, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:592:118: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress property = { kAudioHardwarePropertyDefaultInputDevice, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:625:119: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress property = { kAudioHardwarePropertyDefaultOutputDevice, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:674:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:936:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:964:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1155:112: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress tmp = { kAudioDevicePropertyNominalSampleRate, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1473:9: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1496:9: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ 10 warnings generated. [ 81%] Linking CXX executable sc_test [ 81%] Built target sc_test [ 84%] Building CXX object CMakeFiles/sc.dir/src/gui/scApp.cpp.o [ 87%] Building CXX object CMakeFiles/sc.dir/src/gui/SCFrame.cpp.o [ 90%] Building CXX object CMakeFiles/sc.dir/src/gui/SettingsDialog.cpp.o [ 93%] Building CXX object CMakeFiles/sc.dir/external/rtaudio/RtAudio.cpp.o /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:553:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:574:114: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress propertyAddress = { kAudioHardwarePropertyDevices, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:592:118: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress property = { kAudioHardwarePropertyDefaultInputDevice, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:625:119: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress property = { kAudioHardwarePropertyDefaultOutputDevice, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:674:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:936:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:964:43: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1155:112: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] AudioObjectPropertyAddress tmp = { kAudioDevicePropertyNominalSampleRate, kAudioObjectPropertyScopeGlobal, kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1473:9: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ /Users/guruuno/repos/ScannerClient/external/rtaudio/RtAudio.cpp:1496:9: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kAudioObjectPropertyElementMaster }; ^~~~~~~~~ kAudioObjectPropertyElementMain /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain ^ 10 warnings generated. [ 96%] Building CXX object CMakeFiles/sc.dir/external/tinyxml2/tinyxml2.cpp.o [100%] Linking CXX executable sc.app/Contents/MacOS/sc [100%] Built target sc *@. ScannerClient %

From: Neil Harvey @.> Date: Saturday, April 15, 2023 at 10:34 PM To: neilharvey94044/ScannerClient @.> Cc: guruuno @.>, Author @.> Subject: Re: [neilharvey94044/ScannerClient] ARM support (M2 Mac??) (Issue #1)

I'm not sure it requires any changes to run on that platform. Have you tried building it on the M2? I don't have one to try it.

- Reply to this email directly, view it on GitHubhttps://github.com/neilharvey94044/ScannerClient/issues/1#issuecomment-1510025473, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGKM2QVCS2QFFVJDQNTSH2DXBNLBTANCNFSM6AAAAAAW7YL2F4. You are receiving this because you authored the thread.Message ID: @.***>

neilharvey94044 commented 1 year ago

That output looks like it has warnings but otherwise succeeded. Maybe it has put the "sc" executable in a different directory? I'm sorry I can't help much without owning that platform.

guruuno commented 1 year ago

WORKS! New MacMini M2 Pro, sc was in 'build' directory. THANKS! OS X Ventura 13.3.1 (22E261) Any insight as to if this can be ported to run from iOS (iPad)?? Oh, and I'm using a SDS200E model

neilharvey94044 commented 1 year ago

It won't run on IOS. However, I've been giving that some thought. Could be if I converted to QT it could be made to run on more platforms.

Happy you got it to work on the M2!