Trying to compile the develop branch....
-
Ok so I deleted HISE from my system (a slightly unsettling moment) and reinstalled from the latest develop commit.
I ignored Projucers complaints about the HISE path not being set, and there being a newer version of JUCE to install.
Now Projucer is no longer complaining about failing to find the JUCE modules - so that's progress.
But... when I compile I get the same errors I did at the start, which all look like errors in the HISE source code - but that cant be correct can it? It seems VS2017 is finding all the files it needs to find but doesnt like the contents of
snex_indextypes.h- perhaps there is a more reliable earlier commit I could use? Can someone point me at such a beast?
-
@lindon Maybe the version of Projucer is wrong (I haven't tested on Windows yet). What version do you get with the develop branch?
-
@d-healey said in Trying to compile the develop branch....:
@lindon Maybe the version of Projucer is wrong (I haven't tested on Windows yet). What version do you get with the develop branch?
I see this when I ask:
-
Well I'm not getting any further with this...
Can anyone confirm they have built the latest develop branch on windows?
-
@lindon Confirmed : Latest commit of dec. 22 builds just fine. Until you solve the issue, I can send you the built version if you want to try it...
-
@matt_sf thanks for the offer but i have a fairly high tempo build cycle for the plugins so having a HISE that works but where I cant build my own products inst really much help to me...
sigh, OK well maybe its the zip thats not correct - let me go try the git based install - is there a helpful @d-healey video covering this specifically I wonder...
edit; oh there it is:... https://www.patreon.com/posts/git-version-59469186
-
...sadly no, its not the zip. So I git cloned HISE and branch(ed) to develop and unpacked the SDKs and ran a compile(ignoring projucers complaints).
I get the same output - syntax problems in snex_indextypes.h
1>c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64): error C2825: 'IndexType': must be a class or namespace when followed by '::' (compiling source file ....\JuceLibraryCode\include_hi_dsp_library_01.cpp)
Can someone point me at a recent commit that reliably works on Windows?
-
@lindon I'll test develop branch on my Windows system in an hour and let you know what I find out.
-
@d-healey said in Trying to compile the develop branch....:
@lindon I'll test develop branch on my Windows system in an hour and let you know what I find out.
thanks mate..
-
@lindon It compiled for me without issue. I downloaded the latest develop (via zip file). The only change I made was to disable IPP. Also I'm using Visual Studio 2019 but that shouldn't make any difference.
-
@lindon Also, HISE is compiling here on VS17 with IPP
-
Well I'm at a complete loss what to do now....
@Christoph-Hart - any ideas?
-
this is what the Visual Studio 2017 page looks like in Projucer:
does that look OK?
-
@lindon yes it looks the same here
-
@lindon Yes the only thing different is you had to change your module paths. Do you have any other versions of HISE source or JUCE on the system?
-
OK all (but one) of my errors are
c:\hise\hi_dsp_library\snex_basics\snex_indextypes.h(64)
and line 64 is:
return IndexType::canReturnReference();
the other error is probably giving me a better clue:
c:\hise\hi_snex\snex_library\snex_jit_wrappertypelibrary.cpp(1213): error C2672: 'snex::Types::index::Helpers::canReturnReference': no matching overloaded function found (compiling source file ....\JuceLibraryCode\include_hi_snex.cpp)
so that like looks like this:
INSERT(1);
which doesn't look like it right at all...
so perhaps I'm not pointing at the correct source code somehow...
-
...and now i cant even build master - I am getting:
1>c:\hise\projects\standalone\jucelibrarycode\include_hi_dsp_library_01.cpp(9): fatal error C1083: Cannot open include file: 'hi_dsp_library/hi_dsp_library_01.cpp': No such file or directory 1>c:\hise\projects\standalone\jucelibrarycode\include_hi_dsp_library_02.cpp(9): fatal error C1083: Cannot open include file: 'hi_dsp_library/hi_dsp_library_02.cpp': No such file or directory
and
1>c:\hise\projects\standalone\jucelibrarycode\include_hi_modules_07.cpp(9): fatal error C1083: Cannot open include file: 'hi_modules/hi_modules_07.cpp': No such file or directory 1>include_hi_rlottie_1.cpp 1>c:\hise\projects\standalone\jucelibrarycode\include_hi_rlottie.cpp(9): fatal error C1083: Cannot open include file: 'hi_rlottie/hi_rlottie.cpp': No such file or directory 1>c:\hise\projects\standalone\jucelibrarycode\include_hi_rlottie_1.cpp(9): fatal error C1083: Cannot open include file: 'hi_rlottie/hi_rlottie_1.cpp': No such file or directory
which makes me think theres a path problem somewhere...
-
@lindon said in Trying to compile the develop branch....:
which makes me think theres a path problem somewhere...
Definitely smells like you have multiple copies of the source code.
-
@d-healey - yep that's what I thought too.. so I went through the entire system - and couldn't find anything -
then I deleted the C:\HISE folder and re cloned it from github...
Stayed in master branch and tried a build which has just finished and worked OK...so fingers crossed this has resolved the mixed up paths...
Now to try develop....
-
OK an odd moment with the forum there..
so when I try and checkout the develop branch it tells me this:
$ git checkout develop error: Your local changes to the following files would be overwritten by checkout: projects/standalone/HISE Standalone.jucer projects/standalone/JuceLibraryCode/AppConfig.h projects/standalone/JuceLibraryCode/JuceHeader.h Please commit your changes or stash them before you switch branches. Aborting
which I think are the auto written files from teh last build of develop no?
so I should be able to stash these (even tho I wont use them) and continue?