HISE Logo Forum
    • Categories
    • Register
    • Login

    Error in visual studio when building hise

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

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

      Did you clean the build?

      Yes

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

      What's is D:\Development\Project? Is that a folder on your system?

      No it is not
      D.png

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

        @pcs800 After switching commits did you open the projucer project again and resave and open in IDE?

        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:

          After switching commits did you open the projucer project again and resave and open in IDE?

          Yes

          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:

            Did you clean the build?
            

            Yes

            And this was after you reopened visual studio after changing commits?

            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:

              And this was after you reopened visual studio after changing commits?

              Yes, but i can do it all again on video and show you if you'd like

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

                I'm looking at the HISE source code and that line about the NKS thing was actually added 4 months ago, so it's possible it's not a problem with the version of the source code you have but something entirely different.

                What is the exact path to Visual Studio on your system?

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

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

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

                  What is the exact path to Visual Studio on your system?

                  C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE

                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            32

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            104.9k

                                            Posts