HISE Logo Forum
    • Categories
    • Register
    • Login

    Trying to compile the develop branch....

    Scheduled Pinned Locked Moved General Questions
    49 Posts 3 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by Lindon

      @d-healey

      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?

      HISE Development for hire.
      www.channelrobot.com

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by Lindon

        @lindon - nope, getting this again:

        1>c:\hise\projects\standalone\jucelibrarycode\include_hi_dsp_library.cpp(9): fatal error C1083: Cannot open include file: 'hi_dsp_library/hi_dsp_library.cpp': No such file or directory
        

        and all the indexType errors again too...

        HISE Development for hire.
        www.channelrobot.com

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Lindon
          last edited by

          @lindon Did you delete the master branch source that you built previously?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey nope should I?

            HISE Development for hire.
            www.channelrobot.com

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Lindon
              last edited by

              @lindon Yes, definitely. Only one copy of the source per system, dems da rulez

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey -but the develop branch overwrites the master branch when I say

                git checkout develop

                doesnt it?

                HISE Development for hire.
                www.channelrobot.com

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Lindon
                  last edited by

                  @lindon Oh I didn't realise you were using git. In that case it's fine, that follows the rule. Did you resave the .jucer file after switching branches and clean the build folder before recompiling?

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey - hm I resaved the jucer with

                    Save Project and open in IDE...

                    but I didnt clean the build folder....

                    HISE Development for hire.
                    www.channelrobot.com

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lindon
                      last edited by

                      @lindon said in Trying to compile the develop branch....:

                      but I didnt clean the build folder....

                      Do that from within VS before building.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @d.healey
                        last edited by

                        @d-healey within VS?

                        Whats the command to do that?

                        HISE Development for hire.
                        www.channelrobot.com

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Lindon
                          last edited by

                          @lindon It's in the build menu, it's called something like "clean project" or "clean solution"

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @d.healey
                            last edited by

                            @d-healey

                            OK did that - nope still failing with:

                            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)
                            

                            HISE Development for hire.
                            www.channelrobot.com

                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Lindon
                              last edited by

                              @lindon When you switched branch did it change to the newer projucer version?

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey yes.

                                HISE Development for hire.
                                www.channelrobot.com

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Lindon
                                  last edited by

                                  @lindon I have a dude doing some electrical work at the moment so I'll be without power for a bit but I can get on a call with you later this afternoon and see if we can figure out what's going on if you like.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  LindonL 1 Reply Last reply Reply Quote 0
                                  • LindonL
                                    Lindon @d.healey
                                    last edited by

                                    @d-healey yep that'd be good - thanks mate. Let me know when you are free...

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    LindonL 1 Reply Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @Lindon
                                      last edited by

                                      @lindon - well I reverted to master and that will compile correctly....but branch(ing) to develop gives me all these IndexType errors again....

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @Lindon
                                        last edited by

                                        @lindon well the problems continue....

                                        I removed VS2017 and installed Vs2019, and then I needed to install an SDK 10.0.16xxx to get the release project to compile, but now as soon as I laod my MAJO|R project (4 samplers) it does this:

                                        acd4c63e-7db6-4cfa-b78a-e1d93aeb36a2-image.png

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        LindonL 1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @Lindon
                                          last edited by

                                          @lindon - OK uninstalled 2019 and re-installed 2017 and I can get the Release to build, but when I load my project HISE just crashes, built the debug version - load my project and HISE just hangs...

                                          This has become deeply depressing...close to giving up.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @Lindon
                                            last edited by d.healey

                                            @lindon There is something in your project that is not compatible with the dev branch, this is to be expected with a complex project, I had a few projects that wouldn't open without a bit of tweaking. It's usually something really simple.

                                            Open your main script in a text editor and comment out almost everything. The project should open, if it doesn't then the problem isn't with your script. If it does open, start uncommenting stuff until the problem appears.

                                            If you want to use a more professional approach you could debug it in visual studio, but who wants to do that :p

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

                                            LindonL 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            36

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts