I've configured Texmaker to create the auxiliary files in the \build subfolder.
Everything is working fine, except for the index... while compiling the .tex file, the console says:
Process started
Input index file FILE.idx not found. Usage: makeindex [-ilqrcg] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
system returned with code 1
And of course the index is not being generated in the output .PDF file.
I've also added the \build prefix to the "Makeindex" field in the configuration panel of Texmaker (as suggested by Texmaker itself), as you can see in the image below, but it's still not working.
Is there any solution that does not require to manually move the .IDX file from the \build folder to the main folder in order to properly read the index?
Thank you in advance.

build/%.idx(linux pathway), yet in the text\build(windows pathway) is used. Do you compile in a Linux OS or in a Microsoft OS? They useslashrespectivelybackslashto denote directory pathways. – alchemist Feb 05 '23 at 07:07slashorbackslashto denote a directory path. TeXMaker adapts that to the OS its installed on. Following your question line, I could use the\buildfolder on my Windows 11 / MikTeX configuration compiling PDFLatex > Makeindex > PDFLatex. The PDF contained the index as required and all files except the.texwere contained in the\buikdfolder. – alchemist Feb 05 '23 at 07:54imakeidxpackage to test your issue. If you don't use that, can you try switching to that package to make your index? – alchemist Feb 05 '23 at 07:56makeindex build/%.idxandmakeindex build\%.idx, with no results. I forgot to say that I have two indexes in the document. The first index is the default one, and the other is named "locs". If I press F12 to run makeindex, Texmaker is able to read the main index with both of the configuration (slashorbackslash), but in the console Texmaker shows that only the main index is being updated, while it isn't even searching for the locs index.While compiling the document though, the console gives error for both of the indexes.
– Trial4life Feb 05 '23 at 11:01pdflatex -synctex=1 -interaction=nonstopmode %.tex|makeindex build/%.idx|makeindex build/locs.idx|pdflatex -synctex=1 -interaction=nonstopmode %.texIt seems to be working (indexes are being read, and do appear in the PDF), however the compiling time is now doubled than with the default compiling options.
Maybe I should omit the first pdflatex command? In the default configuration, what commands are being launched, amd in which order?
– Trial4life Feb 05 '23 at 12:51