HISE Logo Forum
    • Categories
    • Register
    • Login

    Error in visual studio when building hise

    Scheduled Pinned Locked Moved General Questions
    61 Posts 3 Posters 837 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.
    • d.healeyD
      d.healey @d.healey
      last edited by

      Do you have this in the extra definitions in Projucer HISE_INCLUDE_NKS_SDK=1?

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

      pcs800P 1 Reply Last reply Reply Quote 0
      • pcs800P
        pcs800 @d.healey
        last edited by

        @d-healey said in Error in visual studio when building hise:

        Do you have this in the extra definitions in Projucer HISE_INCLUDE_NKS_SDK=1?

        Where is that located in projucer?

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

          @pcs800

          The box labelled "Extra Preprocessor Definitions"

          0e4f7002-1c15-4b9a-a7b2-daa76ea11fa9-image.png

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

          pcs800P 1 Reply Last reply Reply Quote 0
          • pcs800P
            pcs800 @d.healey
            last edited by

            @d-healey projucer.png

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

              @pcs800 Strange, for some reason it's trying to include the nks wrapper...

              Try adding HISE_INCLUDE_NKS_SDK=0 in that section.

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

              pcs800P 1 Reply Last reply Reply Quote 0
              • pcs800P
                pcs800 @d.healey
                last edited by

                @d-healey
                I added it, and did a debug build after cleaning.
                It succeeded! I am trying a release build now.

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

                  @pcs800 said in Error in visual studio when building hise:

                  I added it, and did a debug build after cleaning.

                  That's good. No idea why it's trying to include that file though, very strange.

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

                  pcs800P 1 Reply Last reply Reply Quote 0
                  • pcs800P
                    pcs800 @d.healey
                    last edited by

                    @d-healey Well now you know, for the next guy who gets stuck in this loop.
                    So does this mean I can switch to the latest commit?

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

                      @pcs800 said in Error in visual studio when building hise:

                      So does this mean I can switch to the latest commit?

                      You can try it, github says it's not building though. But if it doesn't work, just switch back to the commit that works.

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

                      pcs800P 2 Replies Last reply Reply Quote 0
                      • pcs800P
                        pcs800 @d.healey
                        last edited by

                        @d-healey Nah, I will stay with this one. It works, and I need to get to work on why I came in here today in the first place.
                        I appreciate you sticking with me on this David. You're a saint ;-)
                        Release build successful, BTW

                        1 Reply Last reply Reply Quote 1
                        • pcs800P
                          pcs800 @d.healey
                          last edited by

                          @d-healey
                          Ok, I opened a project with this new build of hise and when I went to export the plugin, it told me to set the source code path. So I went to Export>export wizard.
                          Set the path to Documents/Hise
                          It downloaded, extracted, etc. All was well.
                          Then I went to export the plugin again and got this
                          2025-07-01_135125.png
                          After I clicked ok, I had it build the vst3, which gave a load of errors.
                          I didn't screenshot them, but I can do it again if you need to see them.

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

                            @pcs800 said in Error in visual studio when building hise:

                            It downloaded, extracted, etc. All was well.

                            Yeah I hate that wizard, it needs work.

                            So thanks to it you now have two copies of the HISE source code on your system. Delete the one it downloaded.

                            Go to HISE preferences and set the HISE path to the version you downloaded earlier.

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

                            pcs800P 2 Replies Last reply Reply Quote 0
                            • pcs800P
                              pcs800 @d.healey
                              last edited by

                              @d-healey I do not think there are two copies. I told the wizard to use the folder Documents/Hise, which is where I cloned to in the first place.
                              I'll look around though

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

                                @pcs800 said in Error in visual studio when building hise:

                                I told the wizard to use the folder Documents/Hise, which is where I cloned to in the first place.

                                Well the error is saying the version of HISE you have doesn't match the version of the source code you're trying to build with. So that probably means it downloaded the develop branch and overwrote the files you already had. - git log to confirm.

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

                                pcs800P 1 Reply Last reply Reply Quote 0
                                • pcs800P
                                  pcs800 @d.healey
                                  last edited by

                                  @d-healey path issue.png

                                  1 Reply Last reply Reply Quote 0
                                  • pcs800P
                                    pcs800 @d.healey
                                    last edited by

                                    @d-healey
                                    Ok, so delete everything, download may 30 and rebuild. Then set the path in settings and throw the wizard out?

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

                                      @pcs800 Na just git checkout the commit again and you should be good to go.

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

                                      pcs800P 1 Reply Last reply Reply Quote 0
                                      • pcs800P
                                        pcs800 @d.healey
                                        last edited by

                                        @d-healey Oh.... too late. I already deleted and redownloaded, etc. Building again now.

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

                                        25

                                        Online

                                        1.8k

                                        Users

                                        12.1k

                                        Topics

                                        105.1k

                                        Posts