trouble with mandelbrot example
Newb here. I've copied code from the mandelbrot example, placing it into the file mandel.mojo, which I've copied here:
https://gist.github.com/nbecker/820a6f740e4bad43bb09a52103d5b19b
When I run
mojo mandel.mojo
I get lots of errors:
This is running on fedora 38 linux, using an ubuntu container.
Any ideas?
3 Replies
Probably you should copy it in main() func
Mpjo needs an entrypoint and this requires main() function
Congrats @gryznar, you just advanced to level 3!
And I think your code is missing some imports, which is causing the "unknown declaration" errors