[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] Issue to run snowballs2
From: |
David MENTRE |
Subject: |
Re: [Nel] Issue to run snowballs2 |
Date: |
24 Jan 2002 20:29:57 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Vincent Caron <address@hidden> writes:
> - Get rid of some wgl dependencies : replace
>
> extern PFNWGLALLOCATEMEMORYNVPROC wglAllocateMemoryNV;
> extern PFNWGLFREEMEMORYNVPROC wglFreeMemoryNV;
>
> with something like :
>
> #ifdef NL_OS_WINDOWS
> typedef PFNWGLALLOCATEMEMORYNVPROC PFNGLEXTALLOCATEMEMORYNVPROC;
> typedef PFNWGLFREEMEMORYNVPROC PFNGLEXTFREEMEMORYNVPROC;
> #endif
> #ifdef NL_OS_UNIX
> typedef void *(*PFNGLEXTALLOCATEMEMORYNVPROC)(GLsizei, GLfloat,
> GLfloat, GLfloat);
> typedef void (*PFNGLEXTFREEMEMORYNVPROC)(GLvoid *);
> #endif
> extern PFNGLEXTALLOCATEMEMORYNVPROC glextAllocateMemoryNV;
> extern PFNGLEXTFREEMEMORYNVPROC glextFreeMemoryNV;
>
> (and update the code in .cpp to fetch the right function name, "wgl*"
> or "glX*")
>
> - The same with the pbuffer extension which as its glX counterpart
Lionel, as of today, the code compiles but does not run[1]. If you try
to fix this bug, let me know and I'll try to recompile snowballs2 on my
machine.
[ BTW, I know there is a special french touch for video games, but I
didn't know that it consists in putting french words like "Abandon" in
error messages. :) ]
Until then, I'm stuck. Yes, I know I should fix this myself but I prefer
let you do it your own way. However, if you do not indend to fix this
bug, let me know and I'll try to follow Vincent suggestions.
Best regards,
david
[1]
address@hidden:~/pub/NeL/code/snowballs2/client$
/usr/local/Installed/NeL/bin/snowballs
INF24568 client.cpp 145 : Starting Snowballs !
WRN24568 dru.cpp 95 : when loading dynamic library 'libnel_drv_opengl.so':
/usr/local/Installed/NeL/lib/libnel_drv_opengl.so: undefined symbol:
glSetFenceNV
WRN24568 common.cpp 390 : Exception will be launched: libnel_drv_opengl.so not
found
Abandon
All libs are correctly initialized:
address@hidden:~/pub/NeL/code/snowballs2/client$ ldd
/usr/local/Installed/NeL/bin/snowballs
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4001d000)
libnelmisc.so.0 => /usr/local/Installed/NeL/lib/libnelmisc.so.0
(0x40056000)
libnelnet.so.0 => /usr/local/Installed/NeL/lib/libnelnet.so.0
(0x401db000)
libnel3d.so.0 => /usr/local/Installed/NeL/lib/libnel3d.so.0 (0x403c0000)
libnelpacs.so.0 => /usr/local/Installed/NeL/lib/libnelpacs.so.0
(0x409b8000)
libnelsnd.so.0 => /usr/local/Installed/NeL/lib/libnelsnd.so.0
(0x40a7a000)
libstlport_gcc.so =>
/usr/local/Installed/STLport4.5/lib/libstlport_gcc.so (0x40ab4000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40bbe000)
libm.so.6 => /lib/libm.so.6 (0x40c08000)
libc.so.6 => /lib/libc.so.6 (0x40c2a000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40d4e000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x40d64000)
libdl.so.2 => /lib/libdl.so.2 (0x40dfd000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libz.so.1 => /usr/lib/libz.so.1 (0x40e01000)
--
address@hidden
- [Nel] Issue to run snowballs2, David Mentre, 2002/01/08
- Re: [Nel] Issue to run snowballs2, David Mentre, 2002/01/08
- Re: [Nel] Issue to run snowballs2, Lionel Berenguier, 2002/01/09
- Re: [Nel] Issue to run snowballs2, David Mentre, 2002/01/09
- Re: [Nel] Issue to run snowballs2, David Mentre, 2002/01/09
- Re: [Nel] Issue to run snowballs2, Vincent Caron, 2002/01/09
- Re: [Nel] Issue to run snowballs2, Lionel Berenguier, 2002/01/22
- Re: [Nel] Issue to run snowballs2, Vincent Caron, 2002/01/22
- Re: [Nel] Issue to run snowballs2,
David MENTRE <=
- Re: [Nel] Issue to run snowballs2, Vianney Lecroart, 2002/01/28
- Re: [Nel] Issue to run snowballs2, Vincent Caron, 2002/01/28
- Message not available
- Re: [Nel] Issue to run snowballs2, David MENTRE, 2002/01/28