General Format for creating a library

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
microchip22
Posts: 41
Joined: 31 Mar 2012 19:13

General Format for creating a library

#1 Post by microchip22 » 29 Dec 2012 21:13

What is the general format for creating a new library? Does it follow the same general format as setting up a new project or module? Is there a sample library to follow as a guide?

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: General Format for creating a library

#2 Post by Dany » 30 Dec 2012 12:37

Perhaps this can help:http://www.rosseeld.be/DRO/PIC/Make_Process.pdf see section 15.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: General Format for creating a library

#3 Post by filip » 03 Jan 2013 11:08

Hi,

You can also see the Creating New Library topic in the compiler.

Regards,
Filip.

microchip22
Posts: 41
Joined: 31 Mar 2012 19:13

Re: General Format for creating a library

#4 Post by microchip22 » 07 Jan 2013 04:04

I am using MicroBasic PRO for PIC. The information so far has helped a lot, but I am still having trouble. It is taking several hours for anything to show up in the library manager. I still do not have the help files showing up correctly. I still need help with the “add files” file locations in the PackageManager 3.0 program.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: General Format for creating a library

#5 Post by janni » 07 Jan 2013 13:21

microchip22 wrote:It is taking several hours for anything to show up in the library manager.
Have you used the 'Refresh' option in Library Manager?
I still do not have the help files showing up correctly.
The IDE allows only to open a directory with user help file(s) - do you have problems with that?
I still need help with the “add files” file locations in the PackageManager 3.0 program.
What exactly is the problem?

microchip22
Posts: 41
Joined: 31 Mar 2012 19:13

Re: General Format for creating a library

#6 Post by microchip22 » 08 Jan 2013 02:08

The PachageManager created the following three directories:

C:\mikroBasic PRO for PIC\Packages\New_Library\examples

C:\mikroBasic PRO for PIC\Packages\New_Library\help --> contains New_libary.chm

C:\mikroBasic PRO for PIC\Packages\New_Library\Uses --> contains New_library.mbas file

I have tried the ‘Refresh’ and ‘Rebuild Libraries’ options to get the Help file to show up. The help file, New_library.chm , is in the ‘C:\mikroBasic PRO for PIC\Packages\New_Library\help’ directory, but does not show up after clicking HELP. The MikroE help files shows up.

If I use windows explorer to open the following directory:
C:\mikroBasic PRO for PIC\Packages\New_Library\help
Then click on the ‘New_library.chm’ file. It opens ok.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: General Format for creating a library

#7 Post by janni » 08 Jan 2013 03:44

microchip22 wrote:I have tried the ‘Refresh’ and ‘Rebuild Libraries’ options to get the Help file to show up. The help file, New_library.chm , is in the ‘C:\mikroBasic PRO for PIC\Packages\New_Library\help’ directory, but does not show up after clicking HELP. The MikroE help files shows up.
As I've written, the only thing IDE does with user help file is to open a directory to it (in Explorer window) when one double-clicks on the library item in Library Manager. Nothing more :( . Your help file will not be listed in Help, nor opened automatically like the compiler's help.

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: General Format for creating a library

#8 Post by Dany » 31 Mar 2013 10:53

Post deleted. Janni gave already the answer. :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Post Reply

Return to “Library Development Discussion”