Build fail - Semantics: "Reference to ‘Point’ is ambiguous"
-
Thanks guys. Projucer from the JUCE site should be easy, but I'm wondering how difficult it will be to install Xcode 10 if I already have Xcode 11. Maybe easy (or not?), but now I wonder if I should have started with Mojave instead of Catalina.
My original reason for Catalina was that the Xcode installation was nice and easy through the App Store (Xcode in the App Store requires Catalina), but if I'm going to use Xcode 10.3, I should probably take a step back and make sure I really want Catalina rather than Mojave.
This laptop is totally clean, with nothing on it except what I've done here, so switching is easy and painless. So since I'm in a position where I can use whichever OS would make things easiest, which would you recommend?
-
@Mike-Greene Mojave - every time -- in fact Windows 10 is easily the best install and run HISE scenario...
-
@Mike-Greene said in Build fail - Semantics: "Reference to ‘Point’ is ambiguous":
now I wonder if I should have started with Mojave instead of Catalina.
I'm using Catalina on an unsupported 2010 mac mini. Projucer from JUCE website and xcode 11.
All is working well here. -
Victory! Per Lindon's suggestion, I wiped the drive and installed Mojave, Xcode 10.3 and the newest IPP, then did all the steps, and I now have a Standalone version working.
I'm getting an error with the Plugin version, though. Not a big deal, since the standalone version is all I care about right now, but still, if anyone knows what this is about, the error I'm getting is on this line:
#include "pluginterfaces/vst2.x/aeffect.h"The error is 'pluginterfaces/vst2.x/aeffect.h' file not found.
I'm thinking VST2 isn't even needed, and in fact, there are some comments above that line that seem to suggest that this is optional. However, I don't see where I would turn that off. My guess is in Projucer, but I don't see a tab for "Don't use VST2."
-
@dustbro said in Build fail - Semantics: "Reference to ‘Point’ is ambiguous":
I'm using Catalina on an unsupported 2010 mac mini. Projucer from JUCE website and xcode 11.
All is working well here.Your ninja skills are way beyond mine if you got a 2010 Mac Mini to let you install Catalina. ;-)
-
@Mike-Greene I got that error building the plugin too. I'll make a quick video later today to explain the solution, if someone doesn't post it before me.
-
Actually I can do this without a video.
Open the .jucer file for the plugin version in Projucer.
Go through each of the modules in the menu at the left side.
Look at the path entries for Xcode, Visual Studio 2017, and Linux Makefile.
If any of those paths are red it means it's incorrect. You need to set those incorrect paths to
../../
Next, make sure that the VST (Legacy) SDK Folder path is set in the Exporters section. This should point to
the HISE source code folder/tools/SDK/VST3 SDK
- or wherever you've put the VST SDK.After you've done this just save the project, open in IDE, and rebuild.
-
Thanks David! That did the trick.
One thing for any other newbies who may read this thread- when setting the path for the Xcode (MacOSX) >> VST (Legacy) SDK Folder, it was easier to click the "..." browser button, rather than typing the address (which I kept getting wrong.) That's what led me to see that file path needed to be written as:
../../tools/SDK/VST3 SDK
rather than:
HISE-master/tools/SDK/VST3 SDKAlso, Xcode annoyingly keeps displaying yesterday's fail, without any indication it's starting a new process. When I ran it today, that's what it displayed, so at first, I thought I failed again. It had a time stamp at the top from yesterday, mind you, but still, it was confusing and I couldn't clear it. It took a minute or so before I could tell it was running (I thought it wasn't at first) and eventually gave me a Success indication. So all is well, but for other newbies, it's something to be aware of.
Also a new thing I learned - In Projucer, it's when a path is red that we have an error. In David's video, he mentions checking the Modules, but they were all fine, so I wasn't sure what we were looking for that might indicate anything was bad. Now I know it's red paths that I'm looking for.
I'm slowly gettin' it. ;)
-
Reviving this old topic:
As a first step in diving into HISE, I'm trying to Compile the latest HISE but when compiling HISE Standalone I get the same error that started this topic:
HISE/hi_tools/hi_tools/HI_LookAndFeels.h:121:16: Reference to 'Point' is ambiguous
I'm on macOS Monterey (12.0.1), Intel Core i9, running Xcode Version 13.2.1, with the master HISE Git branch.
Downgrading the whole operating system and Xcode is hardly an option. Isn't there some way to circumvent this error with my current setup?
-
@bthj Use the develop branch.
-
@d-healey now I was able to build the develop branch
-
@bthj I've been trying out the freshly compiled HISE instance while starting to go through the documentation and tutorials; PhaseWizard and MusicBox. There are some differences in the user interface and I actually used the precompiled (2018) release for the PhaseWizard. It's normal that the GUI evolves but there are some strange things in my compiled version, so I'm wondering if I did something wrong in the compilation process or if I should have worked from the "plugin" Projucer rather than "standalone"? - like there are no toolbar items for switching between workspaces; if I double click a script file, an empty grey window pops up; and there is no "View -> Add Interface preview" menu option.
-
@bthj When you compile it will use the version of the source code you have, if that's different to the binary you're using to build your project you will get weird results.
-
@d-healey if I choose "File -> Create new Project folder", then those workspace toolbar items and the "Add Interface preview" menu item are still missing. Maybe just GUI changes to be expected? - but I do like the free-floating interface preview window in the old build.
-
@bthj I can't remember the old version, those days are gone. But you can get a preview by clicking the house icon in the latest version.
-
@d-healey When starting a new project, I clicked the house icon and when choosing an interface size, the application crashed. Upon reopening, some arbitrary (default?) layout size is in effect and pressing the house button again now shows the interface preview, but not the option of defining a new size. How could I redefine the layout size for this project?
Still not sure about the quality of this build I did:
What is the difference between builds made from
"projects > standalone > HISE Standalone.jucer"
and
"projects > plugin > HISE.jucer"
? -
@bthj said in Build fail - Semantics: "Reference to ‘Point’ is ambiguous":
I clicked the house icon and when choosing an interface size
I didn't even know you could still do that. I think it's a bug, an interface script is added by default to new projects so there should be no need for this extra step. If you don't see a default interface script go to File >> New.
How could I redefine the layout size for this project?
At the top of the interface script you can set the size
Content.makeFrontInterface(600, 600)
"projects > standalone > HISE Standalone.jucer"
and
"projects > plugin > HISE.jucer"The first one builds a standalone application, the second one builds a VST or AU plugin. 99% of the time you want the first one.
-
@d-healey Thanks, now I can change the size
(selecting preset sizes for different form factors under the house icon on initial project launch was interesting, even though it resulted in a crash).Out of curiosity, what 1% use cases are there for the plugin build of HISE?
-
Out of curiosity, what 1% use cases are there for the plugin build of HISE?
Two I can think of are:
Debugging a problem that only presents itself in a plugin.
Testing features that are only useful when the project is being run as a plugin. -
@bthj multi channel instruments can only be built with HISE plugin version.