Post by Steve the FiddleIt took me a couple of goes to get it to work.
It's probably easiest to delete the entire audacity folder and start
1) Delete your "build" folder.
2) Run "make distclean" in the src directory (may be necessary if you
have previously run ./configure there).
3) Run "make distclean" in the lib-src/mod-nyq-bench/ folder (may be
necessary if you have previously attempted building the module).
You should now be able to build in a new "build" directory, but ensure
that you have plenty of time before midnight otherwise the module
turns into a pumpkin.
It now takes 90 minutes to build Audacity on my Ubuntu netbook so I
got the pumpkin. That started about the time changes were made to
speed Windows builds up.
Anyway, results for Ubuntu below.
Post by Steve the Fiddle4) mkdir build
5) cd build
6) ../configure <options>
../configure --disable-dynamic-loading --enable-debug
7) make
Audacity should build correctly.
8) cd lib-src/mod-nyq-bench
This directory should now exist.
9) make
This should complete without errors (though there will probably be
some warnings).
/build/lib-src/mod-nyq-bench/.libs
containing three files and three links.
10) cd ../../..
to get back to the root of the source tree
11) mkdir modules
to create a modules directory
12) copy the file "mod-nyq-bench.so.0.0.0" and the link
"mod-nyq-bench.so" from the
/build/lib-src/mod-nyq-bench/.libs
directory into the new "modules" directory.
13) Launch Audacity
14) Enable Nyquist Workbench in "Preferences > Modules"
15) Restart Audacity.
Mod-nyq-bench built OK following those steps, but then it built before
for me if I built in /build/lib-src/mod-nyq-bench. The problem was
trying to then build the modules in <root of
source>/lib-src/mod-nyq-bench or /mod-script-pipe - there is no target
for make until you configure, and when you make after configure you
get "configunix.h: no such file or directory".
Having built Audacity in the "build" folder with your steps, Audacity
refuses to see the modules in <root of source>/modules. It sees them
in a "modules" folder inside the "build" folder - I've tried a couple
of times. Does a "modules" folder inside the "build" folder also work
for you, so we can document that?
Then I did a fresh checkout and built Audacity in the root of source.
Building mod-nyq-bench in lib-src (just with "make") went fine and
Audacity saw mod-nyq-bench in <root of source>/modules.
But there is no makefile for mod-null (if we care) and building
mod-script pipe fails thus:
/usr/local/include/wx-3.0/wx/chartype.h:296:23: note: in expansion of
macro 'wxAPPLY_T'
#define __TDATE__ wxAPPLY_T(__DATE__)
^
../../src/Audacity.h:39:43: note: in expansion of macro '__TDATE__'
#define AUDACITY_SUFFIX wxT("-alpha-") __TDATE__
^
../../src/Audacity.h:51:33: note: in expansion of macro 'AUDACITY_SUFFIX'
AUDACITY_SUFFIX
^
ScripterCallback.cpp:75:11: note: in expansion of macro
'AUDACITY_VERSION_STRING'
return AUDACITY_VERSION_STRING;
^
make: *** [ScripterCallback.o] Error 1
So AFAICT mod-script-pipe can't be attempted when building Audacity in
a "build" folder, and when you don't use a "build" folder
mod-script-pipe does not build properly.
Gale
Post by Steve the FiddleGood luck.
Steve
Post by Gale AndrewsPost by Steve the FiddleThanks Leland.
I've only tested Nyquist Workbench. It has built and is working.
Steve
I don't have it working yet on Ubuntu 14.04 32-bit, but I don't know
whether that it is because I build Audacity in a "build" folder as is
often recommended.
Following
http://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference#Nyquist_Workbench
still works for me if I perform those steps in
audacity/build/lib-src/mod-nyq-bench (I corrected the copy command
there for copying the modules to /usr/local/share/audacity/modules).
But if after building Audacity in the "build" folder I try to build
mod-nyq-bench in audacity/lib-src/mod-nyq-bench, then after "make", it
says "no targets specified and no makefile found". If I ./configure in
that mod-nyq-bench folder then make, I get
./../../src/Audacity.h:85:24 fatal error: configunix.h: no such file
or directory".
Same with audacity/lib-src/mod-script-pipe. The "build" folder does
not have a "mod-script-pipe" folder.
Does someone have more up-to-date instructions, both using a "build"
folder to build Audacity and not? The Wiki instructions are l fine for
Windows and Mac, with a few tweaks for Mac I made yesterday.
Gale
Post by Steve the FiddlePost by Leland LuciusTry it now
-----Original Message-----
Sent: Sunday, October 2, 2016 2:56 PM
Subject: Re: [Audacity-devel] building the modules
I'm still having no joy on Linux. Has anyone succeeded building modules on
Linux?
Steve
Post by Leland-----Original Message-----
Sent: Sunday, October 2, 2016 1:41 PM
Subject: Re: [Audacity-devel] building the modules
The xcodebuild commands still work fine such as
xcodebuild -configuration Release install -target mod-nyq-bench .
Xcode 7.1 on Sierra is really buggy when you select mod-script-pipe
or mod- nyq-bench in Product > Scheme. It usually takes multiple
reopening of the menu (or actually building the module) before the
checkmark will update to show the currently selected scheme.
I "think" it still switches even though the checkmark doesn't update.
(command line is SO much better. :-D)
I assume you saw the two warnings when building mod-script-pipe on
Mac, Leland?
Noper.
There is no mod-null target on Mac. Should there not be so?
I s'pose. I just thought any "testing" of it could be done on Windows.
But,
I've just added it to the project.
Post by LelandLeland
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
-------- Check out the vibrant tech community on one of the world's
most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel