disable esc in runtime

hello, is there annyway to disable keys in a runtime, you know that if you hit esc in a runtime it quits, i want to take away that, is there annyway you can do that without changine the BlenderPlayer?

no

ok… so you can do it by editing the the blender player? that have to work.

ok… so you can do it by editing the the blender player? that have to work.[/quote]

Yep! In source/gameengine/GamePlayer/ghost/GPG_Application.cpp line 620, delete:


		if (fSystem->getFullScreen()) {
			if (keyData->key == GHOST_kKeyEsc) {
				m_exitRequested = KX_EXIT_REQUEST_OUTSIDE;
			}
		}

And for Blender itself, in source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp line 293, change:


						if (keyboarddevice->ConvertBlenderEvent(event,val))
							exitrequested = KX_EXIT_REQUEST_BLENDER_ESC;

to


						keyboarddevice->ConvertBlenderEvent(event,val);

ok… so you can do it by editing the the blender player? that have to work.[/quote]

Yep! In source/gameengine/GamePlayer/ghost/GPG_Application.cpp line 620, delete:


		if (fSystem->getFullScreen()) {
			if (keyData->key == GHOST_kKeyEsc) {
				m_exitRequested = KX_EXIT_REQUEST_OUTSIDE;
			}
		}

And for Blender itself, in source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp line 293, change:


						if (keyboarddevice->ConvertBlenderEvent(event,val))
							exitrequested = KX_EXIT_REQUEST_BLENDER_ESC;

to


						keyboarddevice->ConvertBlenderEvent(event,val);

[/quote]
have you tried this?, if you have can you send me the build, i get an error when i try to build(before i edit)

ok… so you can do it by editing the the blender player? that have to work.[/quote]

Yep! In source/gameengine/GamePlayer/ghost/GPG_Application.cpp line 620, delete:


		if (fSystem->getFullScreen()) {
			if (keyData->key == GHOST_kKeyEsc) {
				m_exitRequested = KX_EXIT_REQUEST_OUTSIDE;
			}
		}

And for Blender itself, in source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp line 293, change:


						if (keyboarddevice->ConvertBlenderEvent(event,val))
							exitrequested = KX_EXIT_REQUEST_BLENDER_ESC;

to


						keyboarddevice->ConvertBlenderEvent(event,val);

[/quote]

Thanks man, I will try this later.

i tried this and i get a error
fatal error C1083: Cannot open include file: ‘MT_assert.h’: No such file or directory

and MT_assert.h file is in the same map as GPG_Application.cpp what is wrong :frowning:

by the way, i use c++ 6.0 if that matter?

Where can I find the source-code of Blender 2.25 version?

I tryed to look at cvs, but there are to much things threre.

i dont remember where i found it,
i uploaded the files(.tar.gz) on my homepage
http://www.ikx.no/halle/files/blender-source-2.25b-ptj-20021017.tar.gz

i dont remember where i found it,
i uploaded the files(.tar.gz) on my homepage
http://www.ikx.no/halle/files/blender-source-2.25b-ptj-20021017.tar.gz[/quote]

Thank u, I will try to build this source.

Cu.

Awsome, lay out a link later when it is made :stuck_out_tongue:
(if you dont have webspace you can send me the file and il lay it out…)

I tryed to build this source under Linux Debian and I get this erros:

[email protected]:~/programas/blender/blender$ make
chmod u+x source/tools/guess/guessconfig
chmod u+wx source/tools/guess/config.guess
mkdir -p lib/linux-glibc2.2.5-i386/openssl/lib
ln -s /usr/lib/libcrypto.a lib/linux-glibc2.2.5-i386/openssl/lib
ln: lib/linux-glibc2.2.5-i386/openssl/lib/libcrypto.a': Arquivo já existente make: [openssl] Erro 1 (ignorado) ln:lib/linux-glibc2.2.5-i386/jpeg/lib/libjpeg.a’: Arquivo já existente
ln: lib/linux-glibc2.2.5-i386/openal/lib/libopenal.a': Arquivo já existente ln:lib/linux-glibc2.2.5-i386/png/lib/libpng.a’: Arquivo já existente
make: [extlibs] Erro 1 (ignorado)
mkdir -p lib/linux-glibc2.2.5-i386/python/lib
ln -s /usr/lib/python2.2 lib/linux-glibc2.2.5-i386/python/lib/
ln: lib/linux-glibc2.2.5-i386/python/lib//python2.2': Arquivo já existente make: [pythondir] Erro 1 (ignorado) loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make -I/home/knoppix/develop/source sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -Wall -I/usr/include/python2.2/ -L/usr/lib/python2.2) works... yes checking whether the C compiler (gcc -g -Wall -I/usr/include/python2.2/ -L/usr/lib/python2.2) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib creating ./config.status creating Makefile creating blendermodule/Makefile creating config.h config.h is unchanged make[1]: Entering directory/home/knoppix/programas/blender/blender/intern/python’
cd . && autoheader
make -I/home/knoppix/develop/source all-recursive
make[2]: Entering directory /home/knoppix/programas/blender/blender/intern/python' Making all in blendermodule make[3]: Entering directory/home/knoppix/programas/blender/blender/intern/python/blendermodule’
make[4]: Entering directory /home/knoppix/programas/blender/blender/intern/python/blendermodule' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -I/usr/include/python2.2/ -c main.c main.c:63:20: Python.h: No such file or directory main.c:65: error: syntax error before '*' token main.c:65: warning: type defaults toint’ in declaration of ErrorObject' main.c:65: warning: data definition has no type or storage class main.c:66: error: syntax error before '*' token main.c:66: warning: type defaults toint’ in declaration of _scene' main.c:66: warning: data definition has no type or storage class main.c:68: error: syntax error before '*' token main.c:68: error: syntax error before '*' token main.c:68: warning: type defaults toint’ in declaration of blend_connect' main.c:68: warning: data definition has no type or storage class main.c:75: error: syntax error before "PyObject_HEAD" main.c:75: warning: no semicolon at end of struct or union main.c:77: warning: type defaults toint’ in declaration of vertices' main.c:77: warning: data definition has no type or storage class main.c:78: error: syntax error before '*' token main.c:78: warning: type defaults toint’ in declaration of normals' main.c:78: warning: data definition has no type or storage class main.c:79: error: syntax error before '*' token main.c:79: warning: type defaults toint’ in declaration of faces' main.c:79: warning: data definition has no type or storage class main.c:80: error: syntax error before '}' token main.c:80: warning: type defaults toint’ in declaration of mshobject' main.c:80: warning: data definition has no type or storage class main.c:82: error: syntax error before "PyTypeObject" main.c:82: warning: type defaults toint’ in declaration of Mshtype' main.c:82: warning: data definition has no type or storage class main.c:85: error: syntax error before "PyObject_HEAD" main.c:85: warning: no semicolon at end of struct or union main.c:87: warning: type defaults toint’ in declaration of matrix' main.c:87: warning: data definition has no type or storage class main.c:88: error: syntax error before '*' token main.c:88: warning: type defaults toint’ in declaration of data' main.c:88: warning: data definition has no type or storage class main.c:89: error: syntax error before '*' token main.c:89: warning: type defaults toint’ in declaration of type' main.c:89: warning: data definition has no type or storage class main.c:90: error: syntax error before '}' token main.c:90: warning: type defaults toint’ in declaration of objobject' main.c:90: warning: data definition has no type or storage class main.c:92: error: syntax error before "PyTypeObject" main.c:92: warning: type defaults toint’ in declaration of Objtype' main.c:92: warning: data definition has no type or storage class main.c:95: error: syntax error before "PyObject_HEAD" main.c:95: warning: no semicolon at end of struct or union main.c:97: warning: type defaults toint’ in declaration of objects' main.c:97: warning: data definition has no type or storage class main.c:98: error: syntax error before '}' token main.c:98: warning: type defaults toint’ in declaration of sceobject' main.c:98: warning: data definition has no type or storage class main.c:100: error: syntax error before "PyTypeObject" main.c:100: warning: type defaults toint’ in declaration of Scetype' main.c:100: warning: data definition has no type or storage class main.c:110: error: syntax error before '*' token main.c:111: error: syntax error before '*' token main.c:112: warning: return type defaults toint’
main.c: In function msh_addFace': main.c:116: error:PyObject’ undeclared (first use in this function)
main.c:116: error: (Each undeclared identifier is reported only once
main.c:116: error: for each function it appears in.)
main.c:116: error: item' undeclared (first use in this function) main.c:118: warning: implicit declaration of functionPyArg_ParseTuple’
main.c:118: error: args' undeclared (first use in this function) main.c:122: warning: implicit declaration of functionPyList_New’
main.c:123: warning: implicit declaration of function PyList_SetItem' main.c:123: warning: implicit declaration of functionPyInt_FromLong’
main.c:128: warning: implicit declaration of function PyList_Append' main.c:128: error:self’ undeclared (first use in this function)
main.c:129: warning: implicit declaration of function PyList_Size' main.c:131: warning: return makes pointer from integer without a cast main.c: At top level: main.c:138: error: syntax error before '*' token main.c:139: error: syntax error before '*' token main.c:140: warning: return type defaults toint’
main.c: In function msh_addVertex': main.c:143: error:PyObject’ undeclared (first use in this function)
main.c:143: error: item1' undeclared (first use in this function) main.c:144: error:item2’ undeclared (first use in this function)
main.c:146: error: args' undeclared (first use in this function) main.c:152: warning: implicit declaration of functionPyFloat_FromDouble’
main.c:158: error: self' undeclared (first use in this function) main.c:162: warning: return makes pointer from integer without a cast main.c: At top level: main.c:165: error: elements of arraymsh_methods’ have incomplete type
main.c:166: warning: excess elements in struct initializer
main.c:166: warning: (near initialization for msh_methods[0]') main.c:166: error:PyCFunction’ undeclared here (not in a function)
main.c:166: warning: excess elements in struct initializer
main.c:166: warning: (near initialization for msh_methods[0]') main.c:166: error: syntax error before "msh_addFace" main.c:167: error:METH_VARARGS’ undeclared here (not in a function)
main.c:167: warning: excess elements in struct initializer
main.c:167: warning: (near initialization for msh_methods[0]') main.c:167: warning: excess elements in struct initializer main.c:167: warning: (near initialization formsh_methods[0]’)
main.c:168: warning: excess elements in struct initializer
main.c:168: warning: (near initialization for msh_methods[1]') main.c:168: error:PyCFunction’ undeclared here (not in a function)
main.c:168: warning: excess elements in struct initializer
main.c:168: warning: (near initialization for msh_methods[1]') main.c:168: error: syntax error before "msh_addVertex" main.c:169: error:METH_VARARGS’ undeclared here (not in a function)
main.c:169: warning: excess elements in struct initializer
main.c:169: warning: (near initialization for msh_methods[1]') main.c:169: warning: excess elements in struct initializer main.c:169: warning: (near initialization formsh_methods[1]’)
main.c:171: warning: excess elements in struct initializer
main.c:171: warning: (near initialization for msh_methods[2]') main.c:171: warning: excess elements in struct initializer main.c:171: warning: (near initialization formsh_methods[2]’)
main.c:174: error: syntax error before ‘’ token
main.c:176: warning: return type defaults to int' main.c: In functionnewmshobject’:
main.c:177: error: self' undeclared (first use in this function) main.c:179: warning: implicit declaration of functionPyObject_NEW’
main.c:184: warning: implicit declaration of function strcpy' main.c: At top level: main.c:193: error: syntax error before '*' token main.c: In functionmsh_dealloc’:
main.c:195: error: msh' undeclared (first use in this function) main.c:195: error: syntax error before ')' token main.c:197: warning: implicit declaration of functionPy_DECREF’
main.c:201: warning: implicit declaration of function PyMem_DEL' main.c:201: error:self’ undeclared (first use in this function)
main.c: At top level:
main.c:205: error: syntax error before '
’ token
main.c: In function msh_print': main.c:207: error:fp’ undeclared (first use in this function)
main.c:207: error: self' undeclared (first use in this function) main.c: At top level: main.c:214: error: syntax error before '*' token main.c:215: error: syntax error before '*' token main.c:216: warning: return type defaults toint’
main.c: In function msh_repr': main.c:217: error:PyObject’ undeclared (first use in this function)
main.c:217: error: s' undeclared (first use in this function) main.c:219: warning: implicit declaration of functionPyString_FromString’
main.c: At top level:
main.c:224: error: syntax error before ‘’ token
main.c:225: error: syntax error before '
’ token
main.c:226: warning: return type defaults to int' main.c: In functionmsh_str’:
main.c:227: error: PyObject' undeclared (first use in this function) main.c:227: error:s’ undeclared (first use in this function)
main.c:234:26: structmember.h: No such file or directory
main.c: At top level:
main.c:236: error: elements of array msh_memberlist' have incomplete type main.c:238: warning: excess elements in struct initializer main.c:238: warning: (near initialization formsh_memberlist[0]’)
main.c:238: error: T_OBJECT' undeclared here (not in a function) main.c:238: warning: excess elements in struct initializer main.c:238: warning: (near initialization formsh_memberlist[0]’)
main.c:238: warning: implicit declaration of function offsetof' main.c:238: warning: excess elements in struct initializer main.c:238: warning: (near initialization formsh_memberlist[0]’)
main.c:238: error: RO' undeclared here (not in a function) main.c:238: warning: excess elements in struct initializer main.c:238: warning: (near initialization formsh_memberlist[0]’)
main.c:239: warning: excess elements in struct initializer
main.c:239: warning: (near initialization for msh_memberlist[1]') main.c:239: error:T_OBJECT’ undeclared here (not in a function)
main.c:239: warning: excess elements in struct initializer
main.c:239: warning: (near initialization for msh_memberlist[1]') main.c:239: warning: excess elements in struct initializer main.c:239: warning: (near initialization formsh_memberlist[1]’)
main.c:239: error: RO' undeclared here (not in a function) main.c:239: warning: excess elements in struct initializer main.c:239: warning: (near initialization formsh_memberlist[1]’)
main.c:240: warning: excess elements in struct initializer
main.c:240: warning: (near initialization for msh_memberlist[2]') main.c:240: error:T_OBJECT’ undeclared here (not in a function)
main.c:240: warning: excess elements in struct initializer
main.c:240: warning: (near initialization for msh_memberlist[2]') main.c:240: warning: excess elements in struct initializer main.c:240: warning: (near initialization formsh_memberlist[2]’)
main.c:240: error: RO' undeclared here (not in a function) main.c:240: warning: excess elements in struct initializer main.c:240: warning: (near initialization formsh_memberlist[2]’)
main.c:241: warning: excess elements in struct initializer
main.c:241: warning: (near initialization for msh_memberlist[3]') main.c:244: error: syntax error before '*' token main.c:245: error: syntax error before '*' token main.c:246: warning: return type defaults toint’
main.c: In function msh_getattr': main.c:247: error:PyObject’ undeclared (first use in this function)
main.c:247: error: rv' undeclared (first use in this function) main.c:250: warning: implicit declaration of functionPyMember_Get’
main.c:250: error: self' undeclared (first use in this function) main.c:250: error:name’ undeclared (first use in this function)
main.c:255: warning: implicit declaration of function PyErr_Clear' main.c:257: warning: implicit declaration of functionPy_FindMethod’
main.c:257: error: syntax error before ‘)’ token
main.c: At top level:
main.c:262: error: syntax error before ‘’ token
main.c: In function msh_setattr': main.c:265: error:v’ undeclared (first use in this function)
main.c:267: warning: implicit declaration of function PyErr_SetString' main.c:267: error:PyExc_AttributeError’ undeclared (first use in this function)
main.c:271: warning: implicit declaration of function PyMember_Set' main.c:271: error:name’ undeclared (first use in this function)
main.c: At top level:
main.c:278: error: syntax error before “Mshtype”
main.c:278: warning: type defaults to int' in declaration ofMshtype’
main.c:279: warning: implicit declaration of function PyObject_HEAD_INIT' main.c:279: error:PyType_Type’ undeclared here (not in a function)
main.c:280: error: initializer element is not constant
main.c:280: error: (near initialization for Mshtype') main.c:280: error: syntax error before numeric constant main.c:281: warning: excess elements in scalar initializer main.c:281: warning: (near initialization forMshtype’)
main.c:282: warning: excess elements in scalar initializer
main.c:282: warning: (near initialization for Mshtype') main.c:283: warning: excess elements in scalar initializer main.c:283: warning: (near initialization forMshtype’)
main.c:285: error: destructor' undeclared here (not in a function) main.c:285: warning: excess elements in scalar initializer main.c:285: warning: (near initialization forMshtype’)
main.c:285: error: syntax error before “msh_dealloc”
main.c:286: error: printfunc' undeclared here (not in a function) main.c:286: warning: excess elements in scalar initializer main.c:286: warning: (near initialization forMshtype’)
main.c:286: error: syntax error before “msh_print”
main.c:287: error: getattrfunc' undeclared here (not in a function) main.c:287: warning: excess elements in scalar initializer main.c:287: warning: (near initialization forMshtype’)
main.c:287: error: syntax error before “msh_getattr”
main.c:288: error: setattrfunc' undeclared here (not in a function) main.c:288: warning: excess elements in scalar initializer main.c:288: warning: (near initialization forMshtype’)
main.c:288: error: syntax error before “msh_setattr”
main.c:289: error: cmpfunc' undeclared here (not in a function) main.c:289: warning: excess elements in scalar initializer main.c:289: warning: (near initialization forMshtype’)
main.c:289: error: syntax error before numeric constant
main.c:290: error: reprfunc' undeclared here (not in a function) main.c:290: warning: excess elements in scalar initializer main.c:290: warning: (near initialization forMshtype’)
main.c:290: error: syntax error before “msh_repr”
main.c:291: warning: excess elements in scalar initializer
main.c:291: warning: (near initialization for Mshtype') main.c:292: warning: excess elements in scalar initializer main.c:292: warning: (near initialization forMshtype’)
main.c:293: warning: excess elements in scalar initializer
main.c:293: warning: (near initialization for Mshtype') main.c:294: error:hashfunc’ undeclared here (not in a function)
main.c:294: warning: excess elements in scalar initializer
main.c:294: warning: (near initialization for Mshtype') main.c:294: error: syntax error before numeric constant main.c:295: error:ternaryfunc’ undeclared here (not in a function)
main.c:295: warning: excess elements in scalar initializer
main.c:295: warning: (near initialization for Mshtype') main.c:295: error: syntax error before numeric constant main.c:296: error:reprfunc’ undeclared here (not in a function)
main.c:296: warning: excess elements in scalar initializer
main.c:296: warning: (near initialization for Mshtype') main.c:296: error: syntax error before "msh_str" main.c:299: warning: excess elements in scalar initializer main.c:299: warning: (near initialization forMshtype’)
main.c:299: warning: excess elements in scalar initializer
main.c:299: warning: (near initialization for Mshtype') main.c:299: warning: excess elements in scalar initializer main.c:299: warning: (near initialization forMshtype’)
main.c:299: warning: excess elements in scalar initializer
main.c:299: warning: (near initialization for Mshtype') main.c:301: warning: excess elements in scalar initializer main.c:301: warning: (near initialization forMshtype’)
main.c:301: warning: data definition has no type or storage class
main.c:307: error: elements of array obj_methods' have incomplete type main.c:309: warning: excess elements in struct initializer main.c:309: warning: (near initialization forobj_methods[0]’)
main.c:309: warning: excess elements in struct initializer
main.c:309: warning: (near initialization for obj_methods[0]') main.c:312: error: syntax error before '*' token main.c:314: warning: return type defaults toint’
main.c: In function newobjobject': main.c:315: error:self’ undeclared (first use in this function)
main.c:316: error: PyObject' undeclared (first use in this function) main.c:316: error:row1’ undeclared (first use in this function)
main.c:317: error: row2' undeclared (first use in this function) main.c:318: error:row3’ undeclared (first use in this function)
main.c:319: error: row4' undeclared (first use in this function) main.c:352: warning: implicit declaration of functionPy_INCREF’
main.c:352: error: Py_None' undeclared (first use in this function) main.c: At top level: main.c:361: error: syntax error before '*' token main.c: In functionobj_dealloc’:
main.c:363: error: obj' undeclared (first use in this function) main.c:363: error: syntax error before ')' token main.c:369: error:self’ undeclared (first use in this function)
main.c: At top level:
main.c:373: error: syntax error before '
’ token
main.c: In function obj_print': main.c:375: error:fp’ undeclared (first use in this function)
main.c:375: error: self' undeclared (first use in this function) main.c:378: error:Py_None’ undeclared (first use in this function)
main.c:385: warning: implicit declaration of function PyString_AsString' main.c:386: error: syntax error before ')' token main.c:386: warning: format argument is not a pointer (arg 3) main.c: At top level: main.c:392: error: syntax error before '*' token main.c:393: error: syntax error before '*' token main.c:394: warning: return type defaults toint’
main.c: In function obj_repr': main.c:395: error:PyObject’ undeclared (first use in this function)
main.c:395: error: s' undeclared (first use in this function) main.c: At top level: main.c:402: error: syntax error before '*' token main.c:403: error: syntax error before '*' token main.c:404: warning: return type defaults toint’
main.c: In function obj_str': main.c:405: error:PyObject’ undeclared (first use in this function)
main.c:405: error: s' undeclared (first use in this function) main.c:412:26: structmember.h: No such file or directory main.c: At top level: main.c:414: error: elements of arrayobj_memberlist’ have incomplete type
main.c:416: warning: excess elements in struct initializer
main.c:416: warning: (near initialization for obj_memberlist[0]') main.c:416: error:T_OBJECT’ undeclared here (not in a function)
main.c:416: warning: excess elements in struct initializer
main.c:416: warning: (near initialization for obj_memberlist[0]') main.c:416: warning: excess elements in struct initializer main.c:416: warning: (near initialization forobj_memberlist[0]’)
main.c:416: error: RO' undeclared here (not in a function) main.c:416: warning: excess elements in struct initializer main.c:416: warning: (near initialization forobj_memberlist[0]’)
main.c:417: warning: excess elements in struct initializer
main.c:417: warning: (near initialization for obj_memberlist[1]') main.c:417: error:T_OBJECT’ undeclared here (not in a function)
main.c:417: warning: excess elements in struct initializer
main.c:417: warning: (near initialization for obj_memberlist[1]') main.c:417: warning: excess elements in struct initializer main.c:417: warning: (near initialization forobj_memberlist[1]’)
main.c:417: error: RO' undeclared here (not in a function) main.c:417: warning: excess elements in struct initializer main.c:417: warning: (near initialization forobj_memberlist[1]’)
main.c:418: warning: excess elements in struct initializer
main.c:418: warning: (near initialization for obj_memberlist[2]') main.c:418: error:T_OBJECT’ undeclared here (not in a function)
main.c:418: warning: excess elements in struct initializer
main.c:418: warning: (near initialization for obj_memberlist[2]') main.c:418: warning: excess elements in struct initializer main.c:418: warning: (near initialization forobj_memberlist[2]’)
main.c:418: error: RO' undeclared here (not in a function) main.c:418: warning: excess elements in struct initializer main.c:418: warning: (near initialization forobj_memberlist[2]’)
main.c:419: warning: excess elements in struct initializer
main.c:419: warning: (near initialization for obj_memberlist[3]') main.c:422: error: syntax error before '*' token main.c:423: error: syntax error before '*' token main.c:424: warning: return type defaults toint’
main.c: In function obj_getattr': main.c:425: error:PyObject’ undeclared (first use in this function)
main.c:425: error: rv' undeclared (first use in this function) main.c:428: error:self’ undeclared (first use in this function)
main.c:428: error: name' undeclared (first use in this function) main.c:435: error: syntax error before ')' token main.c: At top level: main.c:440: error: syntax error before '*' token main.c: In functionobj_setattr’:
main.c:443: error: v' undeclared (first use in this function) main.c:445: error:PyExc_AttributeError’ undeclared (first use in this function)
main.c:449: error: name' undeclared (first use in this function) main.c: At top level: main.c:456: error: syntax error before "Objtype" main.c:456: warning: type defaults toint’ in declaration of Objtype' main.c:457: error:PyType_Type’ undeclared here (not in a function)
main.c:458: error: initializer element is not constant
main.c:458: error: (near initialization for Objtype') main.c:458: error: syntax error before numeric constant main.c:459: warning: excess elements in scalar initializer main.c:459: warning: (near initialization forObjtype’)
main.c:460: warning: excess elements in scalar initializer
main.c:460: warning: (near initialization for Objtype') main.c:461: warning: excess elements in scalar initializer main.c:461: warning: (near initialization forObjtype’)
main.c:463: error: destructor' undeclared here (not in a function) main.c:463: warning: excess elements in scalar initializer main.c:463: warning: (near initialization forObjtype’)
main.c:463: error: syntax error before “obj_dealloc”
main.c:464: error: printfunc' undeclared here (not in a function) main.c:464: warning: excess elements in scalar initializer main.c:464: warning: (near initialization forObjtype’)
main.c:464: error: syntax error before “obj_print”
main.c:465: error: getattrfunc' undeclared here (not in a function) main.c:465: warning: excess elements in scalar initializer main.c:465: warning: (near initialization forObjtype’)
main.c:465: error: syntax error before “obj_getattr”
main.c:466: error: setattrfunc' undeclared here (not in a function) main.c:466: warning: excess elements in scalar initializer main.c:466: warning: (near initialization forObjtype’)
main.c:466: error: syntax error before “obj_setattr”
main.c:467: error: cmpfunc' undeclared here (not in a function) main.c:467: warning: excess elements in scalar initializer main.c:467: warning: (near initialization forObjtype’)
main.c:467: error: syntax error before numeric constant
main.c:468: error: reprfunc' undeclared here (not in a function) main.c:468: warning: excess elements in scalar initializer main.c:468: warning: (near initialization forObjtype’)
main.c:468: error: syntax error before “obj_repr”
main.c:469: warning: excess elements in scalar initializer
main.c:469: warning: (near initialization for Objtype') main.c:470: warning: excess elements in scalar initializer main.c:470: warning: (near initialization forObjtype’)
main.c:471: warning: excess elements in scalar initializer
main.c:471: warning: (near initialization for Objtype') main.c:472: error:hashfunc’ undeclared here (not in a function)
main.c:472: warning: excess elements in scalar initializer
main.c:472: warning: (near initialization for Objtype') main.c:472: error: syntax error before numeric constant main.c:473: error:ternaryfunc’ undeclared here (not in a function)
main.c:473: warning: excess elements in scalar initializer
main.c:473: warning: (near initialization for Objtype') main.c:473: error: syntax error before numeric constant main.c:474: error:reprfunc’ undeclared here (not in a function)
main.c:474: warning: excess elements in scalar initializer
main.c:474: warning: (near initialization for Objtype') main.c:474: error: syntax error before "obj_str" main.c:477: warning: excess elements in scalar initializer main.c:477: warning: (near initialization forObjtype’)
main.c:477: warning: excess elements in scalar initializer
main.c:477: warning: (near initialization for Objtype') main.c:477: warning: excess elements in scalar initializer main.c:477: warning: (near initialization forObjtype’)
main.c:477: warning: excess elements in scalar initializer
main.c:477: warning: (near initialization for Objtype') main.c:479: warning: excess elements in scalar initializer main.c:479: warning: (near initialization forObjtype’)
main.c:479: warning: data definition has no type or storage class
main.c:489: error: syntax error before ‘’ token
main.c:490: error: syntax error before '
’ token
main.c:491: warning: return type defaults to int' main.c: In functionsce_addObject’:
main.c:493: error: PyObject' undeclared (first use in this function) main.c:493: error:object’ undeclared (first use in this function)
main.c:495: error: args' undeclared (first use in this function) main.c:499: error:self’ undeclared (first use in this function)
main.c:502: warning: return makes pointer from integer without a cast
main.c: At top level:
main.c:505: error: elements of array sce_methods' have incomplete type main.c:506: warning: excess elements in struct initializer main.c:506: warning: (near initialization forsce_methods[0]’)
main.c:506: error: PyCFunction' undeclared here (not in a function) main.c:506: warning: excess elements in struct initializer main.c:506: warning: (near initialization forsce_methods[0]’)
main.c:506: error: syntax error before “sce_addObject”
main.c:507: error: METH_VARARGS' undeclared here (not in a function) main.c:507: warning: excess elements in struct initializer main.c:507: warning: (near initialization forsce_methods[0]’)
main.c:507: warning: excess elements in struct initializer
main.c:507: warning: (near initialization for sce_methods[0]') main.c:509: warning: excess elements in struct initializer main.c:509: warning: (near initialization forsce_methods[1]’)
main.c:509: warning: excess elements in struct initializer
main.c:509: warning: (near initialization for sce_methods[1]') main.c:512: error: syntax error before '*' token main.c:514: warning: return type defaults toint’
main.c: In function newsceobject': main.c:515: error:self’ undeclared (first use in this function)
main.c: At top level:
main.c:529: error: syntax error before ‘’ token
main.c: In function sce_dealloc': main.c:531: error:sce’ undeclared (first use in this function)
main.c:531: error: syntax error before ‘)’ token
main.c:535: error: self' undeclared (first use in this function) main.c: At top level: main.c:539: error: syntax error before '*' token main.c: In functionsce_print’:
main.c:541: error: fp' undeclared (first use in this function) main.c:541: error:self’ undeclared (first use in this function)
main.c: At top level:
main.c:547: error: syntax error before '
’ token
main.c:548: error: syntax error before ‘’ token
main.c:549: warning: return type defaults to int' main.c: In functionsce_repr’:
main.c:550: error: PyObject' undeclared (first use in this function) main.c:550: error:s’ undeclared (first use in this function)
main.c: At top level:
main.c:557: error: syntax error before '
’ token
main.c:558: error: syntax error before ‘’ token
main.c:559: warning: return type defaults to int' main.c: In functionsce_str’:
main.c:560: error: PyObject' undeclared (first use in this function) main.c:560: error:s’ undeclared (first use in this function)
main.c:567:26: structmember.h: No such file or directory
main.c: At top level:
main.c:569: error: elements of array sce_memberlist' have incomplete type main.c:571: warning: excess elements in struct initializer main.c:571: warning: (near initialization forsce_memberlist[0]’)
main.c:571: error: T_OBJECT' undeclared here (not in a function) main.c:571: warning: excess elements in struct initializer main.c:571: warning: (near initialization forsce_memberlist[0]’)
main.c:571: warning: excess elements in struct initializer
main.c:571: warning: (near initialization for sce_memberlist[0]') main.c:571: error:RO’ undeclared here (not in a function)
main.c:571: warning: excess elements in struct initializer
main.c:571: warning: (near initialization for sce_memberlist[0]') main.c:572: warning: excess elements in struct initializer main.c:572: warning: (near initialization forsce_memberlist[1]’)
main.c:575: error: syntax error before '
’ token
main.c:576: error: syntax error before ‘’ token
main.c:577: warning: return type defaults to int' main.c: In functionsce_getattr’:
main.c:578: error: PyObject' undeclared (first use in this function) main.c:578: error:rv’ undeclared (first use in this function)
main.c:581: error: self' undeclared (first use in this function) main.c:581: error:name’ undeclared (first use in this function)
main.c:588: error: syntax error before ‘)’ token
main.c: At top level:
main.c:593: error: syntax error before '
’ token
main.c: In function sce_setattr': main.c:596: error:v’ undeclared (first use in this function)
main.c:598: error: PyExc_AttributeError' undeclared (first use in this function) main.c:602: error:name’ undeclared (first use in this function)
main.c: At top level:
main.c:609: error: syntax error before “Scetype”
main.c:609: warning: type defaults to int' in declaration ofScetype’
main.c:610: error: PyType_Type' undeclared here (not in a function) main.c:611: error: initializer element is not constant main.c:611: error: (near initialization forScetype’)
main.c:611: error: syntax error before numeric constant
main.c:612: warning: excess elements in scalar initializer
main.c:612: warning: (near initialization for Scetype') main.c:613: warning: excess elements in scalar initializer main.c:613: warning: (near initialization forScetype’)
main.c:614: warning: excess elements in scalar initializer
main.c:614: warning: (near initialization for Scetype') main.c:616: error:destructor’ undeclared here (not in a function)
main.c:616: warning: excess elements in scalar initializer
main.c:616: warning: (near initialization for Scetype') main.c:616: error: syntax error before "sce_dealloc" main.c:617: error:printfunc’ undeclared here (not in a function)
main.c:617: warning: excess elements in scalar initializer
main.c:617: warning: (near initialization for Scetype') main.c:617: error: syntax error before "sce_print" main.c:618: error:getattrfunc’ undeclared here (not in a function)
main.c:618: warning: excess elements in scalar initializer
main.c:618: warning: (near initialization for Scetype') main.c:618: error: syntax error before "sce_getattr" main.c:619: error:setattrfunc’ undeclared here (not in a function)
main.c:619: warning: excess elements in scalar initializer
main.c:619: warning: (near initialization for Scetype') main.c:619: error: syntax error before "sce_setattr" main.c:620: error:cmpfunc’ undeclared here (not in a function)
main.c:620: warning: excess elements in scalar initializer
main.c:620: warning: (near initialization for Scetype') main.c:620: error: syntax error before numeric constant main.c:621: error:reprfunc’ undeclared here (not in a function)
main.c:621: warning: excess elements in scalar initializer
main.c:621: warning: (near initialization for Scetype') main.c:621: error: syntax error before "sce_repr" main.c:622: warning: excess elements in scalar initializer main.c:622: warning: (near initialization forScetype’)
main.c:623: warning: excess elements in scalar initializer
main.c:623: warning: (near initialization for Scetype') main.c:624: warning: excess elements in scalar initializer main.c:624: warning: (near initialization forScetype’)
main.c:625: error: hashfunc' undeclared here (not in a function) main.c:625: warning: excess elements in scalar initializer main.c:625: warning: (near initialization forScetype’)
main.c:625: error: syntax error before numeric constant
main.c:626: error: ternaryfunc' undeclared here (not in a function) main.c:626: warning: excess elements in scalar initializer main.c:626: warning: (near initialization forScetype’)
main.c:626: error: syntax error before numeric constant
main.c:627: error: reprfunc' undeclared here (not in a function) main.c:627: warning: excess elements in scalar initializer main.c:627: warning: (near initialization forScetype’)
main.c:627: error: syntax error before “sce_str”
main.c:630: warning: excess elements in scalar initializer
main.c:630: warning: (near initialization for Scetype') main.c:630: warning: excess elements in scalar initializer main.c:630: warning: (near initialization forScetype’)
main.c:630: warning: excess elements in scalar initializer
main.c:630: warning: (near initialization for Scetype') main.c:630: warning: excess elements in scalar initializer main.c:630: warning: (near initialization forScetype’)
main.c:632: warning: excess elements in scalar initializer
main.c:632: warning: (near initialization for Scetype') main.c:632: warning: data definition has no type or storage class main.c:643: error: syntax error before '*' token main.c:644: error: syntax error before '*' token main.c:645: warning: return type defaults toint’
main.c: In function blend_Mesh': main.c:646: error:args’ undeclared (first use in this function)
main.c:651: error: Py_None' undeclared (first use in this function) main.c: At top level: main.c:659: error: syntax error before '*' token main.c:660: error: syntax error before '*' token main.c:661: warning: return type defaults toint’
main.c: In function blend_Object': main.c:664: error:args’ undeclared (first use in this function)
main.c:669: error: PyObject' undeclared (first use in this function) main.c:669: error: syntax error before ')' token main.c: At top level: main.c:676: error: syntax error before '*' token main.c:677: error: syntax error before '*' token main.c:678: warning: return type defaults toint’
main.c: In function blend_Scene': main.c:681: error:args’ undeclared (first use in this function)
main.c:686: error: PyObject' undeclared (first use in this function) main.c:686: error: syntax error before ')' token main.c: At top level: main.c:694: error: syntax error before '*' token main.c:695: error: syntax error before '*' token main.c:696: warning: return type defaults toint’
main.c: In function blend_addMesh': main.c:698: error:PyObject’ undeclared (first use in this function)
main.c:698: error: scene' undeclared (first use in this function) main.c:699: error:tuple’ undeclared (first use in this function)
main.c:700: error: object' undeclared (first use in this function) main.c:701: error:mesh’ undeclared (first use in this function)
main.c:702: error: index' undeclared (first use in this function) main.c:703: error:indices’ undeclared (first use in this function)
main.c:705: error: args' undeclared (first use in this function) main.c:710: warning: implicit declaration of functionstrcmp’
main.c:712: error: syntax error before ‘)’ token
main.c:713: error: syntax error before ‘)’ token
main.c:716: error: syntax error before ‘)’ token
main.c:720: error: syntax error before ‘)’ token
main.c:724: error: syntax error before ‘)’ token
main.c:728: error: syntax error before ‘)’ token
main.c:734: error: syntax error before ‘)’ token
main.c:742: error: self' undeclared (first use in this function) main.c:742: warning: implicit declaration of functionPy_BuildValue’
main.c:745: warning: implicit declaration of function PyTuple_New' main.c:746: warning: implicit declaration of functionPyTuple_SetItem’
main.c:752: error: Py_None' undeclared (first use in this function) main.c: At top level: main.c:760: error: syntax error before '*' token main.c:761: error: syntax error before '*' token main.c:762: warning: return type defaults toint’
main.c: In function blend_connect': main.c:763: error:PyObject’ undeclared (first use in this function)
main.c:763: error: obj1' undeclared (first use in this function) main.c:764: error:obj2’ undeclared (first use in this function)
main.c:766: error: args' undeclared (first use in this function) main.c:775: error: syntax error before ')' token main.c:776: error: syntax error before ')' token main.c:783: error: syntax error before ')' token main.c:787: error:Py_None’ undeclared (first use in this function)
main.c: At top level:
main.c:795: error: syntax error before ‘’ token
main.c:796: error: syntax error before '
’ token
main.c:797: warning: return type defaults to int' main.c: In functionblend_getCurrentScene’:
main.c:798: error: args' undeclared (first use in this function) main.c: At top level: main.c:809: error: elements of arrayblend_methods’ have incomplete type
main.c:810: warning: excess elements in struct initializer
main.c:810: warning: (near initialization for blend_methods[0]') main.c:810: error:PyCFunction’ undeclared here (not in a function)
main.c:810: warning: excess elements in struct initializer
main.c:810: warning: (near initialization for blend_methods[0]') main.c:810: error: syntax error before "blend_Mesh" main.c:811: error:METH_VARARGS’ undeclared here (not in a function)
main.c:811: warning: excess elements in struct initializer
main.c:811: warning: (near initialization for blend_methods[0]') main.c:811: warning: excess elements in struct initializer main.c:811: warning: (near initialization forblend_methods[0]’)
main.c:812: warning: excess elements in struct initializer
main.c:812: warning: (near initialization for blend_methods[1]') main.c:812: error:PyCFunction’ undeclared here (not in a function)
main.c:812: warning: excess elements in struct initializer
main.c:812: warning: (near initialization for blend_methods[1]') main.c:812: error: syntax error before "blend_Object" main.c:813: error:METH_VARARGS’ undeclared here (not in a function)
main.c:813: warning: excess elements in struct initializer
main.c:813: warning: (near initialization for blend_methods[1]') main.c:813: warning: excess elements in struct initializer main.c:813: warning: (near initialization forblend_methods[1]’)
main.c:814: warning: excess elements in struct initializer
main.c:814: warning: (near initialization for blend_methods[2]') main.c:814: error:PyCFunction’ undeclared here (not in a function)
main.c:814: warning: excess elements in struct initializer
main.c:814: warning: (near initialization for blend_methods[2]') main.c:814: error: syntax error before "blend_Scene" main.c:815: error:METH_VARARGS’ undeclared here (not in a function)
main.c:815: warning: excess elements in struct initializer
main.c:815: warning: (near initialization for blend_methods[2]') main.c:815: warning: excess elements in struct initializer main.c:815: warning: (near initialization forblend_methods[2]’)
main.c:816: warning: excess elements in struct initializer
main.c:816: warning: (near initialization for blend_methods[3]') main.c:816: error:PyCFunction’ undeclared here (not in a function)
main.c:816: warning: excess elements in struct initializer
main.c:816: warning: (near initialization for blend_methods[3]') main.c:816: error: syntax error before "blend_addMesh" main.c:817: error:METH_VARARGS’ undeclared here (not in a function)
main.c:817: warning: excess elements in struct initializer
main.c:817: warning: (near initialization for blend_methods[3]') main.c:817: warning: excess elements in struct initializer main.c:817: warning: (near initialization forblend_methods[3]’)
main.c:818: warning: excess elements in struct initializer
main.c:818: warning: (near initialization for blend_methods[4]') main.c:818: error:PyCFunction’ undeclared here (not in a function)
main.c:818: warning: excess elements in struct initializer
main.c:818: warning: (near initialization for blend_methods[4]') main.c:818: error: syntax error before "blend_connect" main.c:819: error:METH_VARARGS’ undeclared here (not in a function)
main.c:819: warning: excess elements in struct initializer
main.c:819: warning: (near initialization for blend_methods[4]') main.c:819: warning: excess elements in struct initializer main.c:819: warning: (near initialization forblend_methods[4]’)
main.c:820: warning: excess elements in struct initializer
main.c:820: warning: (near initialization for blend_methods[5]') main.c:820: error:PyCFunction’ undeclared here (not in a function)
main.c:820: warning: excess elements in struct initializer
main.c:820: warning: (near initialization for blend_methods[5]') main.c:820: error: syntax error before "blend_getCurrentScene" main.c:821: error:METH_VARARGS’ undeclared here (not in a function)
main.c:821: warning: excess elements in struct initializer
main.c:821: warning: (near initialization for blend_methods[5]') main.c:821: warning: excess elements in struct initializer main.c:821: warning: (near initialization forblend_methods[5]’)
main.c:822: warning: excess elements in struct initializer
main.c:822: warning: (near initialization for blend_methods[6]') main.c:822: error:PyCFunction’ undeclared here (not in a function)
main.c:822: warning: excess elements in struct initializer
main.c:822: warning: (near initialization for blend_methods[6]') main.c:822: warning: excess elements in struct initializer main.c:822: warning: (near initialization forblend_methods[6]’)
main.c:822: warning: excess elements in struct initializer
main.c:822: warning: (near initialization for blend_methods[6]') main.c: In functioninitBlender’:
main.c:835: error: PyObject' undeclared (first use in this function) main.c:835: error:m’ undeclared (first use in this function)
main.c:836: error: d' undeclared (first use in this function) main.c:839: warning: implicit declaration of functionPy_InitModule4’
main.c:841: error: syntax error before ‘)’ token
main.c:841: error: PYTHON_API_VERSION' undeclared (first use in this function) main.c:844: warning: implicit declaration of functionPyModule_GetDict’
main.c:845: warning: assignment makes pointer from integer without a cast
main.c:846: warning: implicit declaration of function PyDict_SetItemString' main.c:849: error: syntax error before ')' token main.c:853: warning: implicit declaration of functionPyErr_Occurred’
main.c:855: warning: implicit declaration of function Py_FatalError' main.c: In functionmain’:
main.c:864: warning: implicit declaration of function Py_SetProgramName' main.c:865: warning: implicit declaration of functionPy_Initialize’
main.c:868: warning: implicit declaration of function PyRun_AnyFile' main.c:870: warning: implicit declaration of functionPy_Finalize’
main.c: At top level:
main.c:194: warning: msh_dealloc' defined but not used main.c:206: warning:msh_print’ defined but not used
main.c:263: warning: msh_setattr' defined but not used main.c:362: warning:obj_dealloc’ defined but not used
main.c:374: warning: obj_print' defined but not used main.c:441: warning:obj_setattr’ defined but not used
main.c:530: warning: sce_dealloc' defined but not used main.c:540: warning:sce_print’ defined but not used
main.c:594: warning: sce_setattr' defined but not used make[4]: ** [main.o] Erro 1 make[4]: Leaving directory/home/knoppix/programas/blender/blender/intern/python/blendermodule’
make[3]: ** [all-recursive] Erro 1
make[3]: Leaving directory /home/knoppix/programas/blender/blender/intern/python/blendermodule' make[2]: ** [all-recursive] Erro 1 make[2]: Leaving directory/home/knoppix/programas/blender/blender/intern/python’
make[1]: ** [all-recursive-am] Erro 2
make[1]: Leaving directory /home/knoppix/programas/blender/blender/intern/python' make[1]: Entering directory/home/knoppix/programas/blender/blender/intern/python/freeze’
python -S -O freeze.py -d -x os -x pprint -x Blender -I …/modules -o …/…/…/source/blender/bpython/frozen …/modules/VRMLmain.py
/home/knoppix/programas/blender/blender/intern/python/freeze/parsesetup.py:3: DeprecationWarning: the regex module is deprecated; please use the re module
import regex
Error: needed directory /usr/lib/python2.3/config not found
Use ``freeze.py -h’’ for help
make[1]: ** [importer] Erro 2
make[1]: Leaving directory /home/knoppix/programas/blender/blender/intern/python/freeze' make[1]: Entering directory/home/knoppix/programas/blender/blender/source/blender/bpython/frozen’
make[1]: Makefile.freeze: No such file or directory
make[1]: *** Sem regra para processar o alvo Makefile.freeze'. Pare. make[1]: Leaving directory/home/knoppix/programas/blender/blender/source/blender/bpython/frozen’
cp: impossível fazer stat em `libfrozen.a’: No such file or directory
make: ** [frozen] Erro 1

I have python 2.3 installed.

What’s the problem in the makefile?

I tryed to build this source under Linux Debian and I get this erros:

[email protected]:~/programas/blender/blender$ make
chmod u+x source/tools/guess/guessconfig
chmod u+wx source/tools/guess/config.guess
mkdir -p lib/linux-glibc2.2.5-i386/openssl/lib
ln -s /usr/lib/libcrypto.a lib/linux-glibc2.2.5-i386/openssl/lib
ln: `lib/linux-glibc2.2.5-i386/openssl/lib/libcrypto.a’: Arquivo já existente
make: [openssl] Erro 1 (ignorado)

/home/knoppix/programas/blender/blender/source/blender/bpython/frozen' cp: impossível fazer stat emlibfrozen.a’: No such file or directory
make: ** [frozen] Erro 1

I have python 2.3 installed.

What’s the problem in the makefile?[/quote]
i have no aidea :frowning:

do you have installed all the development packages?

python comes to mind, but there are more that are required
openal-devel
sdl-devel
mesa-devel

I have no references to MT_assert.h in my tree!

Grab the 2.33 source code and build that.

AFAIK, 2.25 was never officially released as source.

Ohh no, I was going to do an executable file, with the key-esc disable, but If I modify the 2.33 source code, it wont allowed me to do an executable file.

I have no references to MT_assert.h in my tree!

Grab the 2.33 source code and build that.

AFAIK, 2.25 was never officially released as source.[/quote]
in the old blender.org i think i found it, in the news list,(one of the first one.) i think this is the 2.25 source

I have no references to MT_assert.h in my tree!

Grab the 2.33 source code and build that.

AFAIK, 2.25 was never officially released as source.[/quote]
in the old blender.org i think i found it, in the news list,(one of the first one.) i think this is the 2.25 source[/quote]

But, where is the link?

I have no references to MT_assert.h in my tree!

Grab the 2.33 source code and build that.

AFAIK, 2.25 was never officially released as source.[/quote]
in the old blender.org i think i found it, in the news list,(one of the first one.) i think this is the 2.25 source[/quote]

But, where is the link?[/quote]

Hi, I build a new blender player 2.34 without the ESC key function in the Fullscreen mode.

You can download here: http://planeta.terra.com.br/informatica/projetomo/blenderplayer.tar.bz2

Copy and paste the link to download it.

Only for Linux.

Bye.

:smiley: