Page 1 of 2
Notepad Compiler Error
Posted: Tue Jun 28, 2022 8:50 am
by logix09
I just finished setting up Notepad++ compiler, using the TB294 instructions. Every time i run a compile, I get this error:

- Screenshot 2022-06-28 074823.png (2.53 KiB) Viewed 1828 times
I've checked the file location, and it is located in the C:\cncm directory. I've tried several different files in the directory and it keeps giving the same error.
Any help is greatly appreciated.
Re: Notepad Compiler Error
Posted: Tue Jun 28, 2022 9:24 am
by tblough
Do you have Windows set to hide file extensions? Is compile.cmd actually compile.cmd.txt?
Re: Notepad Compiler Error
Posted: Tue Jun 28, 2022 11:05 am
by logix09
No, confirmed that it isn't compile.cmd.txt, and i can see all file extensions.
One thing that came to mind, was that I don't have admin privilege's. Would that stop it from compiling?
Re: Notepad Compiler Error
Posted: Tue Jun 28, 2022 11:48 am
by tblough
What are the contents of your compile.cmd file?
Re: Notepad Compiler Error
Posted: Tue Jun 28, 2022 12:17 pm
by logix09
cd \cncm
mpucomp.exe %1 mpu.plc
pause
Re: Notepad Compiler Error
Posted: Wed Jun 29, 2022 8:08 am
by eng199
You are trying to compile "cncxmsg.txt". That is not a PLC program. PLC source will end with ".src". I am not sure why the error is about not finding a file, but I get the same message trying to compile ".txt" files.
Re: Notepad Compiler Error
Posted: Wed Jul 13, 2022 2:14 pm
by logix09
I am trying to compile Centroid-Standard-Mill-ALLIN1DC-ATC-Umbrella-r7.src
I get the same error when I try to compile anything.
Re: Notepad Compiler Error
Posted: Wed Jul 13, 2022 3:03 pm
by tblough
What directory are you currently in, and what directory is the .src file in? Notepad++ cannot find the src file in the current directory.
Re: Notepad Compiler Error
Posted: Thu Jul 14, 2022 7:43 am
by logix09
I see that. It is the local drive, in the cncm folder. Both the compile.cmd, and the src. file are in the same cncm folder.
Re: Notepad Compiler Error
Posted: Thu Jul 14, 2022 7:49 am
by suntravel
I have this error on any PC not setup for CNC use. Maybe it is a problem with firewall/security settings on the PC.
Uwe