Giter Club home page Giter Club logo

Comments (19)

AlbrechtL avatar AlbrechtL commented on June 21, 2024

Unfortunately, we only support MacPorts. Please follow this how to to compile welle.io for macOS.

from welle.io.

kgarrels avatar kgarrels commented on June 21, 2024

have you tried http://brewformulas.org/Fftw ?

Otherwise you probably need to build fftw from source.

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

@kgarrels @AlbrechtL Thanks for the hint. brew will install fftw, faad2, librtlsdr and libusb, but not fftw-3-single , which is the only one I can't install, except through MacPorts, which I don't want to install just for that one item.

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

@stuzog I have it working (MacOS Sierra) with homebrew. Very simple!

First of all: brew install fftw faad2 rtl-sdr libusb airspy
This will install all you need in /usr/local/include and /usr/local/lib.

Then you need to change two paths in welle.io.pro (line 158), changing opt for usr:
macx { INCLUDEPATH += /usr/local/include LIBS += -L/usr/local/lib

schermafbeelding 2017-04-13 om 03 51 55
Enjoy! 😃

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

Thanks @HansVanEijsden I made the change but Build still stalls on not finding fftw3 (screen shot attached). fftw-3.3.6-pl2 was installed by brew.

fft h master - welle io - qt creator

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

That's strange @stuzog - can you please check if fftw3.h is in /usr/local/include?
schermafbeelding 2017-04-13 om 18 43 36
And make sure your welle.io.pro looks like mine:
schermafbeelding 2017-04-13 om 18 44 49

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

That's really strange, @stuzog - here I've got exactly the same files with the same sizes. I can build it without problems on my iMac and MacBook Pro.
welle-io.app.zip
Here is my compiled app. You can try it if you like, but of course it's dynamically linked and it needs all the dependencies. Let me know if it works.

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

@stuzog your phasereference.cpp looks different than mine. Are you sure you have a fresh source tree? Try doing git pull of do a fresh git clone?
This is mine:
schermafbeelding 2017-04-13 om 19 39 02

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

@HansVanEijsden I had done a fresh git clone earlier today but a git pull changed 64 files. However, same issue, here's the Compile output of a rebuild:

10:50:19: Running steps for project welle.io...
10:50:19: Starting: "/usr/bin/make" clean
rm -f qrc_touch_gui_resource.cpp
rm -f moc_predefs.h
rm -f moc_ofdm-processor.cpp moc_ofdm-decoder.cpp moc_fic-handler.cpp moc_fib-processor.cpp moc_mp2processor.cpp moc_mp4processor.cpp moc_faad-decoder.cpp moc_pad_decoder_adapter.cpp moc_CAudio.cpp moc_CRTL_TCP_Client.cpp moc_CStationList.cpp moc_CGUI.cpp moc_CRadioController.cpp moc_CAirspy.cpp moc_CRTL_SDR.cpp
rm -f main.o ofdm-processor.o ofdm-decoder.o phasereference.o phasetable.o freq-interleaver.o viterbi.o fic-handler.o msc-handler.o protection.o eep-protection.o uep-protection.o fib-processor.o galois.o reed-solomon.o charsets.o firecode-checker.o dab-virtual.o dab-processor.o protTables.o dab-audio.o mp2processor.o mp4processor.o pad_decoder.o mot_manager.o pad_decoder_adapter.o tools.o CAudio.o fft.o Xtan2.o CInputFactory.o CNullDevice.o CRAWFile.o CRTL_TCP_Client.o DabConstants.o CMOTImageProvider.o CStationList.o CGUI.o CRadioController.o CChannels.o CAirspy.o CRTL_SDR.o qrc_touch_gui_resource.o moc_ofdm-processor.o moc_ofdm-decoder.o moc_fic-handler.o moc_fib-processor.o moc_mp2processor.o moc_mp4processor.o moc_faad-decoder.o moc_pad_decoder_adapter.o moc_CAudio.o moc_CRTL_TCP_Client.o moc_CStationList.o moc_CGUI.o moc_CRadioController.o moc_CAirspy.o moc_CRTL_SDR.o
rm -f *~ core *.core
10:50:19: The process "/usr/bin/make" exited normally.
10:50:19: Configuration unchanged, skipping qmake step.
10:50:19: Starting: "/usr/bin/make" 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9  -g -std=gnu++11 -Wall -W -fPIC -DHAVE_AIRSPY -DHAVE_RTLSDR -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ofdm -Isrc/backend -Isrc/backend/audio -Isrc/backend/data -Isrc/backend/data/journaline -Isrc/output -Isrc/various -Isrc/input -Isrc/gui -I/opt/local/include -I../../Qt/5.8/clang_64/lib/QtQuick.framework/Headers -I../../Qt/5.8/clang_64/lib/QtCharts.framework/Headers -I../../Qt/5.8/clang_64/lib/QtWidgets.framework/Headers -I../../Qt/5.8/clang_64/lib/QtMultimedia.framework/Headers -I../../Qt/5.8/clang_64/lib/QtGui.framework/Headers -I../../Qt/5.8/clang_64/lib/QtQml.framework/Headers -I../../Qt/5.8/clang_64/lib/QtNetwork.framework/Headers -I../../Qt/5.8/clang_64/lib/QtCore.framework/Headers -I. -I../../Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I../../Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../Qt/5.8/clang_64/mkspecs/macx-clang -F/Applications/Qt/5.8/clang_64/lib -o main.o src/main.cpp
In file included from src/main.cpp:44:
In file included from src/CRadioController.h:41:
In file included from src/ofdm/ofdm-processor.h:40:
In file included from src/ofdm/phasereference.h:28:
src/various/fft.h:42:10: fatal error: 'fftw3.h' file not found
#include        <fftw3.h>
                ^
1 error generated.
make: *** [main.o] Error 1
10:50:23: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project welle.io (kit: Desktop Qt 5.8.0 clang 64bit)
When executing step "Make"
10:50:23: Elapsed time: 00:04.

I'm wondering if it's to do with the Version 8.2.1 (8C1002) of Xcode that is running?

ash$ clang -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
bash$ 

I see that the installed Qt Creator v.4.2.1 is based on Clang 7.0:

about qt creator

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

I'm wondering if it's to do with the Version 8.2.1 (8C1002) of Xcode that is running?

That's a good possibility. Here I have Sierra 10.12.4 (16E195) on all devices. My Xcode version is 8.3.1 (8E1000a). What about my .app (the link 4 replies above)? Does that work?

from welle.io.

kgarrels avatar kgarrels commented on June 21, 2024

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

from welle.io.

HansVanEijsden avatar HansVanEijsden commented on June 21, 2024

@stuzog thanks for trying, too bad it doesn't run there (not surprisingly).

My clang:

hans$ clang -v
Apple LLVM version 8.1.0 (clang-802.0.41)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

My Qt, the same as yours:
schermafbeelding 2017-04-13 om 20 17 24

@kgarrels thanks for your great work by porting it to MacOS. Really appreciated.

from welle.io.

stuzog avatar stuzog commented on June 21, 2024

@HansVanEijsden @kgarrels Thanks for the assistance. This iMac is a late-2007 early aluminium 24" that may have issues that later models may have fixed. It has failed to install one or two other programs, although that could be me. Sigh.... obsolescence creeping in to both my iMac and I?

from welle.io.

kgarrels avatar kgarrels commented on June 21, 2024

from welle.io.

kgarrels avatar kgarrels commented on June 21, 2024

from welle.io.

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.