Skip to content

Instantly share code, notes, and snippets.

@BlackLotus
Last active August 29, 2015 14:12
Show Gist options
  • Save BlackLotus/eaafaee8567e6433265a to your computer and use it in GitHub Desktop.
Save BlackLotus/eaafaee8567e6433265a to your computer and use it in GitHub Desktop.
desmume compilation error
W/ResourceType( 581): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 581): Failure retrieving resources for com.google.android.music: Resource ID #0x0
W/MicReader( 581): Error related to mic rpc: 1
W/ResourceType( 581): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 581): Failure retrieving resources for com.google.android.deskclock: Resource ID #0x0
I/art ( 435): Explicit concurrent mark sweep GC freed 12674(767KB) AllocSpace objects, 6(96KB) LOS objects, 15% free, 10MB/12MB, paused 63.351ms total 331.143ms
I/art ( 435): WaitForGcToComplete blocked for 19.415s for cause HeapTrim
W/wearable( 641): took 1134 ms to process the read
E/bt-btif ( 991): send none, EAGAIN or EWOULDBLOCK, errno:11
I/art ( 581): Background sticky concurrent mark sweep GC freed 2988(270KB) AllocSpace objects, 12(1301KB) LOS objects, 7% free, 15MB/16MB, paused 6.875ms total 155.910ms
I/WearablePkgInstaller( 1632): Package com.npi.wearminilauncher was installed.
I/ActivityManager( 435): Killing 1271:com.google.android.GoogleCamera/u0a29 (adj 15): empty #17
I/art ( 641): Background sticky concurrent mark sweep GC freed 5982(1612KB) AllocSpace objects, 0(0B) LOS objects, 23% free, 5MB/7MB, paused 4.104ms total 264.419ms
W/libprocessgroup( 435): failed to open /acct/uid_10029/pid_1271/cgroup.procs: No such file or directory
I/ActivityManager( 435): START u0 {cmp=com.retroarch/.browser.coremanager.CoreManagerActivity} from uid 10054 on display 0
D/AndroidRuntime( 1768): Shutting down VM
E/AndroidRuntime( 1768): FATAL EXCEPTION: main
E/AndroidRuntime( 1768): Process: com.retroarch, PID: 1768
E/AndroidRuntime( 1768): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.retroarch/com.retroarch.browser.coremanager.CoreManagerActivity}: android.util.AndroidRuntimeException: You cannot
combine swipe dismissal and the action bar.
E/AndroidRuntime( 1768): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
E/AndroidRuntime( 1768): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime( 1768): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 1768): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime( 1768): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1768): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1768): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 1768): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1768): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 1768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 1768): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
E/AndroidRuntime( 1768): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:321)
E/AndroidRuntime( 1768): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3259)
E/AndroidRuntime( 1768): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3561)
E/AndroidRuntime( 1768): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:367)
E/AndroidRuntime( 1768): at android.app.Activity.setContentView(Activity.java:2144)
E/AndroidRuntime( 1768): at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:208)
E/AndroidRuntime( 1768): at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:111)
E/AndroidRuntime( 1768): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:76)
E/AndroidRuntime( 1768): at com.retroarch.browser.coremanager.CoreManagerActivity.onCreate(CoreManagerActivity.java:29)
E/AndroidRuntime( 1768): at android.app.Activity.performCreate(Activity.java:5943)
E/AndroidRuntime( 1768): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 1768): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/AndroidRuntime( 1768): ... 10 more
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.coremanager.CoreManagerActivity
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.mainmenu.MainMenuActivity
I/art ( 1768): Background sticky concurrent mark sweep GC freed 4559(377KB) AllocSpace objects, 3(44KB) LOS objects, 9% free, 4MB/5MB, paused 9.850ms total 173.627ms
E/bt-btif ( 991): send none, EAGAIN or EWOULDBLOCK, errno:11
--
I/Sugar ( 1730): AppEntity saved : 44
D/SQL Log ( 1730): SQLiteQuery: SELECT * FROM APP_ENTITY WHERE package_name=? AND activity_name=?
I/ActivityManager( 435): Delay finish: com.npi.wearminilauncher/.receiver.AppReceiver
I/art ( 581): Background sticky concurrent mark sweep GC freed 2869(269KB) AllocSpace objects, 4(1225KB) LOS objects, 10% free, 13MB/15MB, paused 3.541ms total 180.919ms
D/SQL Log ( 1730): SQLiteQuery: SELECT * FROM APP_ENTITY WHERE EXCLUDED = 0
I/art ( 641): Background sticky concurrent mark sweep GC freed 7454(1662KB) AllocSpace objects, 0(0B) LOS objects, 24% free, 5MB/7MB, paused 6.546ms total 25.680ms
I/Choreographer( 1730): Skipped 31 frames! The application may be doing too much work on its main thread.
D/org.fdroid.fdroid.data.InstalledAppCacheUpdater( 1795): Finished executing 50 CRUD operations on installed app cache.
D/org.fdroid.fdroid.data.InstalledAppCacheUpdater( 1795): Took 8575ms to compare the installed app cache with PackageManager.
I/org.fdroid.fdroid.data.InstalledAppCacheUpdater( 1795): Installed app cache has changed, notifying content providers (so they can update the relevant views).
W/ActivityManager( 435): Activity destroy timeout for ActivityRecord{ed03b92 u0 com.retroarch/.browser.mainmenu.MainMenuActivity t547 f}
W/ActivityManager( 435): Activity destroy timeout for ActivityRecord{1e6b9a54 u0 com.retroarch/.browser.coremanager.CoreManagerActivity t548 f}
D/TaskPersister( 435): removeObsoleteFile: deleting file=548_task.xml
I/ActivityManager( 435): Waited long enough for: ServiceRecord{ad24697 u0 com.npi.wearminilauncher/.service.DrawerService}
I/ActivityManager( 435): Resuming delayed broadcast
I/ConfigFetchService( 615): PackageReceiver: Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.npi.wearminilauncher flg=0x4000010 cmp=com.google.android.gms/.config.ConfigFetchService$PackageReceiver
(has extras) }
I/ConfigService( 662): onCreate
I/ConfigService( 662): onBind for Intent { act=com.google.android.gms.config.UPDATE pkg=com.google.android.gms } action com.google.android.gms.config.UPDATE
I/ConfigService( 662): onBind returning update interface
I/ConfigService( 662): onBind for Intent { act=com.google.android.gms.config.START pkg=com.google.android.gms } action com.google.android.gms.config.START
I/ConfigService( 662): onBind returning config service
W/ResourceType( 581): No package identifier when getting value for resource number 0x00000000
Core Manager Fail:
I/ActivityManager( 435): START u0 {cmp=com.retroarch/.browser.preferences.PreferenceActivity} from uid 10036 on display 0
D/AndroidRuntime(31271): Shutting down VM
E/AndroidRuntime(31271): FATAL EXCEPTION: main
E/AndroidRuntime(31271): Process: com.retroarch, PID: 31271
E/AndroidRuntime(31271): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.retroarch/com.retroarch.browser.preferences.PreferenceActivity}: android.util.AndroidRuntimeException: You cannot
combine swipe dismissal and the action bar.
E/AndroidRuntime(31271): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
E/AndroidRuntime(31271): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime(31271): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime(31271): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime(31271): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(31271): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(31271): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime(31271): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(31271): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(31271): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime(31271): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime(31271): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
E/AndroidRuntime(31271): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:321)
E/AndroidRuntime(31271): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3259)
E/AndroidRuntime(31271): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3561)
E/AndroidRuntime(31271): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:367)
E/AndroidRuntime(31271): at android.app.Activity.setContentView(Activity.java:2144)
E/AndroidRuntime(31271): at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:208)
E/AndroidRuntime(31271): at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:111)
E/AndroidRuntime(31271): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:76)
E/AndroidRuntime(31271): at com.retroarch.browser.preferences.PreferenceActivity.onCreate(PreferenceActivity.java:36)
E/AndroidRuntime(31271): at android.app.Activity.performCreate(Activity.java:5943)
E/AndroidRuntime(31271): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime(31271): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/AndroidRuntime(31271): ... 10 more
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.preferences.PreferenceActivity
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.mainmenu.MainMenuActivity
W/ActivityManager( 435): Activity pause timeout for ActivityRecord{234f5924 u0 com.retroarch/.browser.preferences.PreferenceActivity t59 f}
I/AudioFlinger( 164): AudioFlinger's thread 0xb5b83000 ready to run
I/ActivityManager( 435): Killing 2685:com.appfour.wearbrowser/u0a29 (adj 15): empty #17
W/libprocessgroup( 435): failed to open /acct/uid_10029/pid_2685/cgroup.procs: No such file or directory
D/TaskPersister( 435): removeObsoleteFile: deleting file=58_task.xml
Settings Fail:
D/WearApiHelper(29851): Disconnecting
I/ActivityManager( 435): START u0 {cmp=com.retroarch/.browser.coremanager.CoreManagerActivity} from uid 10036 on display 0
D/AndroidRuntime( 2077): Shutting down VM
E/AndroidRuntime( 2077): FATAL EXCEPTION: main
E/AndroidRuntime( 2077): Process: com.retroarch, PID: 2077
E/AndroidRuntime( 2077): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.retroarch/com.retroarch.browser.coremanager.CoreManagerActivity}: android.util.AndroidRuntimeException: You cannot
combine swipe dismissal and the action bar.
E/AndroidRuntime( 2077): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
E/AndroidRuntime( 2077): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime( 2077): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 2077): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime( 2077): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2077): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 2077): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 2077): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2077): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2077): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 2077): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 2077): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
E/AndroidRuntime( 2077): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:321)
E/AndroidRuntime( 2077): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3259)
E/AndroidRuntime( 2077): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3561)
E/AndroidRuntime( 2077): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:367)
E/AndroidRuntime( 2077): at android.app.Activity.setContentView(Activity.java:2144)
E/AndroidRuntime( 2077): at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:208)
E/AndroidRuntime( 2077): at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:111)
E/AndroidRuntime( 2077): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:76)
E/AndroidRuntime( 2077): at com.retroarch.browser.coremanager.CoreManagerActivity.onCreate(CoreManagerActivity.java:29)
E/AndroidRuntime( 2077): at android.app.Activity.performCreate(Activity.java:5943)
E/AndroidRuntime( 2077): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 2077): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/AndroidRuntime( 2077): ... 10 more
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.coremanager.CoreManagerActivity
W/ActivityManager( 435): Force finishing activity com.retroarch/.browser.mainmenu.MainMenuActivity
I/art ( 2077): Background sticky concurrent mark sweep GC freed 4532(353KB) AllocSpace objects, 3(44KB) LOS objects, 8% free, 4MB/5MB, paused 18.022ms total 84.547ms
W/ActivityManager( 435): Activity pause timeout for ActivityRecord{20ec8397 u0 com.retroarch/.browser.coremanager.CoreManagerActivity t61 f}
g++ -DHAVE_JIT -DNDEBUG -O3 -DX432R_CUSTOMRENDERER_ENABLED -D__LIBRETRO__ -fPIC -iquote src -iquote src/libretro -c -o src/libretro/libretro.o src/libretro/libretro.cpp
src/libretro/libretro.cpp:42:2: error: ‘CRITICAL_SECTION’ does not name a type
CRITICAL_SECTION customFrontBufferSync;
^
src/libretro/libretro.cpp:44:9: error: ‘GLuint’ does not name a type
static GLuint screenTexture = 0;
^
src/libretro/libretro.cpp:45:9: error: ‘GLuint’ does not name a type
static GLuint hudTexture = 0;
^
src/libretro/libretro.cpp: In function ‘void X432R::ClearBuffers()’:
src/libretro/libretro.cpp:59:3: error: ‘Lock’ was not declared in this scope
Lock lock(customFrontBufferSync);
^
src/libretro/libretro.cpp: In function ‘bool X432R::IsHighResolutionRendererSelected()’:
src/libretro/libretro.cpp:75:9: error: ‘GPU3D_SWRAST_X2’ was not declared in this scope
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:76:9: error: ‘GPU3D_SWRAST_X3’ was not declared in this scope
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:77:9: error: ‘GPU3D_SWRAST_X4’ was not declared in this scope
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp:78:9: error: ‘GPU3D_OPENGL_X2’ was not declared in this scope
case GPU3D_OPENGL_X2:
^
src/libretro/libretro.cpp:79:9: error: ‘GPU3D_OPENGL_X3’ was not declared in this scope
case GPU3D_OPENGL_X3:
^
src/libretro/libretro.cpp:80:9: error: ‘GPU3D_OPENGL_X4’ was not declared in this scope
case GPU3D_OPENGL_X4:
^
src/libretro/libretro.cpp: In function ‘bool X432R::IsSoftRasterzierSelected()’:
src/libretro/libretro.cpp:91:9: error: ‘GPU3D_SWRAST’ was not declared in this scope
case GPU3D_SWRAST:
^
src/libretro/libretro.cpp:92:9: error: ‘GPU3D_SWRAST_X2’ was not declared in this scope
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:93:9: error: ‘GPU3D_SWRAST_X3’ was not declared in this scope
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:94:9: error: ‘GPU3D_SWRAST_X4’ was not declared in this scope
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp: In function ‘void X432R::UpdateFrontBuffer()’:
src/libretro/libretro.cpp:142:47: error: ‘romloaded’ was not declared in this scope
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:142:60: error: ‘finished’ was not declared in this scope
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:142:72: error: ‘display_die’ was not declared in this scope
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:156:3: error: ‘Lock’ was not declared in this scope
Lock lock(customFrontBufferSync); // ƒXƒR[ƒv‚𔲂¯‚Ä‚±‚̃Cƒ“ƒXƒ^ƒ“ƒX‚̃fƒXƒgƒ‰ƒNƒ^‚ªŒÄ‚΂ê‚é‚ÆŽ©“®“I‚ɃƒbƒN‚ª‰ðœ‚³‚ê‚é
^
src/libretro/libretro.cpp:158:68: error: ‘newestDisplayBuffer’ was not declared in this scope
const u8 buffer_index = CommonSettings.single_core() ? 0 : clamp(newestDisplayBuffer, 0, 2);
^
src/libretro/libretro.cpp:158:93: error: ‘clamp’ was not declared in this scope
const u8 buffer_index = CommonSettings.single_core() ? 0 : clamp(newestDisplayBuffer, 0, 2);
^
src/libretro/libretro.cpp:166:9: error: ‘GPU3D_SWRAST_X2’ was not declared in this scope
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:173:9: error: ‘GPU3D_SWRAST_X3’ was not declared in this scope
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:180:9: error: ‘GPU3D_SWRAST_X4’ was not declared in this scope
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp: In function ‘void X432R::ChangeRenderMagnification(u32)’:
src/libretro/libretro.cpp:203:9: error: ‘GPU3D_SWRAST’ was not declared in this scope
case GPU3D_SWRAST:
^
src/libretro/libretro.cpp:204:9: error: ‘GPU3D_SWRAST_X2’ was not declared in this scope
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:205:9: error: ‘GPU3D_SWRAST_X3’ was not declared in this scope
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:206:9: error: ‘GPU3D_SWRAST_X4’ was not declared in this scope
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp:214:28: error: ‘GPU3D_SWRAST_X2’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X2 : GPU3D_OPENGL_X2;
^
src/libretro/libretro.cpp:214:46: error: ‘GPU3D_OPENGL_X2’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X2 : GPU3D_OPENGL_X2;
^
src/libretro/libretro.cpp:218:28: error: ‘GPU3D_SWRAST_X3’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X3 : GPU3D_OPENGL_X3;
^
src/libretro/libretro.cpp:218:46: error: ‘GPU3D_OPENGL_X3’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X3 : GPU3D_OPENGL_X3;
^
src/libretro/libretro.cpp:222:28: error: ‘GPU3D_SWRAST_X4’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X4 : GPU3D_OPENGL_X4;
^
src/libretro/libretro.cpp:222:46: error: ‘GPU3D_OPENGL_X4’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST_X4 : GPU3D_OPENGL_X4;
^
src/libretro/libretro.cpp:226:28: error: ‘GPU3D_SWRAST’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST : GPU3D_OPENGL_3_2;
^
src/libretro/libretro.cpp:226:43: error: ‘GPU3D_OPENGL_3_2’ was not declared in this scope
cur3DCore = softrast ? GPU3D_SWRAST : GPU3D_OPENGL_3_2;
^
src/libretro/libretro.cpp:230:44: error: ‘Change3DCoreWithFallbackAndSave’ was not declared in this scope
Change3DCoreWithFallbackAndSave(cur3DCore);
^
src/libretro/libretro.cpp: In function ‘bool X432R::IsHudVisible()’:
src/libretro/libretro.cpp:249:11: error: ‘class OSDCLASS’ has no member named ‘GetLineCount’
( osd->GetLineCount() > 0 )
^
src/libretro/libretro.cpp: In function ‘void X432R::DD_UpdateBackSurface(const u32*, u32, u32)’:
src/libretro/libretro.cpp:588:30: error: ‘ddraw’ was not declared in this scope
const u32 dest_linepitch = ddraw.surfDescBack.lPitch / 4; // ddraw.surfDescBack.lPitch / ( sizeof(u32) / sizeof(u8) )
^
src/libretro/libretro.cpp: At global scope:
src/libretro/libretro.cpp:723:26: error: variable or field ‘DD_FillRect’ declared void
static void DD_FillRect(LPDIRECTDRAWSURFACE7 surface, const u32 left, const u32 top, const u32 right, const u32 bottom)
^
src/libretro/libretro.cpp:723:26: error: ‘LPDIRECTDRAWSURFACE7’ was not declared in this scope
src/libretro/libretro.cpp:723:56: error: expected primary-expression before ‘const’
static void DD_FillRect(LPDIRECTDRAWSURFACE7 surface, const u32 left, const u32 top, const u32 right, const u32 bottom)
^
src/libretro/libretro.cpp:723:72: error: expected primary-expression before ‘const’
static void DD_FillRect(LPDIRECTDRAWSURFACE7 surface, const u32 left, const u32 top, const u32 right, const u32 bottom)
^
src/libretro/libretro.cpp:723:87: error: expected primary-expression before ‘const’
static void DD_FillRect(LPDIRECTDRAWSURFACE7 surface, const u32 left, const u32 top, const u32 right, const u32 bottom)
^
src/libretro/libretro.cpp:723:104: error: expected primary-expression before ‘const’
static void DD_FillRect(LPDIRECTDRAWSURFACE7 surface, const u32 left, const u32 top, const u32 right, const u32 bottom)
^
src/libretro/libretro.cpp: In function ‘void X432R::DD_DoDisplay()’:
src/libretro/libretro.cpp:746:9: error: ‘HWND’ does not name a type
const HWND window_handle = MainWindow->getHWnd();
^
src/libretro/libretro.cpp:749:31: error: ‘video’ was not declared in this scope
const u32 rotation_angle = (video.layout == 0) ? video.rotation : 0;
^
src/libretro/libretro.cpp:771:10: error: ‘class OSDCLASS’ has no member named ‘swapScreens’
osd->swapScreens = screen_swap;
^
src/libretro/libretro.cpp:772:5: error: ‘aggDraw’ was not declared in this scope
aggDraw.hud->attach( (u8*)hudBuffer, GFX3D_FRAMEBUFFER_WIDTH, GFX3D_FRAMEBUFFER_HEIGHT * 2, GFX3D_FRAMEBUFFER_WIDTH * 4 );
^
src/libretro/libretro.cpp:774:23: error: there are no arguments to ‘DoDisplay_DrawHud’ that depend on a template parameter, so a declaration of ‘DoDisplay_DrawHud’ must be available [-fpermissive]
DoDisplay_DrawHud();
^
src/libretro/libretro.cpp:774:23: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/libretro/libretro.cpp:777:9: error: ‘ddraw’ was not declared in this scope
if( !ddraw.lock() ) return;
^
src/libretro/libretro.cpp:779:28: error: ‘ddraw’ was not declared in this scope
const u32 color_depth = ddraw.surfDescBack.ddpfPixelFormat.dwRGBBitCount;
^
src/libretro/libretro.cpp:791:27: error: there are no arguments to ‘GetStyle’ that depend on a template parameter, so a declaration of ‘GetStyle’ must be available [-fpermissive]
SetStyle( ( GetStyle() & ~DWS_DISPMETHODS ) | DWS_OPENGL );
^
src/libretro/libretro.cpp:791:32: error: ‘DWS_DISPMETHODS’ was not declared in this scope
SetStyle( ( GetStyle() & ~DWS_DISPMETHODS ) | DWS_OPENGL );
^
src/libretro/libretro.cpp:791:52: error: ‘DWS_OPENGL’ was not declared in this scope
SetStyle( ( GetStyle() & ~DWS_DISPMETHODS ) | DWS_OPENGL );
^
src/libretro/libretro.cpp:792:55: error: ‘DISPMETHOD_OPENGL’ was not declared in this scope
WritePrivateProfileInt("Video","Display Method", DISPMETHOD_OPENGL, IniName);
^
src/libretro/libretro.cpp:792:74: error: ‘IniName’ was not declared in this scope
WritePrivateProfileInt("Video","Display Method", DISPMETHOD_OPENGL, IniName);
^
src/libretro/libretro.cpp:792:81: error: there are no arguments to ‘WritePrivateProfileInt’ that depend on a template parameter, so a declaration of ‘WritePrivateProfileInt’ must be available [-fpermissive]
WritePrivateProfileInt("Video","Display Method", DISPMETHOD_OPENGL, IniName);
^
src/libretro/libretro.cpp:793:27: error: ‘window_handle’ was not declared in this scope
ddraw.createSurfaces(window_handle);
^
src/libretro/libretro.cpp:803:5: error: ‘Lock’ was not declared in this scope
Lock lock(customFrontBufferSync);
^
src/libretro/libretro.cpp:807:61: error: ‘currDisplayBuffer’ was not declared in this scope
buffer_index = CommonSettings.single_core() ? 0 : clamp(currDisplayBuffer, 0, 2);
^
src/libretro/libretro.cpp:807:84: error: there are no arguments to ‘clamp’ that depend on a template parameter, so a declaration of ‘clamp’ must be available [-fpermissive]
buffer_index = CommonSettings.single_core() ? 0 : clamp(currDisplayBuffer, 0, 2);
^
src/libretro/libretro.cpp:873:3: error: ‘RECT’ was not declared in this scope
RECT screen_source_rect[2] =
^
src/libretro/libretro.cpp:889:9: error: ‘source_rect’ was not declared in this scope
RECT *source_rect[2] =
^
src/libretro/libretro.cpp:891:5: error: ‘screen_source_rect’ was not declared in this scope
&screen_source_rect[0],
^
src/libretro/libretro.cpp:893:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
};
^
src/libretro/libretro.cpp:895:9: error: ‘dest_rect’ was not declared in this scope
RECT *dest_rect[2] =
^
src/libretro/libretro.cpp:897:19: error: ‘SubScreenRect’ was not declared in this scope
screen_swap ? &SubScreenRect : &MainScreenRect,
^
src/libretro/libretro.cpp:897:36: error: ‘MainScreenRect’ was not declared in this scope
screen_swap ? &SubScreenRect : &MainScreenRect,
^
src/libretro/libretro.cpp:899:3: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
};
^
src/libretro/libretro.cpp:902:8: error: expected ‘;’ before ‘window_rect’
RECT window_rect;
^
src/libretro/libretro.cpp:906:17: error: ‘window_handle’ was not declared in this scope
GetWindowRect(window_handle, &window_rect);
^
src/libretro/libretro.cpp:906:33: error: ‘window_rect’ was not declared in this scope
GetWindowRect(window_handle, &window_rect);
^
src/libretro/libretro.cpp:906:44: error: there are no arguments to ‘GetWindowRect’ that depend on a template parameter, so a declaration of ‘GetWindowRect’ must be available [-fpermissive]
GetWindowRect(window_handle, &window_rect);
^
src/libretro/libretro.cpp:918:8: error: expected ‘;’ before ‘screen_rect’
RECT screen_rect;
^
src/libretro/libretro.cpp:919:21: error: ‘screen_rect’ was not declared in this scope
GetNdsScreenRect(&screen_rect);
^
src/libretro/libretro.cpp:919:32: error: there are no arguments to ‘GetNdsScreenRect’ that depend on a template parameter, so a declaration of ‘GetNdsScreenRect’ must be available [-fpermissive]
GetNdsScreenRect(&screen_rect);
^
src/libretro/libretro.cpp:921:29: error: there are no arguments to ‘IsZoomed’ that depend on a template parameter, so a declaration of ‘IsZoomed’ must be available [-fpermissive]
if( IsZoomed(window_handle) )
^
src/libretro/libretro.cpp:924:16: error: ‘ddraw’ was not declared in this scope
DD_FillRect(ddraw.surface.primary, 0, 0, screen_rect.left, window_height); // left
^
src/libretro/libretro.cpp:924:86: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, 0, 0, screen_rect.left, window_height); // left
^
src/libretro/libretro.cpp:925:95: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, screen_rect.right, 0, window_width, window_height); // right
^
src/libretro/libretro.cpp:926:100: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, screen_rect.left, 0, screen_rect.right, screen_rect.top); // top
^
src/libretro/libretro.cpp:927:111: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, screen_rect.left, screen_rect.bottom, screen_rect.right, window_height); // bottom
^
src/libretro/libretro.cpp:935:17: error: ‘ddraw’ was not declared in this scope
DD_FillRect(ddraw.surface.primary, MainScreenRect.right, MainScreenRect.top, SubScreenRect.left, MainScreenRect.bottom);
^
src/libretro/libretro.cpp:935:123: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, MainScreenRect.right, MainScreenRect.top, SubScreenRect.left, MainScreenRect.bottom);
^
src/libretro/libretro.cpp:937:17: error: ‘ddraw’ was not declared in this scope
DD_FillRect(ddraw.surface.primary, MainScreenRect.left, MainScreenRect.bottom, MainScreenRect.right, SubScreenRect.top);
^
src/libretro/libretro.cpp:937:123: error: there are no arguments to ‘DD_FillRect’ that depend on a template parameter, so a declaration of ‘DD_FillRect’ must be available [-fpermissive]
DD_FillRect(ddraw.surface.primary, MainScreenRect.left, MainScreenRect.bottom, MainScreenRect.right, SubScreenRect.top);
^
src/libretro/libretro.cpp:952:4: error: ‘ddraw’ was not declared in this scope
ddraw.blt( dest_rect[screen_index], source_rect[screen_index] );
^
src/libretro/libretro.cpp:959:10: error: ‘ddraw’ was not declared in this scope
if( !ddraw.blt( dest_rect[i], source_rect[i] ) ) break;
^
src/libretro/libretro.cpp: In function ‘void X432R::DoDisplay()’:
src/libretro/libretro.cpp:978:7: error: ‘finished’ was not declared in this scope
if( finished || display_die || (gpu3D == NULL) ) return;
^
src/libretro/libretro.cpp:978:19: error: ‘display_die’ was not declared in this scope
if( finished || display_die || (gpu3D == NULL) ) return;
^
src/libretro/libretro.cpp:983:8: error: ‘displayPostponeType’ was not declared in this scope
if( displayPostponeType && !displayNoPostponeNext && ( displayPostponeType < 0 || ( timeGetTime() < displayPostponeUntil ) ) ) return;
^
src/libretro/libretro.cpp:983:32: error: ‘displayNoPostponeNext’ was not declared in this scope
if( displayPostponeType && !displayNoPostponeNext && ( displayPostponeType < 0 || ( timeGetTime() < displayPostponeUntil ) ) ) return;
^
src/libretro/libretro.cpp:983:100: error: there are no arguments to ‘timeGetTime’ that depend on a template parameter, so a declaration of ‘timeGetTime’ must be available [-fpermissive]
if( displayPostponeType && !displayNoPostponeNext && ( displayPostponeType < 0 || ( timeGetTime() < displayPostponeUntil ) ) ) return;
^
src/libretro/libretro.cpp:983:104: error: ‘displayPostponeUntil’ was not declared in this scope
if( displayPostponeType && !displayNoPostponeNext && ( displayPostponeType < 0 || ( timeGetTime() < displayPostponeUntil ) ) ) return;
^
src/libretro/libretro.cpp:985:4: error: ‘displayNoPostponeNext’ was not declared in this scope
displayNoPostponeNext = false;
^
src/libretro/libretro.cpp:1002:9: error: ‘HWND’ does not name a type
const HWND window_handle = MainWindow->getHWnd();
^
src/libretro/libretro.cpp:1003:37: error: there are no arguments to ‘GetStyle’ that depend on a template parameter, so a declaration of ‘GetStyle’ must be available [-fpermissive]
const u32 window_style = GetStyle();
^
src/libretro/libretro.cpp:1005:23: error: ‘DWS_DDRAW_HW’ was not declared in this scope
if( (window_style & DWS_DDRAW_HW) || (window_style & DWS_DDRAW_SW) )
^
src/libretro/libretro.cpp:1005:56: error: ‘DWS_DDRAW_SW’ was not declared in this scope
if( (window_style & DWS_DDRAW_HW) || (window_style & DWS_DDRAW_SW) )
^
src/libretro/libretro.cpp:1007:24: error: there are no arguments to ‘DeleteScreenTexture’ that depend on a template parameter, so a declaration of ‘DeleteScreenTexture’ must be available [-fpermissive]
DeleteScreenTexture();
^
<builtin>: recipe for target 'src/libretro/libretro.o' failed
make: *** [src/libretro/libretro.o] Error 1
[thomas@HackBox desmume]$ nano Makefile.libretro
[thomas@HackBox desmume]$ clang++ -DHAVE_JIT -DNDEBUG -O3 -DX432R_CUSTOMRENDERER_ENABLED -D__LIBRETRO__ -fPIC -iquote src -iquote src/libretro -c -o src/libretro/libretro.o src/libretro/libretro.cpp
src/libretro/libretro.cpp:42:2: error: unknown type name 'CRITICAL_SECTION'
CRITICAL_SECTION customFrontBufferSync;
^
src/libretro/libretro.cpp:44:9: error: unknown type name 'GLuint'; did you mean 'uint'?
static GLuint screenTexture = 0;
^~~~~~
uint
/usr/include/sys/types.h:152:22: note: 'uint' declared here
typedef unsigned int uint;
^
src/libretro/libretro.cpp:45:9: error: unknown type name 'GLuint'; did you mean 'uint'?
static GLuint hudTexture = 0;
^~~~~~
uint
/usr/include/sys/types.h:152:22: note: 'uint' declared here
typedef unsigned int uint;
^
src/libretro/libretro.cpp:59:3: error: unknown type name 'Lock'
Lock lock(customFrontBufferSync);
^
src/libretro/libretro.cpp:75:9: error: use of undeclared identifier 'GPU3D_SWRAST_X2'
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:76:9: error: use of undeclared identifier 'GPU3D_SWRAST_X3'
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:77:9: error: use of undeclared identifier 'GPU3D_SWRAST_X4'
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp:78:9: error: use of undeclared identifier 'GPU3D_OPENGL_X2'
case GPU3D_OPENGL_X2:
^
src/libretro/libretro.cpp:79:9: error: use of undeclared identifier 'GPU3D_OPENGL_X3'
case GPU3D_OPENGL_X3:
^
src/libretro/libretro.cpp:80:9: error: use of undeclared identifier 'GPU3D_OPENGL_X4'
case GPU3D_OPENGL_X4:
^
src/libretro/libretro.cpp:91:9: error: use of undeclared identifier 'GPU3D_SWRAST'
case GPU3D_SWRAST:
^
src/libretro/libretro.cpp:92:9: error: use of undeclared identifier 'GPU3D_SWRAST_X2'
case GPU3D_SWRAST_X2:
^
src/libretro/libretro.cpp:93:9: error: use of undeclared identifier 'GPU3D_SWRAST_X3'
case GPU3D_SWRAST_X3:
^
src/libretro/libretro.cpp:94:9: error: use of undeclared identifier 'GPU3D_SWRAST_X4'
case GPU3D_SWRAST_X4:
^
src/libretro/libretro.cpp:142:47: error: use of undeclared identifier 'romloaded'
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:142:60: error: use of undeclared identifier 'finished'
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:142:72: error: use of undeclared identifier 'display_die'
if( !IsHighResolutionRendererSelected() || !romloaded || finished || display_die )
^
src/libretro/libretro.cpp:156:3: error: unknown type name 'Lock'
Lock lock(customFrontBufferSync); // <U+0083>X<U+0083>R<U+0081>[<U+0083>v<U+0082>ð<U+0094>²<U+0082>¯<U+0082>Ä<U+0082>±<U+0082>Ì<U+0083>C<U+0083><U+0093><U+0083>X<U+0083>^<U+0083><U+0093>...
^
src/libretro/libretro.cpp:158:68: error: use of undeclared identifier 'newestDisplayBuffer'
const u8 buffer_index = CommonSettings.single_core() ? 0 : clamp(newestDisplayBuffer, 0, 2);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment