kingofthebongo2008 / nvidia-mesh-tools

Automatically exported from code.google.com/p/nvidia-mesh-tools
0 stars 0 forks source link

Linux 64 bit compilation error #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling on Linux 64 gives me the following error, due to mismatch in size
between size_t and unsigned int. The attached patch fixes the problem.

[ 39%] Building CXX object
src/nvmesh/CMakeFiles/nvmesh.dir/render/NvTriStrip.cpp.o
/media/data/nvidia-mesh-tools-read-only/src/nvmesh/render/NvTriStrip.cpp:213:
error: ‘bool nv::TriStrip::GenerateStrips(const short unsigned int*,
size_t, nv::TriStrip::PrimitiveGroup**, short unsigned int*, bool)’ should
have been declared inside ‘nv::TriStrip’

Original issue reported on code.google.com by brechtva...@gmail.com on 13 Sep 2009 at 12:44

Attachments:

GoogleCodeExporter commented 9 years ago
Made a mistake in creating the patch, here is the correct one.

Original comment by brechtva...@gmail.com on 13 Sep 2009 at 12:46

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the bug report! I've applied your patch.

Original comment by cast...@gmail.com on 14 Sep 2009 at 9:35