Compiling problem in Netlinx Studio
saman
Junior Member
I downloaded a AMX home project and tried to build it. I get the following very cryptic error:
Starting NetLinx Compile - Version[2.5.1.10] [07-07-2009 20:39:34]
C:\amx\AMXhome\source\AMX home Main Line.axs
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1193): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1205): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1222): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1234): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Tstat Scheduling.axi(113): C10571: Converting type [SINTEGER] to [LONG]
WARNING: C:\amx\AMXhome\source\AMX home Tstat Scheduling.axi(114): C10571: Converting type [SINTEGER] to [LONG]
ERROR: (0): C10580: Internal Error: Major system error occurred during code generation
C:\amx\AMXhome\source\AMX home Main Line.axs - 1 error(s), 6 warning(s)
NetLinx Compile Complete [07-07-2009 20:41:51]
Starting NetLinx Compile - Version[2.5.1.10] [07-07-2009 20:39:34]
C:\amx\AMXhome\source\AMX home Main Line.axs
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1193): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1205): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1222): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Autopatch Switcher.axi(1234): C10571: Converting type [INTEGER] to [SINTEGER]
WARNING: C:\amx\AMXhome\source\AMX home Tstat Scheduling.axi(113): C10571: Converting type [SINTEGER] to [LONG]
WARNING: C:\amx\AMXhome\source\AMX home Tstat Scheduling.axi(114): C10571: Converting type [SINTEGER] to [LONG]
ERROR: (0): C10580: Internal Error: Major system error occurred during code generation
C:\amx\AMXhome\source\AMX home Main Line.axs - 1 error(s), 6 warning(s)
NetLinx Compile Complete [07-07-2009 20:41:51]
Comments
-
When you say 'downloded', what did you mean? From where did you download this project? That migt help with the analysis of the problem.
-
I used amxhome web configurator
The project was created using amxhome web configuration and downloaded the resulting project.
-Saman -
The integer to sinteger thing is benign, but that major system error is annoying beyond belief. I've only had that happen to me once, but in that case, I knew exactly what I had changed and was able to look there. It was some time ago, but as I recall, it has something to do with a module being passed parameter that met the type check, but were still wrong; the details elude me. As a starting point, I would try commenting out the modules section, and see if it compiles then. If it does, uncomment them one-by-one till it breaks again. Then at least you will know where to look for the problem.
-
ERROR: (0): C10580: Internal Error: Major system error occurred during code generation
Most often caused by two instances of functions with the same name.
Dear Mr AMX, not a very useful error message - just like "Error - No Error" in TPD4. -
Dear Mr AMX, not a very useful error message - just like "Error - No Error" in TPD4.
Its because in TPD4, if there are no errors then something is definitely very wrong
Paul -
Did you make any changes to the code Netlinx Studio prior to building it? That error in my experience is usually the result of an errant curly brace.
If you let me know what your dealership name is, and what project you are referring to, I can download it and take a look at it.
I apologize for the delayed reply. I didn't see your post and what is was referring to until today.
Thanks,
Adam -
Just for the record, I got a "major system error" compile problem when I had 2 functions of the same name.
-
I've also seen this when the Netlinx studio likes things in a certain order, or you try to do a declaration without a DEFINE_FUNCTION or DEFINE_VARIABLE tag preceding it.
If you have includes, try moving them around the main source file until you find a place Netlinx Studio likes them. -
I've seen this error when trying to run NS projects straight off my shared drive on my Mac OS server. Boy, NS really hates on the Macintosh.
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