Hi, I think that emmake comes with the install of emscripten. I am not sure if it will get installed in the git terminal or not. I’d say, first try to install emscripten on your system as it is recommended by them (emscripten people) and once you’ve gotten it to work try it with of. hope this helps somehow.
Ok, so I think I was on the right path when I was talking about calling on the emsdk folder, when I enter the git terminal in emsdk directory, and then specify the folder and then try the “emmake make” command, I’m greeted with a different error message: “too many arguments” (see Attached).
you are trying to run 2 commands in a single line. cd stands for Change Directory and it requires 1 argument, which is the directory to which you want to change. The rest you have should go as a different command.
and you only need to cd to the same folder once
yet, you already mentioned that you got the error command not found, which means that emmake is not installed in that system, or it is inaccessible through the git terminal
So I think I figured out how to use the ‘emmake make’ command. So I was correct on how to open the terminal (see first photo of post). Once you do that, you actually have to navigate to the “make” command in the emscripten folded, copy the file location, and input it into the terminal like so: Now, I get a new error (See Attached) :
Good you found it. You can permamently add those export commands to the CLI so you dont have to type it each time you want to. Look here You either create a .bashrc or .bash_profile file in your home directory and just paste the export lines there, save and quit and open git bash.
As of the python, I am not sure, it looks fine but there might be a tab or some indenting before the first line which is messing up the whole script.
Quick Update. I realized its best to install emscripten and run its commands through WSL (Windows Sub-System for Linux, lets you run Linux commands on windows). After going through the setup and configuring python environmental variables I navigate to the project folder in the WSL terminal and run the command “emmake make”. Then I get this error (See Attached). To my knowledge, for emscripten to work a MAKE file needs to be accompanied by the project. Anyone know how I can generate a Make file for an existing project? Or do I need to edit the addons.make file?
Huge Update: I finally was able to get the ‘emmake make’ command to work on Windows (I plan on writing an indepth guide and posting it to the forum if it hasn’t been done already). When I use emrun to run the html file I get this thought? Anyone know whats causing this issue?