HISE Logo Forum
    • Categories
    • Register
    • Login

    perfetto.cc syntax error

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 321 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
      leggy.pouter
      last edited by

      50d33d85-66a4-4b95-a2b6-730a62d5e29d-image.png

      Hi. I recently learned about Hise and am excited to get started. Although I am having some issues with getting it to compile. The file perfetto.cc is, according to my console, full of syntax errors. I have made no modifications.

      One of the things that has me the most excited about Hise I am most excited about is that I'm a Javascript Developer who kinda almost knows a little C++. The ability to use JS in a VST creation process like this is tight. But I'm really not confident in my ability to go in and clean up these .cc files.
      Can anyone help me here or tell me what I did wrong? I changed nothing from the installer. At first glance to me this actually seems like a bug, but also I am totally open to having just missed something.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @leggy.pouter
        last edited by

        @leggy-pouter said in perfetto.cc syntax error:

        Although I am having some issues with getting it to compile

        Are you using the develop branch?
        Are you using VS 2022?

        @leggy-pouter said in perfetto.cc syntax error:

        The ability to use JS

        HISE Script is not JavaScript, although they have a lot in common.

        @leggy-pouter said in perfetto.cc syntax error:

        I changed nothing from the installer.

        The installer is for the prebuilt version of HISE, it should have no effect on compiling your own from source, but just in case I recommend you delete it.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          You can disable Perfetto in the projucer project.

          1. Open /projects/standalone/HISE Standalone.projucer and
          2. go to the Exporter tab and click on the configuration you want to build (it seems you want to build the Debug configuration, but you might want to build the release version for actual usage)
          3. set the preprocessor definition PERFETTO=1 to PERFETTO=0.
          4. Save and open in MSVC
          5. Compile
          Christoph HartC 1 Reply Last reply Reply Quote 1
          • Christoph HartC
            Christoph Hart @Christoph Hart
            last edited by

            But you also have to extract the ASIO SDK - that's another error I can see in the screenshot. tools/SDK, extract that zip.

            boy is that export setup wizard overdue...

            d.healeyD 1 Reply Last reply Reply Quote 1
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart He's not exporting, he's building HISE.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @d.healey
                last edited by

                @d-healey yup I know, but for some reason the Perfetto SDK won't build (it uses some advanced C++20 compiler flags), so this is a guide on how to deactivate this.

                1 Reply Last reply Reply Quote 2
                • L
                  leggy.pouter
                  last edited by

                  @d-healey
                  Yeah I get that it's not vanilla js. But here's from the documentation about how it's essentially JSjs
                  Also I'm not a guy idk why you're calling me he.

                  But Yeah VS code 2022. I actually tried both the installer and the development branch. The installer didn't work at first on my Windows machine but I found another post on here about the same issue and used the work around the was suggested there. That at least opened. I'm wondering if having run the installer and getting it to open in Ableton just to see it before doing the development build got something crossed up. I'm gonna try the other suggestions but this is def on the table as far as the issue goes.

                  @Christoph-Hart good looking out on these. The instructions are a little unclear and I appreciate the tips. I'm at work right now but will try those letter. if it doesn't I'll try just deleting everything across the board and going for it all again.

                  I Appreciate the quick responses

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @leggy.pouter
                    last edited by

                    @leggy-pouter said in perfetto.cc syntax error:

                    Also I'm not a guy idk why you're calling me he.

                    Sorry, automatic assumption since 99% here seem to be male.

                    Yeah the installer shouldn't affect you building it from source, the installer just gives you a prebuilt version of HISE.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 1
                    • L
                      leggy.pouter
                      last edited by

                      Ay it's working! Thank you!!

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

                      12

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      103.0k

                      Posts