What are the "PC Libraries"

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

clplaneguy
New User
Posts: 18
Joined: Sat Feb 18, 2017 3:44 pm

What are the "PC Libraries"

Postby clplaneguy » Mon Apr 09, 2018 10:43 pm

In the process of installing leJOS 0.9.1, I Have run into a “leJOS Library Container” that contains a “EV3 Runtime (LeJOS EV3 EV3 Runtime)” and a “PC Libraries (LeJOS EV3 EV3 Runtime)”. What are they and how do I use them?

User avatar
gloomyandy
leJOS Team Member
Posts: 6017
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: What are the "PC Libraries"

Postby gloomyandy » Mon Apr 09, 2018 11:32 pm

There are many components that make up leJOS both on the PC and on the EV3, unless you intend to develop leJOS itself, it really is probably not worth trying to understand them at a low level. If you do want to do so, then all of our source code is here...
https://sourceforge.net/p/lejos/ev3/cod ... ster/tree/
https://sourceforge.net/p/lejos/ev3/sdc ... ster/tree/
Good luck!

If what you want to do is actually use leJOS, then there are really only two types of program, ones that tun on the EV3, and ones that run on a PC. To create these programs you need to compile the appropriate code and link it to the required libraries. This can be a relatively complex process. Luckily there is an eclipse plugin that makes this easy. Simply use it and select the project type you require. It will create a PC or EV3 project for you with references already in place. If you really want to understand how the various parts fit together, then spend some time understanding these two different types of projects, look at the libraries they reference and how the various build mechanisms work. The leJOS wiki contains basic instructions for how to build things and some more details on the two types of programs...
https://sourceforge.net/p/lejos/wiki/Home/
The leJOS news pages...
https://lejosnews.wordpress.com/
contain many more examples of leJOS programs and there is a lot of information here on the forum.
leJOS news https://lejosnews.wordpress.com/


Return to “EV3 Software”

Who is online

Users browsing this forum: No registered users and 1 guest