Home AMX User Forum NetLinx Studio

can't compile anything

Hi. I'm having an issue with compiling, and I was wondering if anyone has had a similar problem or knows how to fix it. I just moved onto a Windows 7 machine from an XP laptop, and I haven't been able to successfully compile anything on the new computer. I even tried just compiling the netlinx template file without adding a single line of code to it, and I still ended up with the same problem. It says "C10201: Syntax error; Illegal or Invalid syntax in code", and no tkn file is created. Has anyone else had a problem like this? Thanks!

Comments

  • Upload the WorkSpace, so we can have a look at it.
  • Could be a problem with Netlinx.axi. Was this a fresh install, or did you copy some files, like your Common Includes folder? If so, you may want to try a complete uninstall, including deleting the AMXShare (C:\Program Files (x86)\Common Files\AMXShare\).

    Also, make sure you have the latest version of Netlinx.

    Finally, check out Tech Note 974: Windows XP Mode for Windows 7.
  • thanks for the help. I installed it by downloading webupdate from the amx site, then downloading and installing studio and everything else through webupdate. I had some code that compiled fine on my xp and exported that workspace, and it wouldn't compile on the new computer. I also created a totally new workspace with the workspace wizard and tried compiling just the template by itself, and that gave me the same error, so i don't think it was the one workspace that was the problem. I will check out the tech note and see if that will solve my problem. thanks!
  • champchamp Posts: 261
    I ink i have come accross this, your library paths are probably referring to "C:\Program Files\Common Files\AMXShare\" instead of "C:\Program Files (x86)\Common Files\AMXShare\"

    In the error it will mention the file that was being compiled when the error occurred, what file was that?
    I have battled strange errors before only to find i have the wrong system acrive so check you are compiling what you think you are compiling.
Sign In or Register to comment.