Skip to main content
GameDev.net gamedev.net
🔒 Locked

Codeblocks Help

Started by Thefuzzyone May 24, 2008 at 10:48 AM 3 replies 1k views
Original Post
Thefuzzyone
Thefuzzyone
Im part of a team making a game using id Tech 3, and we are switching to all free software. Anyways im trying to build a project using codeblocks but i keep getting this message: Linking dynamic library: ..\Release\qagamex86.dll mingw32-g++.exe: 0x20000000: No such file or directory I have mingw installed, and im running winxp sp3. When i try to compile anything else it works fine. Any sugestions?
garulf
garulf
Maybe it doesn't find qagamex86.dll..
so mingw32-g++.exe says No such file or directory.
Hope this help.
Garulf-
samoth
samoth
Use an absolute path or make the pathname relative to some variable, for example $(PROJECTDIR), this should expand to an absolute pathname and be relocatable at the same time. For some reason, MinGW wants an absolute path if you give it a full library name (with extension).

I don't know why it wants absolute paths in that case, but using them fixes the problem.
Thefuzzyone
Thefuzzyone
Ok I tried it and got:

Linking dynamic library: C:\Program Files\Quake III Arena\test\qagamex86.dll
mingw32-g++.exe: 0x20000000: No such file or directory

The only other thing that i can think is that i have it not to build the file qmath.c because i Get this error:

C:\Program Files\Quake III Arena\source\code\game\q_math.c|798|error: syntax error before '{' token|

for this part of the file where the error line is the top of the code.
{		push ebx		cmp bops_initialized, 1		je  initialized		mov bops_initialized, 1		mov Ljmptab[0*4], offset Lcase0		mov Ljmptab[1*4], offset Lcase1		mov Ljmptab[2*4], offset Lcase2		mov Ljmptab[3*4], offset Lcase3		mov Ljmptab[4*4], offset Lcase4		mov Ljmptab[5*4], offset Lcase5		mov Ljmptab[6*4], offset Lcase6		mov Ljmptab[7*4], offset Lcase7initialized:		mov edx,dword ptr[4+12+esp]		mov ecx,dword ptr[4+4+esp]		xor eax,eax		mov ebx,dword ptr[4+8+esp]		mov al,byte ptr[17+edx]		cmp al,8		jge Lerror		fld dword ptr[0+edx]		fld st(0)		jmp dword ptr[Ljmptab+eax*4]Lcase0:		fmul dword ptr[ebx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ecx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ebx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ecx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ebx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ecx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase1:		fmul dword ptr[ecx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ebx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ebx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ecx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ebx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ecx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase2:		fmul dword ptr[ebx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ecx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ecx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ebx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ebx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ecx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase3:		fmul dword ptr[ecx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ebx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ecx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ebx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ebx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ecx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase4:		fmul dword ptr[ebx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ecx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ebx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ecx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ecx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ebx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase5:		fmul dword ptr[ecx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ebx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ebx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ecx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ecx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ebx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase6:		fmul dword ptr[ebx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ecx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ecx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ebx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ecx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ebx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)		jmp LSetSidesLcase7:		fmul dword ptr[ecx]		fld dword ptr[0+4+edx]		fxch st(2)		fmul dword ptr[ebx]		fxch st(2)		fld st(0)		fmul dword ptr[4+ecx]		fld dword ptr[0+8+edx]		fxch st(2)		fmul dword ptr[4+ebx]		fxch st(2)		fld st(0)		fmul dword ptr[8+ecx]		fxch st(5)		faddp st(3),st(0)		fmul dword ptr[8+ebx]		fxch st(1)		faddp st(3),st(0)		fxch st(3)		faddp st(2),st(0)LSetSides:		faddp st(2),st(0)		fcomp dword ptr[12+edx]		xor ecx,ecx		fnstsw ax		fcomp dword ptr[12+edx]		and ah,1		xor ah,1		add cl,ah		fnstsw ax		and ah,1		add ah,ah		add cl,ah		pop ebx		mov eax,ecx		retLerror:		int 3}


If i dont build it with the project in msvs6 it still runs fine.
Thefuzzyone
Thefuzzyone
also does anyone know if codeblocks works well in vista?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.