Error Compiling with Include File
sonny
Posts: 208
for the last two versions of Netlinx Studio I have gotten the following error, when building the workspace, when using an include file that was created with "Add New Include File"
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
some_directory\MainModule.axs - 3 error(s), 0 warning(s)
I can create the inital stub of the include file in Notepad, then "Add Existing Include File", without an issue. This has only happened in the last version of 2.4 and in 2.5. I called tech support but got "sorry, you're using XP Home, we can't help you".
Anyone else seen this issue? I really have a huge time believing it's related to XP Home.
Thanks...
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
ERROR: some_directory\MainModule.axs(1)NetLinx Pre-Processor Error: Unrecognized char in input
some_directory\MainModule.axs - 3 error(s), 0 warning(s)
I can create the inital stub of the include file in Notepad, then "Add Existing Include File", without an issue. This has only happened in the last version of 2.4 and in 2.5. I called tech support but got "sorry, you're using XP Home, we can't help you".
Anyone else seen this issue? I really have a huge time believing it's related to XP Home.
Thanks...
0
Comments
It is demonstrably caused by an editor bug (which I have not been able to pin down) because it happens spontaneously during an editing session. An invisible bad character is somehow present in your code.
It is easy to fix.
Start with the first error. Double-click on the error message to take you to the approximate location of the bad character. Delete a couple of lines of code each side of the location. Recompile to confirm that you have removed the dud character. Now type the lines back in - don't try to re-paste as the dud character will reappear.