Hey,

I have been off from using the heavy compiler for a moment. I noticed there is a new commands for using the heavy. I am just getting a bit trouble with them. I am trying these commands which are here: https://learn.bela.io/tutorials/pure-data/advanced/using-the-heavy-compiler/

But for some reason I run into error all the time. I get this message:

"---MacBook-Pro scripts % ./build_pd_hvcc.sh  ../Desktop/kokeilu/28_9_23_looper_oneamp/_main.pd -c "-p 64" -p looper_oneamp__1.0_2023
  1) Error hvcc: Unknown input path /Users/jukkakaariainen/Bela/Desktop/kokeilu/28_9_23_looper_oneamp/_main.pd

I am sorry I am really noob with terminal so this is probably really small thing. I couldn't figure out myself what would be the correct way to type the command. any help appreaciated, thanks!

/Users/jukkakaariainen/Bela/Desktop/kokeilu/28_9_23_looper_oneamp/main.pd

Bela/Desktop looks wrong, try Desktop/Bela instead

    giuliomoro

    Hi thanks for answering!

    Actually the destination is right. I have Bela folder in my "users" folder.
    So If I write out the complete path the command gives me this error:

    jukkakaariainen@Jukka-MacBook-Pro scripts % ./build_pd_hvcc.sh Users/jukkakaariainen/Desktop/kokeilu/28_9_23_looper_oneamp/_main.pd -c "-p 64" -p looper_oneamp__1.0_2023
    1) Error hvcc: Unknown input path /Users/jukkakaariainen/Bela/scripts/Users/jukkakaariainen/Desktop/kokeilu/28_9_23_looper_oneamp/_main.pd

    I am just wondering how I state the input folder of the main.pd because now it seems that the script command is joining to the path which my main.pd patch should be.
    **For some reason the forum is getting rid of low dash in the path for the main.pd

      Jukkapoika /build_pd_hvcc.sh Users/jukkakaariainen/

      you are missing the / in front of Users. Try:

      ./build_pd_hvcc.sh /Users/jukkakaariainen/Desktop/kokeilu/28_9_23_looper_oneamp/_main.pd -c "-p 64" -p looper_oneamp__1.0_2023

      A workflow that might fit you better:

      • open the terminal in the appropriate folder and type ./build.sh -c "-p 64" -p looper_oneamp__1.0_2023 including the trailing space. Do not hit enter.
      • browse in the finder for your _main.pd
      • drag and drop _main.pd onto the terminal . This should fill in the command line with the full path to the file
      • hit enter