0

Unable to build audio service for Linux

asked 2014-05-27 01:35:15 -0700

snap_networks gravatar image

Have followed all steps provided in https://allseenalliance.org/docs-and-downloads/documentation/getting-started-alljoyn-service-framework-linux-cpp & https://allseenalliance.org/docs-and-downloads/documentation/getting-started-alljoyn-audio-service-framework-10-cpp

But I dont see SinkService & SinkClient executables being built. No 'audio' folder under "...build/linux/x86/debug/dist/" either.

Any help is appreciated.

edit retag flag offensive close merge delete

Comments

May you please let me know about how to build and run the application for the same machine for linux. Thanks

Bhagwatks ( 2015-04-24 04:10:33 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-27 10:58:06 -0700

mitchw gravatar image

Take a look at the answer to this question.

Then, instead of using the scons command to build for Android, use this one to build for Linux. Make sure to run this from within the audio service directory $AJ_ROOT/services/audio.

scons BINDINGS=core,cpp SERVICES=about,audio WS=off
edit flag offensive delete publish link more

Comments

Thanks. I was able to get the build going. Now I have SinkService & SinkClient. I can run both along with the alljoyn_daemon and get to hear Audio on a linux machine. Can anyone let me know how to get these applications working across 2 linux machines?

snap_networks ( 2014-05-29 22:19:02 -0700 )edit

Can you please create a new Ask question for help on how to get SinkService & SinkClient running across 2 linux machines? Thanks.

mitchw ( 2014-06-03 10:12:16 -0700 )edit

yes, have done the same ... https://ask.allseenalliance.org/question/554/how-to-play-audio-across-linux-machines/ Thanks in advance.

snap_networks ( 2014-06-03 10:50:24 -0700 )edit

When I am building the same getting error: scons BINDINGS=cpp WS=off BT=off ICE=off SERVICES="about,notification,controlpanel,config,onboarding,sample_apps, audio" scons: Reading SConscript files ... Building bindings: cpp Building services: about, audio, notification, sample_apps, onboarding, controlpanel, config BULLSEYE_BIN not specified GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified GTEST_DIR not specified skipping alljoyn_core unit test build GTEST_DIR not specified skipping About Service unit test build scons: warning: Ignoring missing SConscript '/home/bhagwat/alljoyn-suite-14.06.00a-src/services/audio/build/linux/x86_64/debug/obj/unittest/SConscript' File "/home/bhagwat/alljoyn-suite-14.06.00a-src/services/audio/SConscript", line 70, in <module> scons: done reading SConscript files. scons: Building targets ... [CXX] /home/bhagwat/alljoyn-suite-14.06.00a-src/services/audio/src/posix/ALSADevice.

Bhagwatks ( 2015-04-14 03:21:16 -0700 )edit

In file included from /home/bhagwat/alljoyn-suite-14.06.00a-src/services/audio/src/posix/ALSADevice.cc:18:0: build/linux/x86_64/debug/dist/audio/inc/alljoyn/audio/posix/ALSADevice.h:30:28: fatal error: alsa/asoundlib.h: No such file or directory #include <alsa asoundlib.h=""> ^ compilation terminated. scons: *** [/home/bhagwat/alljoyn-suite-14.06.00a-src/services/audio/build/linux/x86_64/debug/obj/posix/ALSADevice.o] Error 1 scons: building terminated because of errors.

Bhagwatks ( 2015-04-14 03:21:25 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-05-27 01:35:15 -0700

Seen: 142 times

Last updated: May 27 '14