-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build on OS X using Homebrew? #44
Comments
Unfortunately, we only support MacPorts. Please follow this how to to compile welle.io for macOS. |
have you tried http://brewformulas.org/Fftw ? Otherwise you probably need to build fftw from source. |
@kgarrels @AlbrechtL Thanks for the hint. |
@stuzog I have it working (MacOS Sierra) with homebrew. Very simple! First of all: Then you need to change two paths in welle.io.pro (line 158), changing opt for usr: |
Thanks @HansVanEijsden I made the change but Build still stalls on not finding fftw3 (screen shot attached). |
That's strange @stuzog - can you please check if fftw3.h is in |
Hi @HansVanEijsden -- yes, it is:
```
bash$ lsla /usr/local/include/fftw3.*
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.f ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f
lrwxr-xr-x 1 Stuart admin 42 1 Apr 12:05 /usr/local/include/fftw3.f03 ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f03
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.h ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.h
bash$
bash$ lsla /usr/local/Cellar/fftw/3.3.6-pl2/include/
total 296
drwxr-xr-x 7 Stuart admin 238 27 Jan 13:14 .
drwxr-xr-x 15 Stuart admin 510 13 Apr 09:13 ..
-rw-r--r-- 1 Stuart admin 2447 27 Jan 13:14 fftw3.f
-rw-r--r-- 1 Stuart admin 54596 27 Jan 13:14 fftw3.f03
-rw-r--r-- 1 Stuart admin 31394 27 Jan 13:14 fftw3.h
-rw-r--r-- 1 Stuart admin 26983 27 Jan 13:14 fftw3l.f03
-rw-r--r-- 1 Stuart admin 25682 27 Jan 13:14 fftw3q.f03
bash$
```
And `welle.io.pro` looks exactly the same.
Note that I'm running El Capitan 10.11.6. on a 2007 iMac 7,1.
|
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. |
@HansVanEijsden This is where it breaks, I think:
![phasereference h master - welle io - qt creator](https://cloud.githubusercontent.com/assets/2623838/25016346/747619b4-2034-11e7-9ada-c6f380f70114.png)
|
@stuzog your phasereference.cpp looks different than mine. Are you sure you have a fresh source tree? Try doing |
@HansVanEijsden I had done a fresh
I'm wondering if it's to do with the Version 8.2.1 (8C1002) of Xcode that is running?
I see that the installed Qt Creator v.4.2.1 is based on Clang 7.0: |
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? |
I don’t think so…I used 8.3…beta.
can you show us:
``
ls -l /usr/local/include/ff*
``
?
It really looks like the include file is not there.
kai
… Am 13.04.2017 um 20:02 schrieb Stuart Hertzog ***@***.***>:
@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?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@HansVanEijsden The version you sent crashed immediately. I just updated
my last comment to show I'm running `clang` 8.0.0 and XCode Version
8.2.1 (8C1002).
|
@kgarrels
```
bash$ ls -l /usr/local/include/ff*
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.f ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f
lrwxr-xr-x 1 Stuart admin 42 1 Apr 12:05 /usr/local/include/fftw3.f03 ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f03
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.h ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.h
lrwxr-xr-x 1 Stuart admin 43 1 Apr 12:05 /usr/local/include/fftw3l.f03
-> ../Cellar/fftw/3.3.6-pl2/include/fftw3l.f03
lrwxr-xr-x 1 Stuart admin 43 1 Apr 12:05 /usr/local/include/fftw3q.f03
-> ../Cellar/fftw/3.3.6-pl2/include/fftw3q.f03
bash$
```
|
@stuzog thanks for trying, too bad it doesn't run there (not surprisingly). My clang:
@kgarrels thanks for your great work by porting it to MacOS. Really appreciated. |
@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? |
ok, I am not used to home-brew...seems the files are in the cellar :)
Should it be that way? Are they really there?
Maybe you copy them directly to /usr/local/include and try again.
I am now away for two weeks, then we can look again.
Ciao,
kai
… Am 13.04.2017 um 20:14 schrieb Stuart Hertzog ***@***.***>:
@kgarrels
```
bash$ ls -l /usr/local/include/ff*
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.f ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f
lrwxr-xr-x 1 Stuart admin 42 1 Apr 12:05 /usr/local/include/fftw3.f03 ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.f03
lrwxr-xr-x 1 Stuart admin 40 1 Apr 12:05 /usr/local/include/fftw3.h ->
../Cellar/fftw/3.3.6-pl2/include/fftw3.h
lrwxr-xr-x 1 Stuart admin 43 1 Apr 12:05 /usr/local/include/fftw3l.f03
-> ../Cellar/fftw/3.3.6-pl2/include/fftw3l.f03
lrwxr-xr-x 1 Stuart admin 43 1 Apr 12:05 /usr/local/include/fftw3q.f03
-> ../Cellar/fftw/3.3.6-pl2/include/fftw3q.f03
bash$
```
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#44 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGo1RMTs9meSxR7fHt4GEWaJ6gDuthT0ks5rvmYIgaJpZM4Mu9lr>.
|
I have the same clang version.
kai
… Am 13.04.2017 um 20:18 schrieb Hans van Eijsden ***@***.***>:
@stuzog <https://github.com/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:
<https://cloud.githubusercontent.com/assets/11890145/25018049/3d57879a-2086-11e7-86c1-f2e9c95857c0.png>
@kgarrels <https://github.com/kgarrels> thanks for your great work by porting it to MacOS. Really appreciated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#44 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGo1RK3oMmeHgP6RjRmPc-a0Xi60S3lsks5rvmb9gaJpZM4Mu9lr>.
|
Is it possible to build well.io.pro without having to install MacPorts? I prefer Homebrew but Homebrew can't find fftw-3-single. Proceeding without it results in the expected compile error:
../src/various/fft.h:42:10: fatal error: 'fftw3.h' file not found
The text was updated successfully, but these errors were encountered: