The makeglossaries program is quite easy to use: if your main LaTeX file is called file.tex, then all that's needed is to run
makeglossaries file
To add a suitable action in Texmaker, just go to the
User > User commands > Edit User Commands
menu entry and, in the window that appears, add
makeglossaries
in the upper box (it's just the name which will be shown in the "User>User Commands" drop down menu) and
makeglossaries %
in the lower box. Then, in order to run makeglossaries on the current file, just choose the new menu item (or use the keyboard shortcut shown next to the menu entry). The % stands for the current file name (without extension), as explained in the window.
It's probably possible to define an action that concatenates executions of pdflatex, makeglossaries and pdflatex again, but I think it's not necessary to have glossaries synchronized at each compilation during document preparation. Just be confident that they will be when makeglossaries is run and pdflatex is run again.
makeglossaries %I getAuxiliary file 'filename.aux' doesn't exist. Have you run LaTeX?and if I usemakeglossaries ./build/%I getAuxiliary file '.aux' doesn't exist. Have you run LaTeX?– Kajsa Aug 11 '17 at 12:16