I've been using Advanced Lighting for a while now - sometimes strange variable and type errors do appear

Something you might want to try is using #include for each .dba file separately, instead of just '#include "Advanced Lighting.dba"'. Some of the Advanced Lighting source files (Advanced Lighting.dba and AL_Lighting.dba I think) contain #include references to the other source files, so you need to search the files for any #include statements, and remove 'em first

After that, include each of the source files separately, but try skipping 'Materials.dba' - it's not important unless you're using Evolved's Material Editor as well. If you still get an error, try removing other files as well - hopefully it'll work eventually

Good luck
The code never bothered me anyway...