mtytel / vital

Spectral warping wavetable synth
GNU General Public License v3.0
1.56k stars 152 forks source link

Unable to load Firebase app options #2

Open tank-trax opened 3 years ago

tank-trax commented 3 years ago

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
tank-trax commented 3 years ago

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

Be-ing commented 3 years ago

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.

tank-trax commented 3 years ago

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

taylordotfish commented 3 years ago

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

tank-trax commented 3 years ago

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

Be-ing commented 3 years ago

What Makefile are you modifying?

tank-trax commented 3 years ago

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

martin-lindahl commented 3 years ago

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! :-)

taylordotfish commented 3 years ago

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.