Compile Failed; File %s could not be created
syslock
Junior Member
Please can anyone shed some light on this compile error. All of a sudden out of the blue I started getting this error in 6 separate projects all systems that I'm busy adding RMS to.
Its worth noting that I'm working on Windows 10 in a virtual machine(vbox). My other projects that don't require the RmsNetLinxAdapter_dr4 module all compile fine.
Here is the code I'm compiling
PROGRAM_NAME='Test Compile Error'
(***********************************************************)
(* DEVICE NUMBER DEFINITIONS GO BELOW *)
(***********************************************************)
DEFINE_DEVICE
vdvRMS = 41111:1:1
//dvRMSControlSystems1 = 0:1:1
//RMS
define_module 'RmsNetLinxAdapter_dr4_0_0' mdlRMSNetLinx(vdvRMS)
//
Starting NetLinx Compile - Version[2.5.2.420] [01-18-2016 12:40:22]
C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.axs
ERROR: (0): L20206: File [commons-codec-1.4-AMX-01.jar] could not be found
ERROR: C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.tkn(15): L20215: Compile failed; File %s could not be created
C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.axs - 2 error(s), 0 warning(s)
Compiled Code takes 23819 bytes of memory -- Token and Variable Count is 748 (Maximum is 200000)
NetLinx Compile Complete [01-18-2016 12:40:22]
Also if I double click on the compile error it opens file Test Compile Error.tkn and ith as a single character in it. ?
Thanks in advance
Its worth noting that I'm working on Windows 10 in a virtual machine(vbox). My other projects that don't require the RmsNetLinxAdapter_dr4 module all compile fine.
Here is the code I'm compiling
PROGRAM_NAME='Test Compile Error'
(***********************************************************)
(* DEVICE NUMBER DEFINITIONS GO BELOW *)
(***********************************************************)
DEFINE_DEVICE
vdvRMS = 41111:1:1
//dvRMSControlSystems1 = 0:1:1
//RMS
define_module 'RmsNetLinxAdapter_dr4_0_0' mdlRMSNetLinx(vdvRMS)
//
Starting NetLinx Compile - Version[2.5.2.420] [01-18-2016 12:40:22]
C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.axs
ERROR: (0): L20206: File [commons-codec-1.4-AMX-01.jar] could not be found
ERROR: C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.tkn(15): L20215: Compile failed; File %s could not be created
C:\Users\vetus\Desktop\SBSA `Current Code\Test Compile Error.axs - 2 error(s), 0 warning(s)
Compiled Code takes 23819 bytes of memory -- Token and Variable Count is 748 (Maximum is 200000)
NetLinx Compile Complete [01-18-2016 12:40:22]
Also if I double click on the compile error it opens file Test Compile Error.tkn and ith as a single character in it. ?
Thanks in advance
Comments
-
I had an update issue a while back where studio lost my libraries and includes settings.
You may want to check under netlinx studio's "Settings...Preferences" menu in the netlinx compiler side tab, in the directories box area. Check the drop-downs from "Library Files" to "Module Files" and make sure that the directory where you have "commons-codec-1.4-AMX-01.jar" is still listed somewhere in there.
If all else fails, you can put commons-codec-1.4-AMX-01.jar in the project code folder, but with all the stuff RMS includes, it is better not to replicate it 47 times.
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