Comments (5)
tried either:
sudo port install volk
or
brew install volk
?
from satdump.
Hi! Sorry for the very late answer, I've been quite busy...
First of all did you install Volk as @benb0jangles pointed out? You may have to build it from source on M1.
Others have had success running Volk on M1 Macs for a while, and someone has also been using SatDump successfully, so I'd highly suspect some weirdness with installing it in the first place.
I'd still think the current guide applies though, but I of course do not have the hardware to test myself. (Though I do have a Big Sur x86_64 VM, and I can confirm everything works there)
from satdump.
Hi there! sorry for my late reply, I tested @benb0jangles solution but none of them worked.
What I tried and started was: brew install --build-from-source volk
But it the installation stuck
Here is the full log
nox@Onion-2 satdump % sudo port install volk
Password:
Error: Current platform "darwin 21" does not match expected platform "darwin 20"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration
OS platform mismatch
while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch
nox@Onion-2 satdump % brew install volk
Running brew update --preinstall
...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
fastfec goplus mt32emu pocsuite3 sevenzip
==> Updated Formulae
Updated 153 formulae.
==> New Casks
appflowy
==> Updated Casks
Updated 95 casks.
Error: volk: no bottle available!
You can try to install from source with:
brew install --build-from-source volk
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
nox@Onion-2 satdump % brew install --build-from-source volk
==> Downloading https://files.pythonhosted.org/packages/5c/db/2d2d88b924aa4674a080aae83b59ea19d593250bfe5ed789947c21736785/Mako-1.1.4.tar.gz
Already downloaded: /Users/nox/Library/Caches/Homebrew/downloads/1192562b4dca939fb599c936f921b2bc31279f6271b1c48262601ac079a76bf7--Mako-1.1.4.tar.gz
==> Cloning https://github.com/gnuradio/volk.git
Updating /Users/nox/Library/Caches/Homebrew/volk--git
==> Checking out tag v2.5.0
HEAD is now at 237a6fc Release 2.5.0
HEAD is now at 237a6fc Release 2.5.0
Entering 'cpu_features'
/Users/nox/Library/Caches/Homebrew/volk--git/cpu_features
==> python3 -m venv --system-site-packages /opt/homebrew/Cellar/volk/2.5.0/libexec/venv
==> /opt/homebrew/Cellar/volk/2.5.0/libexec/venv/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/volk--Mako-20211202-85037-8oxt69/Mako-1.1.4
==> cmake . -DPYTHON_EXECUTABLE=/opt/homebrew/Cellar/volk/2.5.0/libexec/venv/bin/python -DENABLE_TESTING=OFF
==> make install
Last 15 lines from /Users/nox/Library/Logs/Homebrew/volk/04.make:
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT lib/CMakeFiles/volk_obj.dir/volk_malloc.c.o -MF CMakeFiles/volk_obj.dir/volk_malloc.c.o.d -o CMakeFiles/volk_obj.dir/volk_malloc.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_malloc.c
[ 82%] Building C object lib/CMakeFiles/volk_obj.dir/volk.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -DLV_MACHINE_GENERIC_ORC -DLV_MACHINE_NEONV8 -DLV_MACHINE_NEON_ORC -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT lib/CMakeFiles/volk_obj.dir/volk.c.o -MF CMakeFiles/volk_obj.dir/volk.c.o.d -o CMakeFiles/volk_obj.dir/volk.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk.c
[ 83%] Building C object lib/CMakeFiles/volk_obj.dir/volk_cpu.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -DVOLK_CPU_FEATURES=1 -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT lib/CMakeFiles/volk_obj.dir/volk_cpu.c.o -MF CMakeFiles/volk_obj.dir/volk_cpu.c.o.d -o CMakeFiles/volk_obj.dir/volk_cpu.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_cpu.c
[ 84%] Building C object lib/CMakeFiles/volk_obj.dir/volk_machines.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -DLV_MACHINE_GENERIC_ORC -DLV_MACHINE_NEONV8 -DLV_MACHINE_NEON_ORC -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT lib/CMakeFiles/volk_obj.dir/volk_machines.c.o -MF CMakeFiles/volk_obj.dir/volk_machines.c.o.d -o CMakeFiles/volk_obj.dir/volk_machines.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_machines.c
[ 85%] Building C object lib/CMakeFiles/volk_obj.dir/volk_machine_neon_orc.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -funsafe-math-optimizations -MD -MT lib/CMakeFiles/volk_obj.dir/volk_machine_neon_orc.c.o -MF CMakeFiles/volk_obj.dir/volk_machine_neon_orc.c.o.d -o CMakeFiles/volk_obj.dir/volk_machine_neon_orc.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_machine_neon_orc.c
[ 86%] Building C object lib/CMakeFiles/volk_obj.dir/volk_machine_generic_orc.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -MD -MT lib/CMakeFiles/volk_obj.dir/volk_machine_generic_orc.c.o -MF CMakeFiles/volk_obj.dir/volk_machine_generic_orc.c.o.d -o CMakeFiles/volk_obj.dir/volk_machine_generic_orc.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_machine_generic_orc.c
[ 87%] Building C object lib/CMakeFiles/volk_obj.dir/volk_machine_neonv8.c.o
cd /tmp/volk-20211202-85037-fbaqja/lib && /opt/homebrew/Library/Homebrew/shims/mac/super/clang -DHAVE_DLFCN_H -DHAVE_FENV_H -DHAVE_POSIX_MEMALIGN -D_GLIBCXX_USE_CXX11_ABI=1 -I/opt/homebrew/include/orc-0.4 -I/tmp/volk-20211202-85037-fbaqja/include -I/tmp/volk-20211202-85037-fbaqja/kernels -I/tmp/volk-20211202-85037-fbaqja/lib -I/tmp/volk-20211202-85037-fbaqja/cpu_features/include -Wall -Werror=incompatible-pointer-types -Werror=pointer-sign -fvisibility=hidden -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -std=gnu11 -funsafe-math-optimizations -funsafe-math-optimizations -MD -MT lib/CMakeFiles/volk_obj.dir/volk_machine_neonv8.c.o -MF CMakeFiles/volk_obj.dir/volk_machine_neonv8.c.o.d -o CMakeFiles/volk_obj.dir/volk_machine_neonv8.c.o -c /tmp/volk-20211202-85037-fbaqja/lib/volk_machine_neonv8.c
[ 87%] Built target volk_obj
make: *** [all] Error 2
READ THIS: https://docs.brew.sh/Troubleshooting
from satdump.
You need to delete the version of cpu_features that was cloned along with volk and replace it with a fork that supports M1 (search the pull requests on the cpu_features github)
from satdump.
I will close this for now as this does not appear to be an issue anymore.
from satdump.
Related Issues (20)
- Execute external command as post action after autotrack has terminated HOT 1
- Samplerate is Zero in CLI autotrack setup HOT 2
- Forum? Getting help? HOT 6
- Show local time in Schedule for autotrack HOT 2
- Question: How to get cadu frames out via TCP in real-time? HOT 1
- satdump-ui daily build displaying 1.2.0-67e652c3 version HOT 2
- Meteor-m2-4 Map overlay HOT 5
- SatDump 1.1.4 and nightly 1.4 crash HOT 5
- Command line arguments for file input in satdump live CLI? HOT 4
- Regarding the software crash phenomenon during METEOR M2-4 reception HOT 6
- Meteor M2-4 HRPT Crash HOT 1
- Satdump logs HOT 1
- When Using CLI to add stereo and tpers projections, width and height are not found HOT 3
- Satdump stopped running overnight saying it received a command HOT 3
- Failed to start satdump after Win 11 install HOT 2
- NOAA APT location calculation error for nightly build v1.2.0-127cab9 HOT 2
- SNR Logs
- S-pen doesn't work on Samsung tablet HOT 3
- r82xx_write: i2c wr failed=-9 reg=1a len=1 HOT 6
- Stopping geostationary pipelines manually makes the app freeze and get marked as "not responding" by Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satdump.