HISE Logo Forum
    • Categories
    • Register
    • Login

    Error when compiling Standalone App

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 203 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.
    • oskarshO
      oskarsh
      last edited by

      Hey, I am running into this error in Windows now. It happens when trying to create the .lib and .exp files. Tested on a empty new project.

      Creating library .\..\..\Compiled\App\Test1.lib and object .\..\..\Compiled\App\Test1.exp

      include_hi_core.obj : error LNK2001: unresolved external symbol "public: static class juce::String __cdecl hise::Fronte
      ndHandler::getHiseVersion(void)" (?getHiseVersion@FrontendHandler@hise@@SA?AVString@juce@@XZ) [C:\Users\iso\Documents\G
      itHub\Test1\Binaries\Builds\VisualStudio2022\Test1_App.vcxproj]
      .\..\..\Compiled\App\\Test1.exe : fatal error LNK1120: 1 unresolved externals [C:\Users\iso\Documents\GitHub\Test1\Bina
      ries\Builds\VisualStudio2022\Test1_App.vcxproj]
      

      This seems like a HISE internal error.

      Moving forward I have no need for .lib or .exp files is that something we can completly disable?

      breathing HISE

      1 Reply Last reply Reply Quote 0
      • oskarshO
        oskarsh
        last edited by

        Error disappeared after recompiling HISE. I feel like sometimes HISE gets stuck in a specific state that produces a error but its not clear what leads to these errors.

        Anyways consider this solved.

        breathing HISE

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

          @oskarsh

          I feel like sometimes HISE gets stuck in a specific state that produces a error

          Cleaning the build folder often helps

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

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @d.healey
            last edited by

            In this case it was a mismatch between the source code (that defined the FrontendHandler::getHiseVersion() function) and your HISE build which didn't create the respective C++ code in the autogenerated plugin files (this was an addition in one of the more recent commits).

            So always make sure that you're using the same codebase for compiling HISE and the plugin.

            oskarshO 1 Reply Last reply Reply Quote 1
            • oskarshO
              oskarsh @Christoph Hart
              last edited by

              @Christoph-Hart Got it!

              breathing HISE

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

              46

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts