BUG Community

Welcome! Log In

jconnolly's Blog

building JNI bundles

I've previously posted about building against bundles in SVN to get the latest BUG software.  This is a followup with special attention paid to the jni bundles.  I assume a certain knowledge of the SDK, our build system, and eclipse.  You'll need eclipse (3.3.2), subclipse, CDT, and CTE plugins installed. 

  • eclipse 3.3.2: http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.2-200802211800/index.php
  • subclipse: http://subclipse.tigris.org/update_1.4.x
  • CDT update site: http://download.eclipse.org/tools/cdt/releases/europa
  • CTE update site: http://concierge.sourceforge.net/cte/update

As of RC1.4.1 of the BUG software stack, control of the hardware is done by using JNI to do the various ioctls natively.  That means that we have bundles in /usr/share/java/ on the root filesystem which use libraries (in /usr/lib/jni) to perform these functions.  For example, IVonHippelModuleControl's methods to toggle LEDs and the like are implemented in C.  There may be occasions where you would like to tweak these or add your own features to control the hardware.  In that case you'll likely want to build them on your system locally, then move them onto your BUG.  Unfortunately to build these libraries you need access to the headers and libraries that are part of the entire BUG.  Our Makefiles assume that you have certain environment variables set to point to the relevant include and lib directories.  Here are the last few lines of my .bashrc

export PHONEME_HOME=/opt/build/trunk/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi/phoneme-advanced-personal/cdc/build/linux-arm-generic export OE_HOME=/home/jconnolly/buglabs/dev/bugbuild export PATH=$PATH:/home/jconnolly/buglabs/dev/bugbuild/com.buglabs.build.oe/build/tmp/cross/bin export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun- export BUG_LINUX_SRC=/opt/build/trunk/com.buglabs.build.oe/build/tmp/staging/bug-poky-linux-gnueabi/kernel export ROOTFS_BUG=/opt/build/trunk/com.buglabs.build.oe/build/tmp/staging/arm-poky-linux-gnueabi

  1. Assuming you've looked at and built using the instructions in the wiki on our build system, add similar entries to your .bashrc pointing at the corresponding directories.  You'll need to have built linux-bug and phoneme-advanced-personal.
  2. Start a new shell type env and make sure you see BUG_LINUX_SRC, ROOTFS_BUG etc in your environment
  3. Start eclipse from the command line so it sees the environment variables from your .bashrc
  4. Using subclipse, check com.buglabs.bug.jni.vonhippel out of svn://svn.buglabs.net/bug/trunk
  5. Using subclipse, check com.buglabs.bug.jni.common out of svn://svn.buglabs.net/bug/trunk
  6. Switch to the C/C++ perspective of CDT
  7. Right click on com.buglabs.bug.jni.common project in your project view and select "Properties"
  8. Expand C/C++ build, and select Environment
  9. Click Manage Configurations
  10. Highlight "BUG" and click Set Active, hit OK
  11. Select BUG in the Configuration drop-down box and hit OK
  12. Clean your project (Project->Clean in the menu)
  13. Go to the Make Targets view and expand com.buglabs.bug.jni.common
  14. Double click "all"
  15. Look at the console and make sure everything builds
  16. Repeat steps 7 through 15 for com.buglabs.bug.jni.vonhippel

That's it, you should find the libVonHippel.so shared library in the lib directory within the com.buglabs.bug.jni.vonhippel project.

Post Comments

Add Your Comment!

Log in to leave a comment or Create an account

ich sitzen durch eine weitere Mahlzeit mit diesem Yankeestepmother von ihr stehen kann ", " muss es nicht. michael kors handbags outlet store zu schwer auf ihr, Stuart . Sie meint michael kors rose gold watch es gut . " " Ich bin nicht Michael Kors purse outlet schwer Michael Kors outlet stores f��r sie . Es
Sie im Bein? Nein, sie nur f��r alte Doc Fontaine geschickt zu kleiden andasked es dem Arzt , was Tony Michael Kors handbags wholesale Ziel fehlte . Sagte, sie ahnen Licker wurde Michael Kors sunglasses verderben seine Treffsicherheit . Denken Sie
kam Michael Kors outlet online sale aus Virginia. Sie sagt Virginians setquite ein Gesch?ft Michael Kors shoes outlet durch solche Dinge . " " Sie k?nnen Michael Kors wallets 'em haben . Geben Sie mir ein gutes Michael Kors outlet sale Pferd

"Ich dachte, ich auch. "
Brent nickte eine Vereinbarung .
Brent drehte sich in den Sattel true religion jeans und an den Br?utigam Neger bezeichnet.
ray ban outlet />Online -Kurs f��r Sch��ler sterben einbezogen cheap new balance shoes . Soweit eine Teilnahme Kursen Geht Christian Louboutin Shoes , Ist alles was SIE- ben [linlei] ? Tigen einen Computer und zugang christian louboutin shoes zum Internet Authentic Louis Vuitton Bags . Der Master of Christian Louboutin shoes Science in Educational
Als etablierte Cheap Moncler Jackets Webseiten - Designer in Gro ? Britannien , bietet Blue Whale Digitale new balance shoes outlet kreative Web - Design- Dienstleistungen , Nike Free Website -Entwicklung , E-Commerce -L ? true religion outlet Sungen ,

new balance outlet online

h¨¹bsch, und ich wei? verdammt gut, sie haben kein Whisky,

Michael Kors Outlet Handbags

Roggen Vaters ber¨¹hren bekam . " " Ashley Wilkes sagte,

michael kors

dass sie eine Menge von Landschaft und Musik. Ashley

gucci bags

sterben Masse Kosten senken Kann unterlassen . Und VOR Allem

Michael Kors Outlet Store

Nicht KOPIEREN your TV -Star sofort nach der Show, ?h

Michael Kors Outlet

Nicht bezeichnet einen Nachahmer zu unterlassen . Kurz ges?gt, ?hm

kate spade

theslightest macht flattern und kreischen . "" Nun, man

prada outlet

kann nicht ihre Schuld . Sie haben zu schie?en Cade

Louis Vuitton Store

im Bein . "" Nun , ich wurde lickered oder

chanel outlet online

ich h?tte es nicht getan ", sagte Stuart .

Louis Vuitton Outlet

, bis wir sie aus. Alles, was sie werden wissen,




I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Máy tập cơ bụng ab rocket

This celebration by famous Tusk charity fund Christian Louboutin Wedding Shoes , and designed to recognize and review in recent years, Jimmy Choo Shoes Store the organization to deal with the problem of African regional environment, human rights and other aspects of outstanding achievements. Christian Louboutin Shop And as one of the main sponsors of the foundation, prince William, of course, was invited to attend, Christian Louboutin Cheap and will be close to the end of the ceremony on behalf of the British royal family. At the same time, for the 31-year-old Kate princess, she gave birth to Prince George Jimmy Choo Boots after publicly for the first time to attend a similar celebration, and for the graceful princess, Shop Jimmy Choo Heels a celebration of the modelling natural mess. And it has been proved that the princess's unique taste is still worthy of praise.

Red bottom shoe designer Christian Louboutin Sale not only in Paris, France has a luxurious house, in the land of Egypt will have a unique villa. Christian Louboutin Men Not many people would buy villa in Egypt? The villa of Christian louboutin is really unique. Appearance, Red Bottom Shoes is a castle, indoor display is more simple. Mr Christian louboutin will come to the villa at least twice a year. Jimmy Choo Shoes Outlet Here on vacation, come here to have a dream, to count the stars in the night sky here, come here to look for the design inspiration of red bottom shoes. Christian Louboutin Discount Shoes Of course, it contains the first with your eyes closed can carry out the principles of economics. Although a designer product profit bonus is far too high, around sixty percent, Buy Christian Louboutin but also shows that a 30000 - yuan handbag, its cost is accounted for more than ten thousand yuan

Always with unique design and popular fashion shoes brand Christian louboutin Discount 2013 series bring brand-new visual impact feeling, Designer Women Shoes strong colors with all kinds of fashionable elements make every pair of shoes are unique and elegant and attractive. Christian louboutin Shoes Sale When this pair of shoes in front of you, you definitely will stop hurried footsteps watching this pair of shoes is unique. Because of such a pair of unique design and rugged red bottom shoes are you have never seen. Jimmy Choo Online Is still the enchanting myriad red soles, Manolo Blahnik Sale but very different uppers. Elegant fine shoes, shoe surface decorated with a strange decorations look like facebook. Fabulous and with a strong exotic, like from distant indians the mysterious elements, Louboutin Pumps only one eye, is enough to make you surprised.

It specifically designed for women perfume is full of fashion sense and lavish tastes, Jimmy Choo Shoes Online with delicate beautiful amber bottle design is a symbol of luxury brand noble, jimmy choo bridal also received the Tamara interest in antiques and modern high-quality goods. Many facets of the silkworm cocoon shape bottle design combined with the importance of traditional and contemporary design, presents the jiao Manolo Blahnik Shoes Sale drops of sexy female temperament, will embrace in perceptual balsam. The perfume bottle with silver and black cubic bottle cap highlights the fashion sense of design. Manolo Blahnik Store Online In addition to the bottle is full of modern glass art design elegant charm, the brand to use "the world's sexiest, Louboutin UK most luxurious leather" snakeskin pattern match with rose pink outer-package of embossing as a design element, make "jimmy choo uk perfume" has become the most fashionable sweet atmosphere

Italian brand of spike-heeled Giuseppe Zanotti shoes, Giuseppe Zanotti Online magnificent style and bold, not only favor by celebrity socialite for women's shoes, Jimmy Choo Sale brand launch of men's shoes for the first time last year, and soon became a fashionable and stylish men to be bestowed favor on newly, also let Aaron kwok, Jimmy Choo Sale UK show hit shoes, a dancer exquisite both in spike-heeled Giuseppe Zanotti shoes silver rivet, Manolo Blahnik High Heels let steps dance work more shiny. Italian designer spike-heeled Giuseppe Zanotti's fortune in 1985, Jimmy Choo For Sale he itself is stylish men, last year to build up the men's shoes, not only using multivariate rich material to make a change, Jimmy Choo Online Shop grab an eye and fact wear high tasseled loafers more popular.

Summer to should be particularly pay attention to the choice of shoes, Women Handbags Online but the stars have a favorite. Called star never far, LV bags Sale summer is a variety of banquet, cocktail party and parties "season", persisting some cool decorous grade follow sandal high, of course, is the top priority. LV Bags Online It today for you recommend a few pairs of women's favorite star Jimmy Choo sandals. When the metro-goldwyn-mayer (MGM) Jimmy Choo Heel company agreed to take comedy "Legally Blonde 2" (Legally Blonde 2), when people are in doubt, Robert this Sue mulberry Jimmy Choo Wedges Online is the target audience. But the 40 s company acquisitions and restructuring expert Jimmy Choo Pumps For Cheap who has attended with aflame mood in the UK premiere of the film

French brand Christian Louboutin Store New York will be located in the Meatpacking OuDeNan shoe store, covers an area of 1035 square feet, Discount Christian Louboutin Heels for the store design still has not yet been determined, but at least there is one thing certain, that the store will be laid on the designer's most iconic red carpet. Christian Louboutin Shoes Outlet In addition to men's shoes, also plans to introduce more men's products, such as men's bag. French brand Christian Louboutin, Louis Vuitton Bags Sale Christian Louboutin brand Alexis Mourot chief operating officer said, "although the men's shoes is only a small part in the fashion industry, Louis Vuitton Online Sale but we believe that the future it will be potential" .

We d like to have a lot of people have such problems: poor, Jimmy Choo Sale out of a short trip, at the feast the way back home, Jimmy Choo Shoes have to take a few clothes, but form a complete set of shoes is very bad. Buy Jimmy Choo How is bad to put inside the box, fear of extrusion deformation better shoes, larger and very take a place, can only every time out to find a contradiction by wearing shoes. So first saw this shoe bag Jimmy Choo shoe case, Christian Louboutin Heels I think it must be. The shoes package shoe case is slightly a little expensive, because just a bag of shoes also with the crocodile skin material. Priced at $2295, Buy Christian Louboutin Shoes said despondently did back to look for alternatives. Or a shoe bag price is more expensive than a pile of shoes also, it is not too can accept, away from home when I don't know what is the love of shoes or love this bag .
louboutin uk

http://shopbellabag.com.Primary if you decide to buy, it is ideal to learn more Louis Vuitton Handbags products for sale in Louis Vuitton Outlet Online different sites to a standard view of what to wholesale nfl jerseys get people who bought, say for the bags. Second, Michael Kors Sale you should of a genuine Louis Vuitton handbags often gucci handbags outlet cost about numerous 100s and in many cases up gucci purses to Michael Kors Outlets $ 1,000 may know the Louis Vuitton handbags for sale or expensive then you should do your homework, Louis Vuitton do bags are often traded a Christian Louboutin Shoes dust cover along with keeping a reliability cards, while Louis Vuitton Sale most fake with handles in the paper supplies and Louis Vuitton USA clinging tags are bought deepened. In addition, high quality Louis Vuitton Outlet must be intensely appreciated.

persistently dull and tired of it all. In this frame of mind and body, she was in no mood to receive Henry's ill-timed addresses with favor,
Persuasion, Lord and Lady Mont Michael Kors Outlet Online Barry agreed to a sort of compromise. His lordship was not comfortable enough free time for the trip to
are, of course Michael Kors Purses fucked Louis Vuitton bags hard with dad and mom. But it was not better thought to interrupt the progress of their training, and not to expose them
my love, and I would rather one of you than ever before. . Your loving friend, Adela Mont Barry Louis Vuitton Bags 'Agnes folded the letter, and feeling the need of
Milan and Florence, he had arranged that these cities to visit and assess Christian Louboutin Shoes Outlet the merits of the dancer for himself, before he joined the bride
! lower end of the room, and shouted at the Authentic Louis Vuitton Handbags top of her voice: "to our hotel, ladies and gentlemen, We Go get six percent of our money already,.
Mrs. Norbury (you Christian Louboutin Sale can as his lordship's second sister remember), and Mr. Francis Westwick and Mr. Henry Westwick.

Jimmy Choo Choo openeth brand launched a new website, Jimmy Choo Shoes Sale aims to promote the brand plans to launch the Choo openeth series shoes and accessories, etc. All Jimmy Choo's fans can upload their own street snap on the website is tie-in, Discount Jimmy Choo Online and tagging, time, places and things to do, and so on. Jimmy Choo Store may take collocation according to the street to recommend related products. Of course the most important thing is to accept many net friends. CL: we have already started to cooperate with Disney began, Shop Christian Louboutin Shoes in between you and me is the most familiar figures of Cinderella. Who else can more love than Cinderella shoes fantastic characters? Buy Christian Louboutin Heels Now I can't give the information. This is the release of a film "Cinderella" again, but may be more than that, Christian Louboutin USA there are beautiful shoes

Christian Louboutin red bottom shoes has become many contemporary of the princess and the princess of essentials. Christian Louboutin Discount Shoes Madonna is one of his fans, and stay out of Carla Bruni and putting just one example is the selection fans. Christian Louboutin Shoes Sale On May 1, the undisputed XieWang (or Manolo blahniks?) In London's design museum launched his first retrospective. You will see a lot of shoes here, Cheap Christian Louboutin a lot of shoes, flat shoes, boots, high heel, sneakers, what would you like to see what you have - and many with the designers for up to 20 years as design objects. Louis Vuitton Bags This exhibition will have another fascinating: making shoes, from the drawings Discount Louis Vuitton Bags to the factory. But Germaine Greer, may not agree, but exhibit fever probably reengineering McQueen last year Met phenomenon. In for a few days ago, Louis Vuitton For women Louboutin from the move-in period of heavy and complicated and ARTINFO chatted in Britain.

» All comments
» Comments RSS

Powered by Community Engine