Giter Club home page Giter Club logo

Comments (5)

benb0jangles avatar benb0jangles commented on May 24, 2024

tried either:
sudo port install volk
or
brew install volk
?

from satdump.

Aang23 avatar Aang23 commented on May 24, 2024

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.

juanibuqt avatar juanibuqt commented on May 24, 2024

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.

AlexandreRouma avatar AlexandreRouma commented on May 24, 2024

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.

Aang23 avatar Aang23 commented on May 24, 2024

I will close this for now as this does not appear to be an issue anymore.

from satdump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.