KGL-X where to find it ?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Jae686
Insane DCEmu
Insane DCEmu
Posts: 112
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sat Sep 22, 2007 9:43 pm
Location: Braga - Portugal
Has thanked: 0
Been thanked: 0

KGL-X where to find it ?

Post by Jae686 »

Hi there.
I've been looking for the KGL-X libary ( due to the fact that it supports display lists) but the site that hosted it is down, And i've been unable to find it anywhere.

Does anyone know were i could get it ?

Best Regards!
User avatar
Neoblast
DC Developer
DC Developer
Posts: 315
Joined: Sat Dec 01, 2007 8:51 am
Has thanked: 5 times
Been thanked: 1 time

Re: KGL-X where to find it ?

Post by Neoblast »

Try chui's site....
Jae686
Insane DCEmu
Insane DCEmu
Posts: 112
Joined: Sat Sep 22, 2007 9:43 pm
Location: Braga - Portugal
Has thanked: 0
Been thanked: 0

Re: KGL-X where to find it ?

Post by Jae686 »

Thank you. after reading his webpage more carefully his implementation is based on KGL-X.

Best Regards!

[EDIT]

I get the following error when trying to compile libglx...

Code: Select all

jaerder@jaerder-laptop:~/development/dc/kos-ports/libglx$ make
kos-cc  -c src/glapi.c -o src/glapi.o
src/glapi.c:76: error: conflicting types for 'glVertex3fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:362: error: previous declaration of 'glVertex3fv' was here
src/glapi.c:76: error: conflicting types for 'glVertex3fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:362: error: previous declaration of 'glVertex3fv' was here
src/glapi.c:126: error: conflicting types for 'glColor4fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:374: error: previous declaration of 'glColor4fv' was here
src/glapi.c:126: error: conflicting types for 'glColor4fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:374: error: previous declaration of 'glColor4fv' was here
src/glapi.c:144: error: conflicting types for 'glColor3fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:370: error: previous declaration of 'glColor3fv' was here
src/glapi.c:144: error: conflicting types for 'glColor3fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:370: error: previous declaration of 'glColor3fv' was here
src/glapi.c:182: error: conflicting types for 'glTexCoord2fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:378: error: previous declaration of 'glTexCoord2fv' was here
src/glapi.c:182: error: conflicting types for 'glTexCoord2fv'
/home/jaerder/development/dc/kos/../kos-ports/include/GL/gl.h:378: error: previous declaration of 'glTexCoord2fv' was here
src/glapi.c: In function `glEnableClientState':
src/glapi.c:2750: error: `GL_VERTEX_ARRAY' undeclared (first use in this function)
src/glapi.c:2750: error: (Each undeclared identifier is reported only once
src/glapi.c:2750: error: for each function it appears in.)
src/glapi.c:2751: error: `GL_NORMAL_ARRAY' undeclared (first use in this function)
src/glapi.c:2752: error: `GL_COLOR_ARRAY' undeclared (first use in this function)
src/glapi.c:2753: error: `GL_TEXTURE_COORD_ARRAY' undeclared (first use in this function)
src/glapi.c: In function `glDisableClientState':
src/glapi.c:2767: error: `GL_VERTEX_ARRAY' undeclared (first use in this function)
src/glapi.c:2768: error: `GL_NORMAL_ARRAY' undeclared (first use in this function)
src/glapi.c:2769: error: `GL_COLOR_ARRAY' undeclared (first use in this function)
src/glapi.c:2770: error: `GL_TEXTURE_COORD_ARRAY' undeclared (first use in this function)
src/glapi.c: In function `glVertexPointer':
src/glapi.c:2791: error: `GL_VERTEX_ARRAY' undeclared (first use in this function)
src/glapi.c: In function `glColorPointer':
src/glapi.c:2808: error: `GL_COLOR_ARRAY' undeclared (first use in this function)
src/glapi.c: In function `glNormalPointer':
src/glapi.c:2824: error: `GL_NORMAL_ARRAY' undeclared (first use in this function)
src/glapi.c: In function `glTexCoordPointer':
src/glapi.c:2843: error: `GL_TEXTURE_COORD_ARRAY' undeclared (first use in this function)
make: *** [src/glapi.o] Error 1
jaerder@jaerder-laptop:~/development/dc/kos-ports/libglx$ 


Any thoughts ?

Best Regards
User avatar
henzenmann
Insane DCEmu
Insane DCEmu
Posts: 186
Joined: Wed Jul 12, 2006 4:58 pm
Has thanked: 0
Been thanked: 0
Contact:

Re: KGL-X where to find it ?

Post by henzenmann »

It seems like KGL-X is colliding with the "stock" KGL. Try removing "kos-ports/include/GL/*" and "kos/addons/lib/dreamcast/libgl.a" first and then start over with installing/compiling KGL-X.
Post Reply