Developers

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!
Tags (1)
0 Kudos
1 REPLY 1
RokuChris
Roku Employee
Roku Employee

Re: Error on examples install

0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!