You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.

#1 Re: Technical » DeSmuME SVN r4523 Linux compile time error » 2013-02-08 23:12:20

I am not sure how to do what you said, but here is some info I found:

#[/path/aur-desmume-svn/src/desmume/src]% grep -R None *.h
GPU.h:  None, Blend, Increase, Decrease
GPU.h:/*12*/ u8 AckColorBufferUnderflow:1; // Color Buffer RDLINES Underflow (0=None, 1=Underflow/Acknowledge)
GPU.h:/*13*/ u8 AckVertexRAMOverflow:1;    // Polygon/Vertex RAM Overflow    (0=None, 1=Overflow/Acknowledge)                                                         
SPU.h:  SPUInterpolation_None = 0,
texcache.h:     TexFormat_None, //used when nothing yet is cached
texcache.h:             , cacheFormat(TexFormat_None)


#[/path/aur-desmume-svn/src/desmume/src]% grep -R None *.cpp
addons.cpp:extern ADDONINTERFACE addonNone;
addons.cpp:             addonNone,
arm_jit.cpp:            c.test(byte_ptr_abs((void*)(arm_cond_table + cond), x, kScaleNone), 1);
arm_jit.cpp:                            c.lea(total_cycles, ptr(total_cycles.r64(), bb_cycles.r64(), kScaleNone, -1));
GPU.cpp:                                case None:
GPU.cpp:        if(FUNC==None && BACKDROP) return true;
GPU.cpp:                case None: break;
GPU.cpp:                case None: break;
GPU.cpp:                case 0: draw = _master_setFinalBGColor<BACKDROP,None,false>(color,x); break;
GPU.cpp:                case 4: draw = _master_setFinalBGColor<BACKDROP,None,true>(color,x); break;
GPU.cpp:        case 0x0: _master_setFinal3dColor<None,false>(dstX,srcX); break;
GPU.cpp:        case 0x4: _master_setFinal3dColor<None,true>(dstX,srcX); break;
GPU.cpp:        case 0x0: _master_setFinalOBJColor<None,false>(gpu, dst, color, alpha, type, x); break;
GPU.cpp:        case 0x4: _master_setFinalOBJColor<None,true>(gpu, dst, color, alpha, type, x); break;
mc.cpp:                         if (strcmp(tmp, "None")  == 0)
NDSSystem.cpp:                          printf("None");
NDSSystem.cpp:  imageheader.cmptype = 0; // None
NDSSystem.cpp:  imageheader.cmptype = 0; // None
render3D.cpp:   "None",
slot1.cpp:extern SLOT1INTERFACE slot1None;
slot1.cpp:              slot1None,
SPU.cpp:        if(INTERPOLATE_MODE != SPUInterpolation_None)
SPU.cpp:        if(INTERPOLATE_MODE != SPUInterpolation_None)
SPU.cpp:        if(INTERPOLATE_MODE != SPUInterpolation_None)
SPU.cpp:        case SPUInterpolation_None: __SPU_ChanUpdate<SPUInterpolation_None>(actuallyMix, SPU, chan); break;

#2 Technical » DeSmuME SVN r4523 Linux compile time error » 2013-02-08 19:33:49

zwastik
Replies: 8

I get a compile error, archlinux 64 bits:

1 -I. -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/inc
lude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/agg2 -I/usr/include/fre
etype2 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_
FORTIFY_SOURCE=2 -MT OGLRender.o -MD -MP -MF .deps/OGLRender.Tpo -c -o OGLRender.o
OGLRender.cpp
In file included from NDSSystem.h:26:0,
from OGLRender.cpp:27:
GPU.h:123:2: error: expected identifier before numeric constant
GPU.h:123:2: error: expected ‘}’ before numeric constant
GPU.h:123:2: error: expected unqualified-id before numeric constant
GPU.h:124:1: error: expected declaration before ‘}’ token
make[2]: *** [OGLRender.o] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-idr/aur-desmume-svn/src/desmume-bu
ild/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-idr/aur-desmume-svn/src/desmume-bu
ild/src'
make: *** [all-recursive] Error 1

Board footer

Powered by FluxBB