Mojo Error: Unable to find suitable c++ compiler for linking
When following this tutorial in WSL (https://docs.modular.com/mojo/manual/get-started/) I am getting an error when running mojo build in part 2. Has anyone run into something similar?
Get started with Mojo | Modular
Install Mojo and learn the language basics by building a complete Mojo program
3 Replies
Try installing clang.
@Darkmatter after installing clang (along with re-initializing the project) I’m now getting:
c++: error: linker command failed with exit code 1
Mojo: error: failed to link executable
The fix can be found here: https://github.com/modular/mojo/issues/3517. Additional dependencies need to be installed.
GitHub
Issues · modular/mojo
The Mojo Programming Language. Contribute to modular/mojo development by creating an account on GitHub.