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

Errors when building #1

Open
Myran opened this issue Feb 12, 2020 · 0 comments
Open

Errors when building #1

Myran opened this issue Feb 12, 2020 · 0 comments

Comments

@Myran
Copy link

Myran commented Feb 12, 2020

Hello,
first thank you for adding this to github! I am trying to build this on macos I get the following error:

[ 45%] Compiling ==> modules/firebase/admob.cpp
[ 45%] Compiling ==> modules/firebase/analytics.cpp
[ 46%] Compiling ==> modules/firebase/auth.cpp
[ 46%] Compiling ==> modules/firebase/convertor.cpp
[ 46%] Compiling ==> modules/firebase/database.cpp
In file included from modules/firebase/analytics.cpp:1:
In file included from modules/firebase/analytics.h:6:
modules/firebase/firebase.h:12:9: error: unknown type name 'id' [2]
 typedef id AppActivity;
         ^
In file included from modules/firebase/auth.cpp:1:
In file included from modules/firebase/auth.h:6:
modules/firebase/firebase.h:12:9: error: unknown type name 'id' [2]
 typedef id AppActivity;
         ^
[ 46%] Compiling ==> modules/firebase/firebase.cpp
1 error generated.
scons: *** [modules/firebase/analytics.iphone.opt.arm64.o] Error 1
1 error generated.
scons: *** [modules/firebase/auth.iphone.opt.arm64.o] Error 1
In file included from modules/firebase/convertor.cpp:1:
In file included from modules/firebase/convertor.h:6:
modules/firebase/firebase.h:12:9: error: unknown type name 'id' [2]
 typedef id AppActivity;
         ^
In file included from modules/firebase/database.cpp:1:
In file included from modules/firebase/database.h:6:
modules/firebase/firebase.h:12:9: error: unknown type name 'id' [2]
 typedef id AppActivity;
         ^
1 error generated.
scons: *** [modules/firebase/convertor.iphone.opt.arm64.o] Error 1
1 error generated.
scons: *** [modules/firebase/database.iphone.opt.arm64.o] Error 1
In file included from modules/firebase/firebase.cpp:1:
modules/firebase/firebase.h:12:9: error: unknown type name 'id' [2]
 typedef id AppActivity;
         ^
modules/firebase/firebase.cpp:40:12:{40:12-40:21}: error: cannot initialize return object of type 'AppActivity' (aka 'int') with an lvalue of type 'void *' [2]
     return _instance;
            ^~~~~~~~~
2 errors generated.
scons: *** [modules/firebase/firebase.iphone.opt.arm64.o] Error 1
scons: building terminated because of errors.

Also if you have a small example of usage that would be great to look at.

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

1 participant