can't compile anything
kbarco
Junior Member
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!
-
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.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums