Hello!
I want to create application using Samsung NaCl Player functionality, but faced several problems.
First of all I download nacl sdk toolchain form here: https://developer.samsung.com/tv/develop/extension-libraries/nacl/download
And NativePlayer project from here: https://github.com/SamsungDForum/NativePlayer
When I tried to build this project I get this errors from linker:
.../pepper_56/toolchain/linux_pnacl/bin/le32-nacl-ld.gold: warning: LLVM gold plugin: linking module flags 'Debug Info Version': IDs have conflicting values .../pepper_56/toolchain/linux_pnacl/bin/le32-nacl-ld.gold: fatal error: LLVM gold plugin has failed to create LTO module: Invalid record
Then I tried to build way more simple application which I wrote by myself with some Samsung::NaClPlayer functionality and also get errors from linker
.../pepper_56/lib/pnacl/Debug/libnacl_player.a: error: undefined reference to 'pp::MediaPlayer_Samsung::MediaPlayer_Samsung(pp::MediaPlayer_Samsung const&)' .../pepper_56/lib/pnacl/Debug/libnacl_player.a: error: undefined reference to 'pp::MediaPlayer_Samsung::~MediaPlayer_Samsung()
I assume that's because libraries which supplied with NaCl sdk are ancient. I tried to rebuild them running 'make all_versions NO_HOST_BUILDS=1' from 'src' folder. But when make enters nacl_player directory it fails with:
CXX glibc/Release/audio_elementary_stream_x86_32.o cc1plus: error: unrecognized command line option "-std=gnu++11"
Which is no surprise, because nacl_sdk/pepper_56/toolchain/linux_x86_glibc/x86_64-nacl/bin/g++ --version is 4.4.3 (!)
I tried to run just 'make all_versions' without NO_HOST_BUILD=1 (my g++ is 7.3.0) but i get the same result
I would appreciate any help with these questions:
Where to find actual nacl_player lib?
How to build them by myself?
Whom else i can address with my problem?
Please, do not redirect me to that forum https://developer.samsung.com/forum/en
I've already post there and it's dead.