HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling SNEX Shaper to DLL? Any scriptnode with SNEX in it fails to compile

    Scheduled Pinned Locked Moved General Questions
    4 Posts 1 Posters 84 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.
    • L
      LozPetts
      last edited by

      I've read Christoph's instructions on this but it's failing - I've created a Scriptnode that is just a SNEX shaper in the stock container. Trying to compile this I get:

      > Create files
      > Sorting include dependencies
      > Creating C++ file for Network snex_shaper
      > Compiling dll plugin
      Re-saving file: /Volumes/RHR Audio/Development/Mosaic/DspNetworks/Binaries/AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      Compiling Mosaic ...
      /Volumes/RHR Audio/Development/Mosaic/DspNetworks/Binaries/batchCompileOSX.sh: line 9: /Volumes/RHR Audio/Development/source/repos/HISE1/tools/Projucer/xcbeautify: Bad CPU type in executable
      ** BUILD FAILED **
      
      
      The following build commands failed:
      	CompileC /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Builds/MacOSX/build/Mosaic.build/Debug/Mosaic\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Mosaic - Dynamic Library' from project 'Mosaic')
      (1 failure)
      

      Is there a setting or something I'm missing here? Following Christophs instructions I get to the point where I need to wrap the SNEX Shaper in a DLL, I try this and get the same error so I'm unable to proceed to the next steps.
      Any ideas?

      Latest HISE build, macOS

      L 1 Reply Last reply Reply Quote 0
      • L
        LozPetts @LozPetts
        last edited by LozPetts

        @LozPetts @Christoph-Hart looking through the GitHub I can see a change a few days ago referencing a fix for DLL and C++ compilation - is that relevant here?

        Also, thanks for adding custom font support in CSS, I got it done with regular LAF in the end but that'll be super helpful in the future!

        L 1 Reply Last reply Reply Quote 0
        • L
          LozPetts @LozPetts
          last edited by

          @LozPetts Updated to the latest commit - same issue

          > Create files
          > Sorting include dependencies
          > Creating C++ file for Network snex_shaper
          > Compiling dll plugin
          Re-saving file: /Volumes/RHR Audio/Development/Mosaic/DspNetworks/Binaries/AutogeneratedProject.jucer
          Finished saving: Visual Studio 2022
          Finished saving: Xcode (macOS)
          Finished saving: Linux Makefile
          Compiling Mosaic ...
          /Volumes/RHR Audio/Development/Mosaic/DspNetworks/Binaries/batchCompileOSX.sh: line 9: /Volumes/RHR Audio/Development/source/repos/HISE1/tools/Projucer/xcbeautify: Bad CPU type in executable
          ** BUILD FAILED **
          
          
          The following build commands failed:
          	CompileC /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Builds/MacOSX/build/Mosaic.build/Debug/Mosaic\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Mosaic - Dynamic Library' from project 'Mosaic')
          	CompileC /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Builds/MacOSX/build/Mosaic.build/Debug/Mosaic\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Volumes/RHR\ Audio/Development/Mosaic/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Mosaic - Dynamic Library' from project 'Mosaic')
          (2 failures)
          
          

          It's literally just a blank scriptnode project with a SNEX shaper in it

          L 1 Reply Last reply Reply Quote 0
          • L
            LozPetts @LozPetts
            last edited by

            @LozPetts So - following the instructions, wrapping the SNEXShaper as it's own DSP Network fails with the same error but does produce a Project.SnexShaper node - placing this in the project, the node says to click it to wrap it and all effects as a DLL to use the node, clicking this also produces the above.
            I've never had any issues with scriptnode before, I've spent all day on this and I'm pulling my hair out

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

            25

            Online

            1.7k

            Users

            11.9k

            Topics

            103.4k

            Posts