Hi, Julius.

I have:

dariosanfilippo@Darios-MBP faustlibraries % which qmake

/opt/homebrew/opt/qt/bin/qmake

dariosanfilippo@Darios-MBP faustlibraries % `which qmake` -v

QMake version 3.1

Using Qt version 5.15.2 in /opt/homebrew/Cellar/qt/5.15.2/lib

and

dariosanfilippo@Darios-MBP faustlibraries % `which clang` -v

Apple clang version 12.0.0 (clang-1200.0.32.29)

Target: arm64-apple-darwin20.3.0

Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

These are the last few lines before the error:

+ faust -i -json -a /usr/local/share/faust/ca-qt.cpp -double
./test_adaa.dsp -o faust.hLi9nX/test_adaa/test_adaa_tmp.cpp

+ '[' auto = auto ']'

+ echo '#define PRESETDIR "/var/tmp/"'

+ cat faust.hLi9nX/test_adaa/preset.cpp
faust.hLi9nX/test_adaa/test_adaa_tmp.cpp

+ rm faust.hLi9nX/test_adaa/preset.cpp
faust.hLi9nX/test_adaa/test_adaa_tmp.cpp

+ cd faust.hLi9nX/test_adaa

+ qmake -project 'QT += widgets printsupport network' CONFIG+=warn_off
'QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9'
INCLUDEPATH+=/Users/dariosanfilippo/Research/Faust_dev/faustlibraries
'INCLUDEPATH+=/usr/local/include /opt/local/include' 'QMAKE_CXXFLAGS=
-std=c++11
-Ofast -march=native -mmacosx-version-min=10.9 -Wno-unused-parameter '
QMAKE_INFO_PLIST=/usr/local/share/faust/Info.plist 'LIBS+=-L/usr/local/lib
-L/usr/local/lib  -framework CoreAudio -framework AudioUnit -framework
CoreServices -framework CoreMIDI -framework CoreFoundation    '
HEADERS+=/usr/local/include/faust/gui/QTUI.h 'RESOURCES+=
/usr/local/include/faust/gui/Styles/Grey.qrc' '' '' '' '' '' '' '' '' ''

+ qmake -spec macx-clang

Project WARNING: Qt has only been tested with version 10.15 of the platform
SDK, you're using 11.1.

Project WARNING: This is an unsupported configuration. You may experience
build issues, and by using

Project WARNING: the 11.1 SDK you are opting in to new features that Qt has
not been prepared for.

Project WARNING: Please downgrade the SDK you use to build your app to
version 10.15, or configure

Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to
silence this warning.

+ make

clang: error: the clang compiler does not support '-march=native'

make: *** [test_adaa.o] Error 1
+ exit

Thanks,
Dario



On Tue, 16 Feb 2021 at 01:48, Julius Smith <julius.sm...@gmail.com> wrote:

> I've seen that before, and -march=native should be ok.
>
> Here is what I have:
>
> > `which qmake` -v
> QMake version 3.1
> Using Qt version 5.15.2 in /usr/local/Cellar/qt/5.15.2/lib
>
> > `which clang` -v
> Apple clang version 12.0.0 (clang-1200.0.32.27)
> Target: x86_64-apple-darwin20.3.0
> Thread model: posix
> InstalledDir:
> /Devel/Xcode12p2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>
> How about you?  Another thing to do is uncomment the "set -x" line in
> /usr/local/bin/faust2caqt
> Then you can follow the script progress.
> I too get those warning messages, but my clang is fine with -march=native
>
> - Julius
>
>
>
> On Mon, Feb 15, 2021 at 11:27 AM Dario Sanfilippo <
> sanfilippo.da...@gmail.com> wrote:
>
>> Thanks for your help, Julius.
>>
>> I linked macx-clang-arm64 as I'm on the M1 chip but now it's this other
>> issues:
>>
>> dariosanfilippo@Darios-MBP faustlibraries % faust2caqt -double
>> test_adaa.dsp
>>
>> Project WARNING: Qt has only been tested with version 10.15 of the
>> platform SDK, you're using 11.1.
>>
>> Project WARNING: This is an unsupported configuration. You may experience
>> build issues, and by using
>>
>> Project WARNING: the 11.1 SDK you are opting in to new features that Qt
>> has not been prepared for.
>>
>> Project WARNING: Please downgrade the SDK you use to build your app to
>> version 10.15, or configure
>>
>> Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to
>> silence this warning.
>>
>> clang: error: the clang compiler does not support '-march=native'
>>
>> make: *** [test_adaa.o] Error 1
>>
>> Dario
>>
>>
>> On Mon, 15 Feb 2021 at 20:14, Julius Smith <julius.sm...@gmail.com>
>> wrote:
>>
>>> That looks like the problem.  I would cd to that directory and type
>>>
>>> sudo ln -s macx-clang-x64 macx-clang
>>>
>>> assuming you are on an Intel Mac.
>>>
>>> - Julius
>>>
>>> On Mon, Feb 15, 2021 at 1:25 AM Dario Sanfilippo <
>>> sanfilippo.da...@gmail.com> wrote:
>>>
>>>> Hi, Julius.
>>>>
>>>> I have
>>>>
>>>> macx-clang-arm64
>>>>
>>>> macx-clang-x64
>>>>
>>>> in
>>>>
>>>> /opt/homebrew/Cellar/qt/5.15.2/mkspecs
>>>>
>>>>
>>>> Shouldn't the first line in my .zshrc refer to this folder too? Should
>>>> there also be a macx-clang or does Faust need to specify macx-clang-arm64
>>>> for these machines?
>>>>
>>>> Thanks,
>>>> Dario
>>>>
>>>>
>>>> On Mon, 15 Feb 2021 at 02:20, Julius Smith <julius.sm...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Dario,
>>>>>
>>>>> Do you have this?:
>>>>>
>>>>> > locate macx-clang
>>>>> /usr/local/Cellar/qt/5.15.2/mkspecs/macx-clang
>>>>>
>>>>> If so, maybe there is a config problem
>>>>>
>>>>> faust2caqt is working for me on Big Sur.
>>>>>
>>>>> - Julius
>>>>>
>>>>> On Sun, Feb 14, 2021 at 12:47 PM Dario Sanfilippo <
>>>>> sanfilippo.da...@gmail.com> wrote:
>>>>>
>>>>>> By the way, these are the lines added to my .zshrc file:
>>>>>>
>>>>>> export PATH="/opt/homebrew/opt/qt/bin:$PATH"
>>>>>>
>>>>>> export LDFLAGS="-L/opt/homebrew/opt/qt/lib"
>>>>>>
>>>>>> export CPPFLAGS="-I/opt/homebrew/opt/qt/include"
>>>>>>
>>>>>> export PKG_CONFIG_PATH="/opt/homebrew/opt/qt/lib/pkgconfig"
>>>>>>
>>>>>> Thanks,
>>>>>> Dario
>>>>>>
>>>>>>
>>>>>> On Sun, 14 Feb 2021 at 20:23, Dario Sanfilippo <
>>>>>> sanfilippo.da...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi, Alex and all.
>>>>>>>
>>>>>>> I'm trying to have Faust running on OSX 11.2.1, M1 chip, but I'm
>>>>>>> having a few issues.
>>>>>>>
>>>>>>> With faust2caqt, I get the following error:
>>>>>>>
>>>>>>> Could not find qmake spec 'macx-clang'.
>>>>>>>
>>>>>>> Error processing project file:
>>>>>>> /Users/dariosanfilippo/Research/Faust_dev/faustlibraries/faust.JD9TVA/test_adaa/
>>>>>>> test_adaa.pro
>>>>>>>
>>>>>>> make: *** No targets specified and no makefile found.  Stop.
>>>>>>>
>>>>>>> If I run a "which" on qmake and make, I get this:
>>>>>>>
>>>>>>> dariosanfilippo@Darios-MBP ~ % which qmake
>>>>>>>
>>>>>>> /opt/homebrew/opt/qt/bin/qmake
>>>>>>>
>>>>>>> dariosanfilippo@Darios-MBP ~ % which make
>>>>>>> /usr/bin/make
>>>>>>>
>>>>>>> If I run qmake -v I get:
>>>>>>>
>>>>>>> QMake version 3.1
>>>>>>>
>>>>>>> Using Qt version 5.15.2 in /opt/homebrew/Cellar/qt/5.15.2/lib
>>>>>>>
>>>>>>> I have also added these lines to my .zshrc as suggested by Brew as
>>>>>>> the formula is keg-only.
>>>>>>>
>>>>>>> With faust2csvplot, I get this error:
>>>>>>>
>>>>>>> clang: error: the clang compiler does not support '-march=native'
>>>>>>>
>>>>>>> If I run "which" on clang, I get this:
>>>>>>>
>>>>>>> /usr/bin/clang
>>>>>>>
>>>>>>> And then running clang -v:
>>>>>>>
>>>>>>> Apple clang version 12.0.0 (clang-1200.0.32.29)
>>>>>>>
>>>>>>> Target: arm64-apple-darwin20.3.0
>>>>>>>
>>>>>>> Thread model: posix
>>>>>>> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>>>>>>>
>>>>>>> Can anybody help with this?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Dario
>>>>>>>
>>>>>>>
>>>>>>> On Sun, 24 Jan 2021 at 01:03, <s...@ethnographer.ca> wrote:
>>>>>>>
>>>>>>>> I’ve used Faust on my M1 Mac (Big Sur 11.1) without too many
>>>>>>>> problems apart from having to whitelist modules after exporting them.
>>>>>>>> Haven’t used RME Babyface.
>>>>>>>>
>>>>>>>> – Alex
>>>>>>>> Le 23 janv. 2021 18:48 -0500, Dario Sanfilippo <
>>>>>>>> sanfilippo.da...@gmail.com>, a écrit :
>>>>>>>>
>>>>>>>> Hello, list. I hope that you're all well.
>>>>>>>>
>>>>>>>> Do you have experience with Faust and the hardware/software in the
>>>>>>>> subject? Anything I should worry about in particular?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Dr Dario Sanfilippo
>>>>>>>> http://dariosanfilippo.com
>>>>>>>> _______________________________________________
>>>>>>>> Faudiostream-users mailing list
>>>>>>>> Faudiostream-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Dr Dario Sanfilippo
>>>>>>> http://dariosanfilippo.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dr Dario Sanfilippo
>>>>>> http://dariosanfilippo.com
>>>>>> _______________________________________________
>>>>>> Faudiostream-users mailing list
>>>>>> Faudiostream-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> "Anybody who knows all about nothing knows everything" -- Leonard
>>>>> Susskind
>>>>>
>>>>
>>>>
>>>> --
>>>> Dr Dario Sanfilippo
>>>> http://dariosanfilippo.com
>>>>
>>>
>>>
>>> --
>>> "Anybody who knows all about nothing knows everything" -- Leonard
>>> Susskind
>>>
>>
>>
>> --
>> Dr Dario Sanfilippo
>> http://dariosanfilippo.com
>>
>
>
> --
> "Anybody who knows all about nothing knows everything" -- Leonard Susskind
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to