JoshMarler / react-juce

Write cross-platform native apps with React.js and JUCE
https://docs.react-juce.dev
MIT License
763 stars 79 forks source link

missing step in the docs #286

Open mikelange49 opened 2 years ago

mikelange49 commented 2 years ago

Hi.

I struggled building the GainPlugin example. (I must say I'm quite new to cmake) After searching, I finally realized that I had to run the "cmake -B" command from the react-juce folder.

I suggest you add that step, maybe in the "Getting started" doc page.

mepc36 commented 1 year ago

Hey, what is this missing step? I tried to run cmake -B but it didn't work. What is the rest of that command?

keithhetrick commented 1 year ago

Hey @mepc36,

I came across this too – the cmake -B needs to be followed by the name of whichever folder you want to create

I finally got it to demo plugin to run after I ran cmake -B {name-of-folder} followed up by cd {name-of-folder] into that newly created and running make

There should be a folder in the file tree called "GainPlugin_artefacts", and thats where that standalone version of the plugin lives.

After ALL that, then you can start messing around in the React/JS files & see the changes happen after closing & reopening the created ReactJUCEGainPlugin.app

Hope this helps!