HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust and RNBO in the same project?

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 3 Posters 515 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.
    • P
      ps
      last edited by ps

      Hey there,
      I have some RNBO and Faust stuff I want to use in one project. I can compile my dll networks fine if I either use Faust OR RNBO nodes. I compiled the Faust nodes without problem then created the RNBO patch then tried to compile the whole network again and suddenly the Faust nodes are throwing the following error and the build fails. If I remove all the RNBO stuff out of the src it works again but there is no way it compiles the Faust nodes once the RNBO stuff is in the src folder.

      The errors look like that (with different numbers)

      expected unqualified-id
      float fTemp3 = std::floor(fTemp2);

      Any ideas?

      EDIT: if the generated .h RNBO Template file is in there makes the difference the rest doesn't matter.

      1 Reply Last reply Reply Quote 0
      • ForeverLiveF
        ForeverLive
        last edited by

        Hello. I had similar issue. Try to use 2 separate scriptnode networks for RNBO and Faust and then precompile that networks. Restart HISE and use that precompile DLL's in a third script network.

        P 1 Reply Last reply Reply Quote 0
        • P
          ps @ForeverLive
          last edited by

          @ForeverLive Hey there. Thanks for the answer. but I don't fully understand. How do you compile networks separately? Isn't there always one library for all compiled networks per project?

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

            @ps yeah that sounds weird and I can't imagine that this works in the compiled plugin.

            The error looks like some weird interference between the faust and RNBO headers - maybe one of them is not including the standard math library or something.

            If you can make a minimal project that demonstrates this issue, I'll take a look.

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

              @Christoph-Hart ok it obviously worked perfectly fine in a clean new small project. Still it's pretty strange.. I think I deleted a xml network I initially compiled a Faust node in. I still could export the c++ nodes if there was no rnbo node present in the src. I couldn't find a trace anywhere of the deleted xml network but still somehow it's messed up and won't compile even if I delete the whole network binaries folder. is there any way to compile faust nodes independent of script networks like with rnbo nodes. it's super handy especially if you have nodes you often use in different projects.

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

              57

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts