Compilation error (immediately on export)
-
@mindwave it should be wherever you unpacked/downloaded your HISE source code....
-
@Lindon It's the right one then, it gives a little notice when it's the wrong folder which is helpful.
-
-
@Lindon Ok, I select VSTi, then a box pops up saying "Batch File already found - Do you want to rewrite the batch file for the compile process?" Clicking either Ok or Cancel on this then immediately pops up with the Export Error - Compilation error.
-
@mindwave ok start by cleaning up your Build folder
Export>Clean Build Directory
-
@Lindon ok, tried that and still getting the same.
-
@mindwave Have you installed visual studio on your C drive?
-
@d-healey I have, the default location. I'm just doing an update of visual studio and I'm going to delete hise and try and start again from source again. There must be the tiniest of things that's been missed along the way. I'll run through the process again. It's not with the project so it's something with the set up.
-
unfortunately that didn't help.
-
Can you send me your project folder?
-
@d-healey sure, here you go!
https://ln5.sync.com/dl/61444d990#rjpbv4h3-qt8ahm3i-x22qkrhu-rr37e7cb
-
I can't see anything wrong with your project. Have you set the correct version of Visual Studio within HISE preferences? What happens when you manually run the build batch file in the terminal?
-
@d-healey I have visual studio 22 set. How do I manually run the build in terminal?
-
@mindwave In the Binaries folder will be a batchCompile.bat file. Just drag it onto a terminal (cmd) window and hit enter.
-
@d-healey Ahhh.... that didn't work. But just looking at the file structure. I've spotted the issue. I have all my main project work in folders with an underscore at the beginning (just how I've organised my folders forever!). Hise doesn't seem to like that underscore. I've dragged the project folder onto the desktop and it's built! 9 times out of 10 these kind of things are either a checkbox, or a stray underscore or space.
Thank you both for the supportive introduction to the community. I'm looking forwards to the journey ahead and with less underscores.