-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser Error: Could not find type "Synthesizer" in the current scope. #1
Comments
That can happen if the GDExtension is not loaded, either because the compiled version is missing, or there was an issue loading it. The compiled version is not included in the repository, so you need to compile it yourself, using a rust compiler and the instructions in the readme. Can you try it? If you did compile it already, the next thing to check is if Godot reports any errors in the editor's output console. Can you show that? |
Here are the steps I took: https://gyazo.com/b674a0353fdcff59bf4054bb7a6e1864 |
As for errors, it just shows this: I was getting an issue with bash not running, as I'm on Windows 11. Someone else tried to get around this by making this compile-synth.bat instead: :: Compile synth/synth.ts into build/synth/synth.js and dependencies
npx tsc -p tsconfig_synth_only.json || exit /b %ERRORLEVEL%
:: Combine build/synth/synth.js and dependencies into website/beepbox_synth.js
npx rollup build/synth/synth.js ^
--file website/beepbox_synth.js ^
--format iife ^
--output.name beepbox ^
--context exports ^
--sourcemap ^
--plugin rollup-plugin-sourcemaps ^
--plugin @rollup/plugin-node-resolve || exit /b %ERRORLEVEL%
:: Minify website/beepbox_synth.js into website/beepbox_synth.min.js
npx terser ^
website/beepbox_synth.js ^
--source-map "content='website/beepbox_synth.js.map',url=beepbox_synth.min.js.map" ^
-o website/beepbox_synth.min.js ^
--compress ^
--mangle ^
--mangle-props regex="/^_.+/;" || exit /b %ERRORLEVEL% which almost worked but then it couldn't find beepbox_synth.js: |
The text was updated successfully, but these errors were encountered: