Notepad Compiler Error
Moderator: cnckeith
-
- Posts: 3095
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Notepad Compiler Error
In that case, what is in the compile.cmd file? Are you sure it's not named compile.cmd.txt? Do you have Windows set to hide known file extensions?
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 101
- Joined: Mon Apr 11, 2022 3:37 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad Compiler Error
I had the same error message, although started as admin, all configured like the Notepad++-TechnicalBulletin said and so on.
And yes, also here the .src and the compile.cmd are in the same directory, cnct. Like it installed itself.
What did the trick for me was:
Using $(Full_Current_Path) instead of $(File_Name) for the argument in notepad++
Now everything works fine and without error-message.
And yes, also here the .src and the compile.cmd are in the same directory, cnct. Like it installed itself.
What did the trick for me was:
Using $(Full_Current_Path) instead of $(File_Name) for the argument in notepad++
Now everything works fine and without error-message.
-
- Posts: 3095
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Notepad Compiler Error
If using the full_current_path worked and file_name didn't, then the source file wasn't in the current directory.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 101
- Joined: Mon Apr 11, 2022 3:37 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad Compiler Error
Both are in the cnct-folder. As i said, typing the command manually did work.
I even tried to add the cnct-folder to the standard-paths in windows, but still no success then.
But hey, doesn't matter, now it works, so what
I even tried to add the cnct-folder to the standard-paths in windows, but still no success then.
But hey, doesn't matter, now it works, so what
Re: Notepad Compiler Error
This may relate to how you are launching Notepad++.
For example, if you are using a Windows desktop shortcut, that shortcut may specify a "Start in" directory that is different from c:\cnct or c:\cncm.
Try right-clicking on your Notepad++ shortcut, selecting "Properties", and seeing what it says next to "Start in" on the Shortcut tab.
For example, if you are using a Windows desktop shortcut, that shortcut may specify a "Start in" directory that is different from c:\cnct or c:\cncm.
Try right-clicking on your Notepad++ shortcut, selecting "Properties", and seeing what it says next to "Start in" on the Shortcut tab.
-
- Posts: 101
- Joined: Mon Apr 11, 2022 3:37 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Notepad Compiler Error
Most of the time, notepad++ becomes started automatically by windows when clicking an .src-file.cncsnw wrote: ↑Thu Jul 14, 2022 5:55 pm This may relate to how you are launching Notepad++.
For example, if you are using a Windows desktop shortcut, that shortcut may specify a "Start in" directory that is different from c:\cnct or c:\cncm.
Try right-clicking on your Notepad++ shortcut, selecting "Properties", and seeing what it says next to "Start in" on the Shortcut tab.
But i will have a look into what it says next to "Start-in"