Compiling thin client application

asked 2015-03-24 11:38:54 -0700

jworr gravatar image

I know this is a very elementary/beginner question, but bear with me. I am brand new to AllJoyn. I've written thin-client application that I believe will work, but I cannot begin to figure out how to compile it. My target is Raspberry Pi model B.

My first thought is to modify the makefile for the sample applications, but will that be enough? Do I need to get into scons? Anything in the right direction would be appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-24 14:47:23 -0700

jprestwo gravatar image

updated 2015-03-24 14:48:40 -0700

You can go the Makefile route but you would be making way more work for yourself. Personally I would modify the SConscript to compile your application along with Thin Client. Then you don't have to worry about include paths, libraries, or source files that you may not be familiar with. Here is what you should do:

  1. SSH onto your Raspberry Pi and create some directory for all your work
  2. Get scons (sudo apt-get install scons)
  3. Clone the AllJoyn Thin Client repository
  4. Build it (run scons, you may also need the openssl library, it will say "could not find libopenssl.a")
  5. Put your application in the test directory (you can put it anywhere but that location will be easiest)
  6. Edit "test/SConscript" and add your application in the same manor as all the others
  7. Build it again and you should see your application as a binary in the test directory

Use this for reference: https://wiki.allseenalliance.org/develop/downloading_the_source

And you will just need the ajtcl git repo unless you plan on using any services.

You can also find more details here: https://wiki.allseenalliance.org/develop/building_and_running

Good luck.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2015-03-24 11:38:54 -0700

Seen: 444 times

Last updated: Mar 24 '15