Skip to content
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

How to include Vult source ? #46

Closed
stephanepericat opened this issue Jan 8, 2022 · 2 comments
Closed

How to include Vult source ? #46

stephanepericat opened this issue Jan 8, 2022 · 2 comments

Comments

@stephanepericat
Copy link

Hi,

When I install the Vult cli with Node.js, and try to compile the sine example with it, I get the following error:

vultc -ccode ./src/vult/sine.vult -o sine
Error: ./src/vult/sine.vult:11:6-15: Unknown function 'Util.edge'
   mem trig;
   if(Util.edge(reset > 0.5)) {
      ^^^^^^^^^

I'm not sure how to include the Vult source code; please advise.

@stephanepericat
Copy link
Author

Never mind; the file was not in the same folder ... sorry!

@modlfo
Copy link
Collaborator

modlfo commented Jan 8, 2022

Alternatively, you can pass the flag -I <dir> to pass other directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants