Compiling error and potential fix

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
RHarris19
Posts: 15
Joined: Sun Feb 14, 2021 6:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Compiling error and potential fix

Post by RHarris19 »

I have been trying to figure out why my compiler will work perfectly fine on one computer that was setup for Notepad++ the same way as another computer that will give an error previously mentioned in other threads for not being able to find the file. I found that if I run the NppExec script without the quotation marks $(CURRENT_DIRECTORY)\compile.cmd $(FILE_NAME) it will compile properly.

The weird thing is that I can now run the script as listed in TB294 as “$(CURRENT_DIRECTORY)\compile.cmd” “$(FILE_NAME)” and it will now compile properly without throwing an error.

I wanted to put this out there in case there was something that I was missing or if anyone may be searching for this in the future.
suntravel
Posts: 1971
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Compiling error and potential fix

Post by suntravel »

Thanks for the info.

On my work PC I have another solution to get NppExec to compile without the use of compile.cmd

Uwe
Attachments
NPComp.jpg
Post Reply