Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LEDE support #170

Closed
sven3 opened this issue Jan 25, 2017 · 8 comments
Closed

LEDE support #170

sven3 opened this issue Jan 25, 2017 · 8 comments

Comments

@sven3
Copy link

sven3 commented Jan 25, 2017

Unfortunately, Snapclient does not compile under current LEDE (OpenWrt fork). The error I get is:

In file included from player/player.h:29:0,
from player/alsaPlayer.h:22,
from player/alsaPlayer.cpp:19:
../common/log.h:29:24: error: expected initializer before '<<' token
#define logO std::clog << kOut
^
In file included from ../common/strCompat.h:10:0,
from player/alsaPlayer.cpp:22:
/home/buildd/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/include/c++/5.4.0/cmath:353:11: error: '::log' has not been declared
using ::log;
^
Makefile:74: recipe for target 'player/alsaPlayer.o' failed
make[3]: *** [player/alsaPlayer.o] Error 1`

Is support for LEDE planned?

Or does anybody has a clue how to get around this error?

Thanks!
Sven

@nickaknudson
Copy link
Contributor

Currently Snapcast doesn't compile under GCC 5.x

Try falling back to 4.9.x

@badaix
Copy link
Owner

badaix commented Mar 5, 2017

@celevra successfully compiled for lede. Maybe the fix #203 will work for you too
I'm not aware of any compilation problems with GCC 5.x

@badaix
Copy link
Owner

badaix commented Mar 9, 2017

this one should be fixed with #146. Please try again with the latest version (develop and master should compile now)

In file included from ../common/strCompat.h:10:0,
from player/alsaPlayer.cpp:22:
/home/buildd/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/include/c++/5.4.0/cmath:353:11: error: '::log' has not been declared

@sven3
Copy link
Author

sven3 commented Mar 10, 2017

Thank you very much @nickaknudson and @badaix, I will give it a try!

@sven3
Copy link
Author

sven3 commented Mar 10, 2017

I can confirm that snapclient compiles like a charm using an unmodified LEDE 17.01. Thank you very much!!

@sven3 sven3 closed this as completed Mar 10, 2017
@gsalvati
Copy link

@sven3 where do you use the Snapcast? Omega2?
How do I compile it on my pc to use on omega2?

@celevra
Copy link
Contributor

celevra commented Mar 21, 2017

@sven3
Copy link
Author

sven3 commented Mar 21, 2017

@gsalvati I use snapclient on LEDE supported boards and build it using my own build system, according to the notes found here: https://github.com/badaix/snapcast/blob/master/doc/build.md#openwrtlede-cross-compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants