Library "test.brs"
*** ERROR compiling /pkg:/source/main.brs:
Error loading file. (compile error &hb9) in pkg:/source/main.brs(2) 'test.brs'
"Romans_I_XVI" wrote:
So this is a fairly basic question I think...
I wanted to try and create a custom BrightScript library. According to this ...
https://sdkdocs.roku.com/display/sdkdoc ... tLibraries
... all I have to do is put the .brs file in the package's root directory. However, when I try to load it by callingLibrary "test.brs"
I get this*** ERROR compiling /pkg:/source/main.brs:
Error loading file. (compile error &hb9) in pkg:/source/main.brs(2) 'test.brs'
It doesn't matter if I point to my file, or I point to a file that doesn't exist, the error message is the same.
I've used things such as the v30/bslDefender.brs in the past with no problem but never my own. Anyone else done this sucessfully?
Library "http://example-site.com/bslSomething.brs"
"Romans_I_XVI" wrote:
It's unfortunate that there isn't stronger behavior, for instance it'd be cool if it supported remote hosted libraries. Such as...Library "http://example-site.com/bslSomething.brs"
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!
For support, visit support.roku.com.