Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ezoolander
Visitor

Error on examples install

I'm attempting to install the MRSSTEMPLATE example - and when I do from the debugger I get the following error:

ERROR compiling /pkg:/source/generalUtils.brs:
SUB or Fuction defined twice. (compile error &had) in ../pkg:/source/generalUtils.brs(96)

Now - I'm kinda a noob at ROKU development and have only been doing it a few days...so if I'm wrong in my supposition let me know...

Line 96 of GeneralUtils.brs is the following function:

Function isxmlelement(obj as dynamic) As Boolean
if obj = invalid return false
if GetInterface(obj, "ifXMLElement") = invalid return false
return true
End Function

I'm assuming (correct me if I'm wrong) that it's saying function isxmlelement is duplicated? I can't find another declaration of that function anywhere in any of the files.

Am I misreading this? And if so - what's the problem? 🙂

Thanks!
0 Kudos
1 REPLY 1
RokuChris
Roku Employee
Roku Employee

Re: Error on examples install

0 Kudos