I want to develop makecode extensions based on C++. I have many c++ libraries for arduino and would simply like to port it over with minor changes. I used github and the web browser to develop a simple extension, imported the extension via github url so I can edit the extension in the makecode editor. When I edit the C++ or h hile, any time i make a change it compiles immediately. It takes up to 2 minutes to compile and I can’t stop it. How can prevent this? Using the local builder still compiles the C++ every time I change the code in the browser. Its impossible to develop like this.
The C++ compiler doesn’t provide error messages as well. It will just say there’s an error at ‘base’ and nothing else.
I’m using the web browser (https://maker.makecode.com/#editor). I have installed it locally but its not helpful. If I simply comment out a line of code it will begin to compile on its own immediately. Serving the editor locally results in the same situation. If there is an error in the c code, it doesn’t provide the source of the error (see below).
Modifying C++ in the web browser will generate a request to our cloud compilation service – which will take minute(s) to complete. Instead, you will need to use the PXT command line.
In Windows you need to give permissions to Docker to access the host machine. I think it’s the “shared drives” setting described on this page: https://docs.docker.com/docker-for-windows/