grendizerufo / nvidia-texture-tools

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

nvtt does not compile without CUDA #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cmake-gui to create the Makefiles (running on linux)
2. Run make
3.

What is the expected output? What do you see instead?

I expect a succesfull compile. However, compilation fails at
src/nvtt/Context.cpp.

What version of the product are you using? On what operating system?

Trunk (revision 1042), on Fedora 12.

Please provide any additional information below.

A patch which fixes the problem is attached (I haven't tested this patch
with cuda, but I think it should keep working).

Original issue reported on code.google.com by amorilia...@gmail.com on 13 Mar 2010 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the heads-up. This is fixed now, but keep in mind that the version in
trunk is under heavy development and generally unstable.

Original comment by cast...@gmail.com on 17 Mar 2010 at 8:22

GoogleCodeExporter commented 9 years ago
Yeah, I realize that the trunk is far from stable at this point, but I just 
needed to
test nvdecompress quickly to fix a dds related bug in Blender - no breakage 
observed
in nvdecompress at least.

I can confirm that the trunk now compiles again, after a very small two-line 
fix in
one of the CMakeLists.txt files (patch attached).

Thanks,
Amorilia

Original comment by amorilia...@gmail.com on 21 Mar 2010 at 5:59

Attachments:

GoogleCodeExporter commented 9 years ago
That's fixed now. Thanks :)

Original comment by cast...@gmail.com on 21 Mar 2010 at 6:39