Bunch of file path errors when building HISE - separate drive?
-
So I'm a complete newb at code in general, but I really love learning about it so far. So the extra details of my learning will be in Italics, just in case it's important. Feel free to skip.
I watched many tutorials lol and really tried understanding what I was doing and why. I made a virtual instrument :) It's not pretty yet lol but it works :) yay! I go to export it, and through my google searches, realize that I missed the very important step of actually building HISE…. K lesson learned lol. I watch and follow David Healey's "Building HISE on Windows 2022".
At 6:49, he says: "rule number one of heist development is to never have more than one copy of the source code on your system at a time".
Ummm. Did I break this rule? By running the program without building, and then following this tutorial to build it?My other & main theory for why it's not working, is that I have HISE on an external drive. I'm just really hoping this is fixable without having to move HISE to my main drive. This is what I have tried to mitigate the last few nights, I think I've made progress lol.
Following that tutorial:
Extracting the VST3 and ASIO ASKs - Check! But it was already done, I think because I clicked the Export Setup Wizard earlier, and when that didn't work, I started this tutorial. But I did it again just in case.
Projucer - I used standalone (he said 99% of the time use this lol)
Ignore incorrect paths? I don't think I should in my case lol
I changed the following in Global Paths:
- Path to JUCE: D:\DAW\HISE\JUCE
- JUCE Modules: D:\DAW\HISE\JUCE\modules
Enable IPP - add "USE_IPP=1" to Extra Prprocessor Definitions
Use IPP Library - Yes (default Linking)
(deprecated) Use IPP Library in the video is set to Single-Threaded Static Library, but mine was on No, so I changed it too? Hope that was right…?
Hi-core - Use_IPP - Enabled
File - Save Project and Open in IDE!In IDE VS2022
Retarget Solution
Build SolutionAaaaaand Errors galore :(
the Main/reoccurring error I got was:
D:\DAW\HISE\hi_tools\hi_tools\PostGraphicsRenderer.cpp(42,10): error C1083: Cannot open include file: 'ippcv.h': No such file or directory [D:\DAW\HISE\HISE Projects\Minecraft Noteblock\Binaries\Builds\VisualStudio2022\Minecraft Noteblock_SharedCode.vcxproj]
With 'ippcv.h' being also 'ippcore.h' and 'ippcore_tl.h'So I googled it - Found this post https://forum.hise.audio/post/30878
So I do that, but slightly different (I explored every path):
Header Search Paths:
C:\Program Files (x86)\Intel\oneAPI\ipp\2022.2\include\ipp
Extra Library Search Paths:
C:\Program Files (x86)\Intel\oneAPI\ipp\2022.2\libClean Build
Retarget Solution
Build SolutionFinally! It builds!
So I open it up, Export my virtual Instrument, aaaand the same errors from before, but now when I export in HISE.
So I go back and read the rest of the forum post (I know I should have done that to start lol)
The second half of the solution (slightly changed for my situation):
Extra Linker Flags:
"C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\ippi.lib"
"C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\ipps.lib"
"C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib\ippvm.lib"Clean Build
Retarget Solution
Build SolutionOpen HISE
System Error: The code execution cannot proceed because ipps.dll was not found. Reinstalling the program may fix this Problem.So I go looking for that file and found it in: C:\Program Files (x86)\Intel\oneAPI\ipp\latest\bin
This is where I'm lost, I tried adding that path to a few places, all to no avail.
I know it's probably something really simple, but I have been learning about this stuff for the first time over the last week, and this is where my knowledge on how to move forward stops lol I really have tried, but I'm out of ideas. I would love to be pointed in the right direction. I did try most of the suggestions in this page (https://www.technorms.com/87064/the-code-execution-cannot-proceed) in case it was a similar solution, but that didn't work. Except number 3. I just couldn't get it to work. It kept saying "The module "ipps.dll" failed to load". So then I found this (https://stackoverflow.com/questions/4508012/unable-to-register-dll-using-regsvr32) which also isn't quite the solution because this project works with x86? I don't know, I'm guessing at this point lol
Extra Fluff: I'm making a Minecraft Noteblock Virtual Instrument based off "https://github.com/OpenNBS" :D Turns out, I can't find a minecraft vst, so…. I wanted to learn to make one :)
Thank you so much for you time :)
-
Delete all copies of HISE and the HISE source code on your system and start over.
Some of the stuff I said about IPP is out of date as of last week. All you need to do now is install IPP (OneAPI) and it will work, you don't need to add anything in Projucer for it.
Is Visual Studio 2022 installed on your C drive?
You shouldn't need to retarget the project if you're using VS 2022.
Go with this video (but ignore the Projucer stuff about IPP)
-
oh my gosh, I had to try a few times lol but it works! I think lol for now. Thank you so much for the new video!
Some of the stuff I said about IPP is out of date as of last week.
So from that newest video, it sounds like I don't need IPP? and that If I want, I could use FFTW, but it's still not needed? I thought I read somewhere that IPP was needed for virtual instruments?
Is Visual Studio 2022 installed on your C drive?
yes
I ended up uninstalling it and building HISE without IPP... and it's working for now so..... yay? lol
If I mess up (which I have many times since I still can get it to work), how far back to I have to go? All the way back from deleting everything and clone from git again? Or go back and clean build? I've been going all the way back every time... it's been more than 5 times lol
Thanks again so much :)
-
@MooMar said in Bunch of file path errors when building HISE - separate drive?:
So from that newest video, it sounds like I don't need IPP? and that If I want, I could use FFTW, but it's still not needed? I thought I read somewhere that IPP was needed for virtual instruments?
You don't need IPP, it helps though if you're using convolution reverb and for a few other things.
FFTW is an alternative, but only suitable for open source projects.
@MooMar said in Bunch of file path errors when building HISE - separate drive?:
If I mess up (which I have many times since I still can get it to work), how far back to I have to go? All the way back from deleting everything and clone from git again? Or go back and clean build? I've been going all the way back every time... it's been more than 5 times lol
It depends on how badly you mess up. As long as you only have one copy of the source code at any time you shouldn't have to start from scratch.
-
ok sweet!
Thank you so so much! I really appreciate all your help and all your amazing tutorials :) It all officially works! Now to make it look pretty lol