mtytel / vital

Spectral warping wavetable synth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to load Firebase app options

tank-trax opened this issue · comments

Operating System: Debian GNU/Linux 10
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.54.0
Kernel Version: 5.9.1-rt20avl1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-3470 CPU @ 3.20GHz
Memory: 11.4 GiB of RAM

Vial Standalone and plugins build successfully but cannot load and the plugins crash

./vial 
ERROR: Unable to load Firebase app options ([google-services-desktop.json, google-services.json] are missing or malformed)
ERROR: Failed to load default options when attempting to populate missing fields
ERROR: App ID and API key must be specified in App options.
ASSERT: /tmpfs/src/gfile/kokoro_authlinux-x86_64/firebase/auth/client/cpp/src/desktop/auth_desktop.cc(86): app
Killed

that error occurred when using make from the top level vital directly

it built and runs without error when compiling from the vital/standalone/builds/linux location

however same thing when the VST instruments are built from vital/plugin/builds/linux_vst/

fixed it apparently by changing -DREQUIRE_AUTH=1 to -DREQUIRE_AUTH=0

commented

fixed it apparently by changing -DREQUIRE_AUTH=1 to -DREQUIRE_AUTH=0

What did you pass the -DREQUIRE_AUTH=0 parameter to? That looks like a CMake command line option but this doesn't use CMake.

I changed it in the Makefile

I am having some success, but think I can only build Debug and not the Release version
heavy CPU load with the Standalone

You need to pass the compiler option -DNO_AUTH=1.

adding -DNO_AUTH=1 and -DREQUIRE_AUTH=0 and the CPU load is reasonable now

commented

What Makefile are you modifying?

in vital/standalone/builds/linux and vital/plugin/builds/linux_vst

I had the same problem yesterday. With your help I can now compile and run standalone. Thanks for posting @tank-trax and @taylordotfish !

And thanks again @mtytel for releasing and letting us play with this in multiple ways! :-)

I have a fork of Vital which, among various fixes, removes the dependency on the Firebase SDK altogether. Even with NO_AUTH=1, the upstream version of Vital in this repository links to prebuilt binaries in third_party/firebase_cpp_sdk/libs, which might not be preferred by the kinds of people who like to compile their own software.