Page 1 of 1

Adding in a library

Posted: Fri Feb 01, 2013 8:47 pm
by bcmadore
I not sure of the correct terminology for this, but I downloaded an SHA-2 library as suggested here: http://forums.runrev.com/viewtopic.php?t=13403

I added it as a substack, but I really want to avoid having to do this every time I use it, especially so I don't get warnings about having multiple stacks with the same name. How do I properly add it so I can access it from multiple stacks?

Can I get rid of the card part of it as well? I just want to access the script of the stack.

Re: Adding in a library

Posted: Sat Feb 02, 2013 3:07 pm
by shaosean
these two steps are so you can use the commands in the ide while developing your apps without the duplicate stack error
- load the library stack as normal
- start using the library stack

these steps add the library stack to your application for compilation, but you will still need to do the previous two steps for use in the IDE
- go to your stack
- open the "Standalone Application Settings" dialog
- click on the "Stacks" button
- click the "Add Stack File" button
- select the library stack file
- save your stack

Re: Adding in a library

Posted: Mon Feb 04, 2013 7:12 pm
by bcmadore
Just to be sure for myself, to use it in the development environment I have to open it and use a "start using" command to put it into the message path?

Is there a way to put it somewhere that it loads every time I start RunRev?

Adding it to the build makes sense.

Thanks.

Re: Adding in a library

Posted: Tue Feb 05, 2013 6:59 am
by shaosean
You could always make a plugin to load the library automatically..