Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Android studio build libdc.so file error #1930

Open
android-1995 opened this issue Jan 20, 2021 · 0 comments
Open

Android studio build libdc.so file error #1930

android-1995 opened this issue Jan 20, 2021 · 0 comments

Comments

@android-1995
Copy link

android-1995 commented Jan 20, 2021

Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.

Platform Branch Hash CIDL
Android Studio 4.1.2 beta Branch unchanged any code

Description of the Issue

andorid ndk version:21.3.6528147
Android studio build libdc.so file error

Debugging Steps Tested

  • clone code
  • android studio open project : reicast-emulator\reicast\android-studio
  • run reicast

Logs Gathered

In file included from ..\..\..\libswirl\gui\gui.cpp:33:
..\..\..\libswirl\version.h:1:1: error: expected unqualified-id
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:45: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:52: error: ISO C++ forbids forward references to 'enum' types
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:59: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:66: error: ISO C++ forbids forward references to 'enum' types
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:71: error: unknown type name 'GLuint'; did you mean 'uint'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:81: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:88: error: ISO C++ forbids forward references to 'enum' types
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:97: error: unknown type name 'GLsizei'
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:89:118: error: unknown type name 'GLchar'
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:62: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:77: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:90: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:107: error: unknown type name 'GLsizei'
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:128: error: unknown type name 'GLuint'; did you mean 'uint'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:131:141: error: unknown type name 'GLboolean'
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:132:61: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:132:76: error: unknown type name 'GLenum'; did you mean 'enum'?
In file included from ..\..\..\libswirl\gui\gui_settings_about.cpp:15:
In file included from ..\..\..\libswirl\utils\glwrap\GLES.h:21:
..\..\..\libswirl\deps\khronos\GLES32\gl2ext.h:132:89: error: unknown type name 'GLuint'; did you mean 'uint'?
In file included from ..\..\..\libswirl\gui\gui_welcome.cpp:9:
..\..\..\libswirl\gui\gui.h:30:24: error: use of undeclared identifier 'GUI'
..\..\..\libswirl\gui\gui_welcome.cpp:66:16: error: use of undeclared identifier 'REICAST_VERSION'

Screenshots
image
image

  • [X ] Place an X in the box to confirm you have filled in this form
@android-1995 android-1995 changed the title Android studio build so error Android studio build so file error Jan 21, 2021
@android-1995 android-1995 changed the title Android studio build so file error Android studio build libdc.so file error Jan 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant