Forum

    • Register
    • Login
    • Search
    • Categories

    Linking error (Undefined symbols) when compiling an instrument

    General Questions
    4
    10
    269
    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.
    • Brian
      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 🙏🏽

      1 Reply Last reply Reply Quote 0
      • meyerkeys
        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 Korneff
          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

          Brian meyerkeys 2 Replies Last reply Reply Quote 0
          • Brian
            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 Hart
              Christoph Hart last edited by

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

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

                @dustbro yes, support 32bit is unchecked.

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

                  @Christoph-Hart yes. ProjectFolder/RSA.xml

                  1 Reply Last reply Reply Quote 0
                  • Christoph Hart
                    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.

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

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

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

                        18
                        Online

                        985
                        Users

                        6.6k
                        Topics

                        60.9k
                        Posts