Home AMX Forum NetLinx Studio
Options

Compile Failed; File %s could not be created

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

Comments

  • GregGGregG Just some guy...
    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.
Sign In or Register to comment.