Using sc_include() with public libraries

I have several internal Public libraries and I want to include them in the application with sc_include() but can’t find the way. Defining them as project or user works ok, but public fails.
How can I use them without checking them in “Programming”->“Internal libraries”?

Also is it possible somehow to include an internal library inside an internal library? I have some functions in public internal libraries that use functions from other internal public libraries.

Plenty of videos on the channel on that topic! I know because I recorded many of them :slight_smile: I would suggest checking out the Macros!

1 Like

Hi Jamie… I can’t find any of your videos. Only the standard Scriptcase one by Nate on the SC channel.
Can you give me an idea of where to find them?

I’m convinced the fact you cant attach a public library using sc_include is a bug.
(At least I can’t!)

Just a quick build on this:

to use a public library, you need to add pub as the source in the sc_include macro… I hacked around till I found this as it is not in the manual.

Using libraries that call functions from other libraries is sensitive to the order you include the lib, so you might want to try that.