Hi, I'm getting an error, but I thought I followed the instructions...
$ sudo apt-get install libasound-dev libfreetype6-dev libgl1-mesa-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev freeglut3-dev libxmu-dev libxi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libasound2-dev' instead of 'libasound-dev'
libfreetype6-dev is already the newest version (2.9.1-4).
libx11-dev is already the newest version (2:1.6.8-1).
libxcursor-dev is already the newest version (1:1.2.0-2).
libxext-dev is already the newest version (2:1.3.4-0ubuntu1).
libxi-dev is already the newest version (2:1.7.10-0ubuntu1).
libxinerama-dev is already the newest version (2:1.1.4-2).
libxmu-dev is already the newest version (2:1.1.3-0ubuntu1).
freeglut3-dev is already the newest version (2.8.1-3).
libasound2-dev is already the newest version (1.1.9-0ubuntu1.3).
libgl1-mesa-dev is already the newest version (19.2.8-0ubuntu0~19.10.3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ cd mcfx
$ mkdir BUILD
$ cd BUILD
$ cmake ..
-- Found libsoxr: /usr/local/lib/libsoxr.so
-- Could NOT find FFTW3 (missing: FFTW3F_THREADS_LIBRARY FFTW3F_LIBRARY FFTW3_INCLUDE_DIR)
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.24.12
-- Checking for module 'webkit2gtk-4.0'
-- Found webkit2gtk-4.0, version 2.28.2
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.9.1")
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FFTW3F_LIBRARY
...and the same with FFTW3F_THREADS_LIBRARY, and FFTW3_INCLUDE_DIR
I found that installing libfft3f-dev fixed it: sudo apt-get install libfftw3-dev.
So, perhaps add this into the list of packages in the README? (or maybe it's there but my searching didn't find it)
Pop!_OS (Ubuntu variant) 19.04.
Feel free to close. Just posting this as FYI.
Hi, I'm getting an error, but I thought I followed the instructions...
...and the same with FFTW3F_THREADS_LIBRARY, and FFTW3_INCLUDE_DIR
I found that installing libfft3f-dev fixed it:
sudo apt-get install libfftw3-dev
.So, perhaps add this into the list of packages in the README? (or maybe it's there but my searching didn't find it)
Pop!_OS (Ubuntu variant) 19.04. Feel free to close. Just posting this as FYI.