shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
238 stars 63 forks source link

Build not working due to missing file #54

Closed Megubit closed 5 years ago

Megubit commented 5 years ago

Trying to make a new build fails with the following error:

../shaka/src/mapping/js_wrappers.h:26:10: fatal error: 'src/js/idb/database.pb.h' file not found
#include "src/js/idb/database.pb.h"

This line was added in this commit, but the file is missing in the destination.

Also something I noticed in previous builds, when the build is complete (using --eme-impl for config; I didn't try without it), the file eme_promise.h is missing from ShakaPlayerEmbedded.framework/Headers/eme, easily fixed by just pasting the file there.

TheModMaker commented 5 years ago

That file is auto-generated by the build and should be there. Can you provide the command line you passed to ./configure? Are you using the Widevine CDM with --eme-impl or are you using a custom EME implementation? Can you provide the whole log output (probably using something like pastebin)?

I've confirmed the eme_promise.h file is missing, I'll create a commit to fix that.

Megubit commented 5 years ago

This is the configure: ../configure --ios --cpu arm64 --disable-demo --disable-tests --eme-impl /Users/mac/Projects/wv_prebuilt_cdm/shaka_plugin/dev_cdm.json

Sadly I can't provide the whole log output at the moment, I'm not at the office, but I'll do it tomorrow. And yes, it's Widevine.

TheModMaker commented 5 years ago

Never mind, I was able to reproduce the error. It should be fixed now.