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 calling
Library "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?