HISE Logo Forum
    • Categories
    • Register
    • Login

    Linking error (Undefined symbols) when compiling an instrument

    Scheduled Pinned Locked Moved General Questions
    10 Posts 4 Posters 921 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.
    • BrianB
      Brian
      last edited by Brian

      After having spent a few hours troubleshooting it seems that the instrument I am building has an error when trying to build the instrument using the very latest HISE scriptnode version on OSX Mojave and Xcode 10.1:

      ▸ Linking atma\
      
      ❌  Undefined symbols for architecture x86_64
      > Symbol: hise::Unlocker::Unlocker()
      > Referenced from: hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*) in lto.o
      
      
      
      ❌  ld: symbol(s) not found for architecture x86_64
      
      
      
      ❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      
      ** BUILD FAILED **
      
      
      The following build commands failed:
      	Ld /Users/briandoliveira/Documents/ATMA/Bruitage-master/Binaries/Compiled/atma\ 210.app/Contents/MacOS/atma\ 210 normal x86_64
      (1 failure)
      Compiling finished. Cleaning up...
      logout
      Saving session...
      ...copying shared history...
      ...saving history...truncating history files...
      ...completed.
      
      [Process completed]
      

      After much googling and searching forums, this seems to be a C++ resource mismatch with the "hise::Unlocker::Unlocker()" callback, so if anybody knows how this can be worked out ( and defined ) it would be super appreciated :folded_hands_medium_skin_tone:

      1 Reply Last reply Reply Quote 0
      • meyerkeysM
        meyerkeys
        last edited by

        exact same thing here with Catalina and Xcode 11.3.1 .. help on this would be awesome.

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          I'm able to compile VST and VSTi on Catalina + Xcode 11.3

          Do you have "support 32bit OS" unchecked in your HISE preferences?

          Dan Korneff - Producer / Mixer / Audio Nerd

          BrianB meyerkeysM 2 Replies Last reply Reply Quote 0
          • BrianB
            Brian @Dan Korneff
            last edited by

            @dustbro @meyerkeys on my side the only way I was able to get around it was to completely rebuild the project from scratch and load a HISE snippet from the bugged version. You just have to make sure to copy any assets over from the old project to make sure you keep all images etc.

            1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              Do you have a RSA.xml file in your old project?

              meyerkeysM 1 Reply Last reply Reply Quote 0
              • meyerkeysM
                meyerkeys @Dan Korneff
                last edited by

                @dustbro yes, support 32bit is unchecked.

                1 Reply Last reply Reply Quote 0
                • meyerkeysM
                  meyerkeys @Christoph Hart
                  last edited by

                  @Christoph-Hart yes. ProjectFolder/RSA.xml

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by Christoph Hart

                    Delete it, you‘ve accidently turned on copy protection without having the additional code files used by the license server.

                    BrianB meyerkeysM 2 Replies Last reply Reply Quote 3
                    • BrianB
                      Brian @Christoph Hart
                      last edited by

                      @Christoph-Hart 🙏🏽🙏🏽🙏🏽 thanks for the insight!

                      1 Reply Last reply Reply Quote 0
                      • meyerkeysM
                        meyerkeys @Christoph Hart
                        last edited by

                        @Christoph-Hart thanks a lot Master Hart! After deleting it the file the building works.

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

                        31

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.0k

                        Posts