-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Getting missing member errors attempting to build SmartAmpPro #22
Comments
After getting beyond the compilation errors, I was able to build SmartAmpPro.component, but when scanning the component on Logic Pro X startup, SmartAmpPro crashes during plugin validation with: validating Audio Unit SmartAmpPro by GuitarML:
VALIDATING AUDIO UNIT: 'aufx' - 'sa10' - 'Manu'Manufacturer String: GuitarML
TESTING OPEN TIMES: validation result: crashed validation This stack trace from the crash might be relevant: 8 com.GuitarML.SmartAmpPro 0x0000000109b3f251 nc::NdArray<float, std::__1::allocator >::fill(float) + 33 (NdArrayCore.hpp:2880) |
I was running into the same use.. I think since JUCE 6 you have to use JUCE_MODAL_LOOPS_PERMITTED=1 in your CMakeList or Projucer to use the FileExplorer. So I got the plugin running with a dirty hack. For off all be sure using NumCPP Version >= 2.4.1 (otherwise you will run into some linking errors). But the plugin still crashes at startup. The reason for the crash is due to this File ->
By commeting out the Line: Hope it helps someone! |
@vackva Thank you for the help! SmartAmpPro has not been in active development for awhile, but it's on my list to bring up to date and improve the interface between the plugin and tensorflow. And yes, if you use later than JUCE 6.08 it will not be able to compile the file browser part of the code, reference this open issue on NeuralPi: GuitarML/NeuralPi#28 |
Sure, took me some time to figure that out and I'm sure others will run into the same issue :) I also have a working CMake build (CMakeLists.txt), I could share this as well if you are interested in that. |
Glad to see some activity. I hope to put some time into this once it's working again. |
I'm trying to build SmartAmpPro on MacOS 10.15.7 using Projucer 6.1.4, boost_78_0, and Xcode 12.4.
I'm getting 5 compilation errors in PluginEditor.cpp, all similar to: No member named 'browseForMultipleFilesToOpen' in 'juce::FileChooser'. I have looked at the header files that are getting included and the missing members are there. Haven't done much C++ in many years, but I don't see any solution. Any idea how to fix this?
My Projucer.app Header search paths is:
$(HOME)/eigen/
~/Documents/GitHub/json/include
~/Documents/GitHub/NumCpp/include
~/Developer/boost_1_78_0
The missing methods are in in juce_FileChooser.h, but are not include unless JUCE_MODAL_LOOPS_PERMITTED is defined.
I resolved the issue by adding JUCE_MODAL_LOOPS_PERMITTED=1 in the SmartAppPro Exporter Preprocessor Definitions, but I'm not sure that's the correct solution.
The text was updated successfully, but these errors were encountered: