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

[BUG] curl/curl.h: No such file or directory #112

Closed
ct2034 opened this issue Nov 30, 2020 · 6 comments
Closed

[BUG] curl/curl.h: No such file or directory #112

ct2034 opened this issue Nov 30, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@ct2034
Copy link

ct2034 commented Nov 30, 2020

When running bash build_linux.sh I get ...

In file included from ../../JuceLibraryCode/include_juce_core.cpp:8:0:
../../../../modules/juce_core/juce_core.cpp:81:13: fatal error: curl/curl.h: No such file or directory
    #include <curl/curl.h>
             ^~~~~~~~~~~~~
compilation terminated.

I have got libcurl4 installed.

@ct2034 ct2034 added the bug Something isn't working label Nov 30, 2020
@ct2034 ct2034 changed the title [BUG]bash build_linux.sh [BUG] curl/curl.h: No such file or directory Nov 30, 2020
@ct2034
Copy link
Author

ct2034 commented Nov 30, 2020

Seems to be solved by sudo apt install libcurl4-gnutls-dev

@jatinchowdhury18
Copy link
Owner

Hmm, I hadn't thought that libcurl was a necessary dependency. I should double-check that, thanks for letting me know.

In the meantime, yes, installing one of the libcurl-*-dev packages should give you the required headers.

Thanks!
Jatin

@magnetophon
Copy link
Contributor

While packaging for NixOS, I found out there seem to be a few more dependencies:

    freetype
    libGL
    libXext
    python3

@jatinchowdhury18
Copy link
Owner

Ah, thanks for pointing that out, I'm adding some notes to the Building.md page to clarify this.

The python dependency is particularly annoying since I'm only using it to generate the .ttl files for the LV2 build. I've actually been working with the folks @DISTRHO to work out an easier way to build LV2 plugins with JUCE, that (among other things) doesn't depend on python (see here). Eventually, when those changes go through, and I migrate this plugin to build with CMake, the python dependency should go away.

@magnetophon
Copy link
Contributor

Great!
Does that mean there will be lv2 versions of more of your plugins?
I'm especially looking forward to Bad-Circuit-Modelling and DrumFixer!

@jatinchowdhury18
Copy link
Owner

Yes, the idea is that all my future plugins will support LV2 builds automatically! For past plugins, it will have to be a three-step process of:

  1. Upgrading to JUCE6
  2. Migrating from Projucer builds to CMake builds
  3. Adding LV2 CMake target.

Since I'm not actively working on Bad-Circuit-Modelling, it may take me a while to get around to migrating those. However, I've been thinking about some upgrades for DrumFixer, so that could be happening sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants