[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nel] Compilation issues
From: |
Alexandre Courbot |
Subject: |
[Nel] Compilation issues |
Date: |
19 Oct 2001 14:46:04 +0200 |
Hello, I've found some others issues with compiling the current NeL CVS.
1st in code/nel/src/3d/vertex_buffer.cpp, the lines 694 and 715 caused
compilation errors because the 'i' variable was out of score. Replacing
'for(i=0' by 'for(uint i=0' solves the problem.
The second comes from
code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp. Here's the
compilation log:
driver_opengl_vertex.cpp: In method `bool
NL3D::CVertexBufferHardGL::init(NL3D::CDriverGL *, short unsigned int,
const uint8 *, unsigned int, NL3D::IDriver::TVBHardType)':
driver_opengl_vertex.cpp:801: implicit declaration of function `int
NL3D::glGenFencesNV(...)'
driver_opengl_vertex.cpp: In method
`NL3D::CVertexBufferHardGL::~CVertexBufferHardGL()':
driver_opengl_vertex.cpp:816: implicit declaration of function `int
NL3D::glDeleteFencesNV(...)'
driver_opengl_vertex.cpp: In method `void
NL3D::CVertexBufferHardGL::setFence()':
driver_opengl_vertex.cpp:885: implicit declaration of function `int
NL3D::glSetFenceNV(...)'
driver_opengl_vertex.cpp: In method `void
NL3D::CVertexBufferHardGL::finishFence()':
driver_opengl_vertex.cpp:896: implicit declaration of function `int
NL3D::glFinishFenceNV(...)'
driver_opengl_vertex.cpp: In method `void
NL3D::CDriverGL::setupGlArrays(NL3D::CVertexBufferInfo &,
NL3D::CVBDrvInfosGL *, bool, bool)':
driver_opengl_vertex.cpp:1393: implicit declaration of function `int
NL3D::glVertexAttribPointerNV(...)'
I don't know why, but it looks like these GL functions doesn't exist on
my system. I don't know OpenGL much so I can't be of great help here -
but I'm sure I'm using a recent Mesa (the one that is merged with XFree
4.1.0).
See you,
Alex.
- [Nel] Compilation issues,
Alexandre Courbot <=