Skip to content
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

(Noob alert) had some problem compiling from source #163

Closed
Yandrut opened this issue Mar 25, 2021 · 4 comments
Closed

(Noob alert) had some problem compiling from source #163

Yandrut opened this issue Mar 25, 2021 · 4 comments

Comments

@Yandrut
Copy link

Yandrut commented Mar 25, 2021

Been working on Linux Mint
~/AnalogTapeModel/Plugin$ cmake -Bbuild
-- Checking for module 'libcurl'
-- No package 'libcurl' found
-- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0'
-- No package 'webkit2gtk-4.0' found
-- No package 'gtk+-x11-3.0' found
-- Checking for module 'freetype2'
-- No package 'freetype2' found
-- Configuring juceaide
-- Building juceaide
CMake Error at modules/DISTRHO-JUCE/extras/Build/juceaide/CMakeLists.txt:86 (message):
Failed to build juceaide

[ 12%] Building CXX object
extras/Build/juceaide/CMakeFiles/juceaide.dir///__/modules/juce_graphics/juce_graphics.cpp.o

/home/digital/AnalogTapeModel/Plugin/modules/DISTRHO-JUCE/modules/juce_graphics/juce_graphics.cpp:88:12:
fatal error: ft2build.h: No such file or directory

 88 |   #include <ft2build.h>
    |            ^~~~~~~~~~~~

compilation terminated.

make[2]: *** [extras/Build/juceaide/CMakeFiles/juceaide.dir/build.make:102:
extras/Build/juceaide/CMakeFiles/juceaide.dir///__/modules/juce_graphics/juce_graphics.cpp.o]
Error 1

make[1]: *** [CMakeFiles/Makefile2:133:
extras/Build/juceaide/CMakeFiles/juceaide.dir/all] Error 2

make: *** [Makefile:130: all] Error 2

-- Configuring incomplete, errors occurred!
See also "/home/digital/AnalogTapeModel/Plugin/build/CMakeFiles/CMakeOutput.log".
See also "/home/digital/AnalogTapeModel/Plugin/build/CMakeFiles/CMakeError.log".

I guess this is an issue with dependencies

Depending on your Linux distribution, you may also need to install:

freetype
libGL
libXext
libcurl

and I guess versions of these packages in my system are different, but compiler searches for the ones it needs, but not sure about that

Following packages in my system 'freetype2-doc' 'libgl1' and a lot of stuff that it depends on, 'libxext-dev' or 'libxext6' , 'libcurl4' , 'libwebkit2gtk-4.0-37'

and gtk+-x11-3.0 is not there, i guess

how can i make this work?

@jatinchowdhury18
Copy link
Owner

Hi there!

Sorry to hear that you're having compilation issues. It looks like the main issue is that CMake isn't able to find freetype2 in your system. Potentially, there could be a problem with webkit and gtk as well, since CMake couldn't find those either. This page gives some pretty good information about the Linux dependencies needed to compile a JUCE project like this one. I think installing (or re-installing) some or all of these dependencies would likely fix the issue.

Another option, if you just want to use the plugin and don't really care about compiling from source, is to download the Linux installer that I've recently been working on. There still may be some bugs to work out with this process, so definitely let me know if you run into issues. The installer can be downloaded here.

Thanks,
Jatin

@Yandrut
Copy link
Author

Yandrut commented Mar 30, 2021

@jatinchowdhury18 thank you so much for a reply :)
It was as easy as installing few packages in terminal. It's the case with me getting lost with packages and libraries and stuff. Compiled it works like charm. Definitely will be testing it out top to bottom. Can I support your development financially?
What do you think about internationalisating the UI? It definitely would be a good feature, I could help translating to a few languages

@jatinchowdhury18
Copy link
Owner

Great, glad to hear that it's working! For financial support, we have a Patreon page.

I imagine having translated version of the plugin should be possible, I'd just need to figure out how to dynamically change the UI configuration on the fly. I can let you know when I've got that ready (I don't have a time-estimate on that quite yet).

@Yandrut
Copy link
Author

Yandrut commented Mar 31, 2021

@jatinchowdhury18 it'd be a nice feature to make it more accessible, but I think if people can download it In English they surely will understand what UI is all about. Let me know anyway if you'll think its worth the effort 👍

Closing this isuue now, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants