File Not Found During FileDialog Build

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
Keegan
Posts: 3
Joined: Thu May 21, 2020 8:17 pm
Operating System: Linux Debian

File Not Found During FileDialog Build

Post by Keegan » Thu May 21, 2020 8:27 pm

I'm attempting to build Audacity from source. I've cloned the repo form GitHub, and following the instructions in viewtopic.php?f=19&t=111043 I run into the following error:

Code: Select all

[ 41%] Building CXX object cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/FileDialog.cpp.o
c++: error: value-NOTFOUND: No such file or directory
make[2]: *** [cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/build.make:83: cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/FileDialog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2079: cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
The "cmake -DCMAKE_BUILD_TYPE=Release .." command appears to execute just fine, and it is during the actual build that I run into the issue above.

I'm guessing there is just a basic dependency problem, but I'm not familiar enough the code base so I'm struggling to find where I went wrong. Any help would be greatly appreciated. Thanks in advance.

steve
Site Admin
Posts: 81443
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: File Not Found During FileDialog Build

Post by steve » Thu May 21, 2020 8:33 pm

I've not yet tried building on Debian. Which version are you using?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Keegan
Posts: 3
Joined: Thu May 21, 2020 8:17 pm
Operating System: Linux Debian

Re: File Not Found During FileDialog Build

Post by Keegan » Thu May 21, 2020 8:36 pm

10.4 "buster"

Keegan
Posts: 3
Joined: Thu May 21, 2020 8:17 pm
Operating System: Linux Debian

Re: File Not Found During FileDialog Build

Post by Keegan » Thu May 21, 2020 10:55 pm

Upon further review, with a make -j4, some other errors popped up with other targets:

Code: Select all

[ 75%] Building C object cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/__/__/lib-src/libid3tag/compat.c.o
[ 75%] Building C object cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/__/__/lib-src/libid3tag/crc.c.o
cc: error: value-NOTFOUND: No such file or directory
cc: error: value-NOTFOUND: No such file or directory
make[2]: *** [cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/build.make:83: cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/__/__/lib-src/libid3tag/compat.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/build.make:96: cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/__/__/lib-src/libid3tag/crc.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2257: cmake-proxies/libid3tag/CMakeFiles/libid3tag.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 75%] Building CXX object cmake-proxies/lib-widget-extra/CMakeFiles/lib-widget-extra.dir/__/__/lib-src/lib-widget-extra/NonGuiThread.cpp.o
c++: error: value-NOTFOUND: No such file or directory
make[2]: *** [cmake-proxies/lib-widget-extra/CMakeFiles/lib-widget-extra.dir/build.make:83: cmake-proxies/lib-widget-extra/CMakeFiles/lib-widget-extra.dir/__/__/lib-src/lib-widget-extra/NonGuiThread.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2141: cmake-proxies/lib-widget-extra/CMakeFiles/lib-widget-extra.dir/all] Error 2
[ 75%] Building CXX object cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/FileDialog.cpp.o
[ 75%] Building CXX object cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/gtk/FileDialogPrivate.cpp.o
c++: error: value-NOTFOUND: No such file or directory
make[2]: *** [cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/build.make:83: cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/FileDialog.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
c++: error: value-NOTFOUND: No such file or directory
make[2]: *** [cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/build.make:96: cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/__/__/lib-src/FileDialog/gtk/FileDialogPrivate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2079: cmake-proxies/FileDialog/CMakeFiles/FileDialog.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
I also re-ran cmake and snagged the output in a text file, it complains about a few missing libraries, but didn't bail on any as fatal errors. The first was wxWidgets, which seems fine because it dutifully clones the repo as needed. The others were Webkit, gstreamer, and libsecret. I attached the full log.
Attachments
cmake_output.txt
(26.99 KiB) Downloaded 50 times

Archimboldi
Posts: 2
Joined: Sun May 24, 2020 9:58 am
Operating System: Linux Debian

Re: File Not Found During FileDialog Build

Post by Archimboldi » Sun May 24, 2020 9:59 am

I have exactly the same issue. Help please.

Archimboldi
Posts: 2
Joined: Sun May 24, 2020 9:58 am
Operating System: Linux Debian

Re: File Not Found During FileDialog Build

Post by Archimboldi » Sun May 24, 2020 10:42 am

Hello! I had the same issue as you and just managed to solve it. First, delete the build-cmake dir just to get sure it's a clean install and then install all the dependencies listed at this Wiki entry. Which means:

Code: Select all

apt install -y build-essential gcc-7 libsndfile1 libgtk2.0-dev libasound2-dev gettext python2.7-minimal libid3tag0-dev libavformat-dev libjack-jackd2-dev libmad0-dev libsoundtouch-dev libogg-dev libvorbis-dev libflac-dev libmp3lame0
Don't install cmake, as I assume you built it from source as specified in the installation guide.

Then, as I think our main problem was that cmake couldn't properly locate wxWidgets, install it via apt:

Code: Select all

apt install libwxgtk3.0 -y
Now just rebuild it creating the build-cmake directory and following the instructions provided at the linked wiki entry.

It worked for me. I hope it does for you too!

Post Reply