Instrument compiling error on Mac



  • Hey guys,
    I managed to sort quite a number of hurdles getting HISE compiled on Mac and exporting my instrument plugin. I almost made it to the end šŸ™‚ I got the following error msg:

    āŒ  /Volumes/AUDIO TEMPORARY/HISE PROJECTS/Hise VST- Handy Drums/Binaries/Source/Plugin.cpp:6:69: no member named 'impulses' in namespace 'PresetData'
    
    DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
                   ^
    
    
    
    āŒ  /Volumes/AUDIO TEMPORARY/HISE PROJECTS/Hise VST- Handy Drums/Binaries/Source/Plugin.cpp:6:91: no member named 'impulsesSize' in namespace 'PresetData'
    
    DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::AudioFiles, PresetData::impulses, PresetData::impulsesSize);
                                                                                                           ^~~~
    
    
    
    āŒ  /Volumes/AUDIO TEMPORARY/HISE PROJECTS/Hise VST- Handy Drums/Binaries/Source/Plugin.cpp:7:65: no member named 'images' in namespace 'PresetData'
    
    DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
                                                                                                                 ^~~~
    
    
    
    āŒ  /Volumes/AUDIO TEMPORARY/HISE PROJECTS/Hise VST- Handy Drums/Binaries/Source/Plugin.cpp:7:85: no member named 'imagesSize' in namespace 'PresetData'
    
    DEFINE_EMBEDDED_DATA(hise::FileHandlerBase::Images, PresetData::images, PresetData::imagesSize);
                                                                                                           ^~~~
    
    
    ā–ø Compiling CopyProtection.cpp
    ā–ø Compiling BinaryData.cpp
    ** BUILD FAILED **
    
    
    The following build commands failed:
    	CompileC /Volumes/AUDIO\ TEMPORARY/HISE\ PROJECTS/Hise\ VST-\ Handy\ Drums/Binaries/Builds/MacOSX/build/Hise\ VST-\ Handy\ Drums.build/Release/Hise\ VST-\ Handy\ Drums\ -\ Shared\ Code.build/Objects-normal/x86_64/Plugin.o /Volumes/AUDIO\ TEMPORARY/HISE\ PROJECTS/Hise\ VST-\ Handy\ Drums/Binaries/Source/Plugin.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    (1 failure)
    
    

    Any ideas as to the causes of these errors, please?

    Thank you!



  • Hey @Christoph-Hart Any pointers to the cause of this failed compile?



  • Try changing the EmbedAudioFiles property in the HISE settings - the error looks like there's something wrong there.



  • @Christoph-Hart Thanks so much! Yes, that fixed the issue on PC and I expect it will work just as well on Mac. I knew it was some minor thing somewhere .... šŸ˜€


Log in to reply
 

4
Online

453
Users

1.5k
Topics

11.3k
Posts