HISE Logo Forum
    • Categories
    • Register
    • Login

    Removing license related things messed up the export

    Scheduled Pinned Locked Moved Newbie League
    7 Posts 3 Posters 43 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.
    • H
      HIKuukkeli
      last edited by

      Hi,

      In my plugin, there was a license system, where the user would need a serial number to unlock the plugin. I wanted to remove it, so the license dialogue was taken out, but that didn't work on its own, so I removed the definitions USE_COPY_PROTECTION=1 and USE_SCRIPT_COPY_PROTECTION=1. Now I tried to export the plugin on Windows (VST3), and I got an error that seems to say that something is trying to refer to the license, but can't because I took it out. How to fix this? The error is below.

      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: enum hise::OverlayMe
      ssageBroadcaster::State __cdecl hise::DeactiveOverlay::checkLicense(class juce::String const &)" (?checkLicense@Deactiv
      eOverlay@hise@@QEAA?AW4State@OverlayMessageBroadcaster@2@AEBVString@juce@@@Z) [D:\Euren Virtual Instruments\Asgard Samp
      ler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: class juce::var __cd
      ecl hise::Unlocker::isUnlocked(void)const " (?isUnlocked@Unlocker@hise@@QEBA?AVvar@juce@@XZ) [D:\Euren Virtual Instrume
      nts\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: class juce::var __cd
      ecl hise::Unlocker::loadKeyFile(void)" (?loadKeyFile@Unlocker@hise@@QEAA?AVvar@juce@@XZ) [D:\Euren Virtual Instruments\
      Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: virtual class juce::
      OnlineUnlockStatus * __cdecl hise::Unlocker::getUnlockerObject(void)" (?getUnlockerObject@Unlocker@hise@@UEAAPEAVOnline
      UnlockStatus@juce@@XZ) [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampl
      er 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl hise
      ::Unlocker::~Unlocker(void)" (??1Unlocker@hise@@UEAA@XZ) [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Bu
      ilds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_frontend.obj) : error LNK2001: unresolved external symbol "public: __cdecl hise::Unlock
      er::Unlocker(void)" (??0Unlocker@hise@@QEAA@XZ) [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Builds\Visu
      alStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_core.obj) : error LNK2001: unresolved external symbol "public: class juce::String __cde
      cl hise::Unlocker::getProductErrorMessage(void)const " (?getProductErrorMessage@Unlocker@hise@@QEBA?AVString@juce@@XZ)
      [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_core_02.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl h
      ise::Unlocker::resolveLicenseFile(class juce::Component *)" (?resolveLicenseFile@Unlocker@hise@@SAXPEAVComponent@juce@@
      @Z) [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      Asgard Sampler 2.lib(include_hi_core_02.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl h
      ise::Unlocker::showActivationWindow(class juce::Component *)" (?showActivationWindow@Unlocker@hise@@SAXPEAVComponent@ju
      ce@@@Z) [D:\Euren Virtual Instruments\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxpr
      oj]
      .\..\..\Compiled\VST3\\Asgard Sampler 2.vst3 : fatal error LNK1120: 9 unresolved externals [D:\Euren Virtual Instrument
      s\Asgard Sampler 2\Dev\Binaries\Builds\VisualStudio2022\Asgard Sampler 2_VST3.vcxproj]
      
      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @HIKuukkeli
        last edited by

        @HIKuukkeli Did you clean the build after making those changes?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        H 2 Replies Last reply Reply Quote 0
        • H
          HIKuukkeli @d.healey
          last edited by

          @d-healey No, I did not. So I would need to build HISE again with Visual Studio, right?

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

            @HIKuukkeli I don't think you need to rebuild HISE, unless you changed some setting in the HISE .juicer file.

            I was asking about cleaning the build for your project before exporting. Export > Clean Build Directory

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • H
              HIKuukkeli @d.healey
              last edited by

              @d-healey Ah, thank you!

              0 2 Replies Last reply Reply Quote 0
              • 0
                0x7887 @HIKuukkeli
                last edited by

                @HIKuukkeli oh easy remove rsa files in your project

                1 Reply Last reply Reply Quote 1
                • 0
                  0x7887 @HIKuukkeli
                  last edited by

                  @HIKuukkeli 65a0e7f1-5836-413a-9c29-4f55a0c780cf-image.png
                  this one

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

                  25

                  Online

                  2.0k

                  Users

                  12.7k

                  Topics

                  109.8k

                  Posts