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

Linux - Errors when building #1

Open
crshrprt opened this issue Feb 9, 2024 · 6 comments
Open

Linux - Errors when building #1

crshrprt opened this issue Feb 9, 2024 · 6 comments

Comments

@crshrprt
Copy link

crshrprt commented Feb 9, 2024

Thank you for this interesting plugin.

When trying to build the plugin on Linux, Debian Sid, I got some errors:

../../Source/PluginEditor.cpp:1681:18: error: ‘log10f’ is not a member of ‘std’; did you mean ‘log1pf’?
 1681 |             std::log10f(
      |                  ^~~~~~
      |                  log1pf
../../Source/PluginEditor.cpp:1690:18: error: ‘log10f’ is not a member of ‘std’; did you mean ‘log1pf’?
 1690 |             std::log10f(
      |                  ^~~~~~
      |                  log1pf
../../Source/PluginEditor.cpp:1704:18: error: ‘log10f’ is not a member of ‘std’; did you mean ‘log1pf’?
 1704 |             std::log10f(
      |                  ^~~~~~
      |                  log1pf

@RealAlexZ
Copy link
Owner

Hi,

Thank you so much for pointing out this issue! This is a fairly surprising issue to me, because my source code compiles on both MacOS and Windows. I checked c++ reference and std::log10f is a part of their library. I will try to see if there is a library that I am missing and reach back to you!

Sincerely,
Alex

@RealAlexZ RealAlexZ reopened this Feb 10, 2024
@RealAlexZ
Copy link
Owner

Is there any chance that you could try including cmath in pluginProcessor.h and see if it compiles? Thanks in advance!

@crshrprt
Copy link
Author

I tried to add #include <cmath> in all the files but I get the same errors.

@crshrprt
Copy link
Author

crshrprt commented Feb 10, 2024

I was able to compile it using gcc/g++ 14 but when I open the plugin's GUI it crashes the DAW.

I tested it in Ardour 8.2, BespokeSynth nightly build and Carla 2.5.8.

@RealAlexZ
Copy link
Owner

Hi, thank you very much for confirming that it builds using GCC/G++! One issue that persists now is that the GUI crashes when it analyzes audio channels, and I think that it works fine with MIDI ones. Is there any chance that you could test it with MIDI data?

So sorry for all the bugs in my code, and thank you very much for pointing out the issues in the plugin!

@crshrprt
Copy link
Author

It crashes also when the plugin is loaded on a MIDI track.

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