"SolveLLC" wrote:
I'm not sure what I'm doing wrong here.
ERROR compiling /pkg:/source/VAST_VideoScreen.brs:
SUB or FUNCTION defined twice. (compile error &had) in roku_ads_lib:/Roku_Ads.brs(30) 'Roku_Ads'
SUB or FUNCTION defined twice. (compile error &had) in pkg:/source/VAST_VideoScreen.brs(1)
Line 1 of VAST_VideoScreen.brs is
Library "Roku_Ads.brs"
Library "Roku_Ads.brs"
"TheEndless" wrote:
Why are you using RAF and the old VAST_VideoScreen.brs in the same channel? Assuming you're implementing RAF, I'd expect you'd be removing the older VAST source files.
"RokuKC" wrote:
You can only have:Library "Roku_Ads.brs"once in all your sources.
If you have it more than once, you will get the duplicate functions error.