grendizerufo / nvidia-texture-tools

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

compile last snapshot using visual studio express c++ #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am trying to compile nvidia-texture-tools on two computer (where I was 
able to compile 2.0.6 without trouble ), one Vista 32, one Windows XP 32. 
CUDA 2.3 installed on the two computer.
I use cmake to configure and I open the sln and try to compile with visual 
studio 2008 SP1 express :
1)- I need to comment #define openmp and next line, because there is no 
openmp on visual studio express.
2)-I can't compile nvtt.lib : I have the following error :
1>nvtt.lib(CudaCompressDXT.obj) : error LNK2019: symbole externe non résolu 
_bindTextureToArray référencé dans la fonction "public: virtual void 
__thiscall nv::CudaCompressorDXT1::setup(struct cudaArray *,struct 
nvtt::CompressionOptions::Private const &)" (?
setup@CudaCompressorDXT1@nv@@UAEXPAUcudaArray@@ABUPrivate@CompressionOption
s@nvtt@@@Z)
1>nvtt.lib(CudaCompressDXT.obj) : error LNK2019: symbole externe non résolu 
_setupCompressKernel référencé dans la fonction "public: virtual void 
__thiscall nv::CudaCompressorDXT1::setup(struct cudaArray *,struct 
nvtt::CompressionOptions::Private const &)" (?
setup@CudaCompressorDXT1@nv@@UAEXPAUcudaArray@@ABUPrivate@CompressionOption
s@nvtt@@@Z)
1>nvtt.lib(CudaCompressDXT.obj) : error LNK2019: symbole externe non résolu 
_compressKernelDXT1 référencé dans la fonction "public: virtual void 
__thiscall nv::CudaCompressorDXT1::compressBlocks(unsigned int,unsigned 
int,unsigned int,unsigned int,enum nvtt::AlphaMode,struct 
nvtt::CompressionOptions::Private const &,void *)" (?
compressBlocks@CudaCompressorDXT1@nv@@UAEXIIIIW4AlphaMode@nvtt@@ABUPrivate@
CompressionOptions@4@PAX@Z)
1>nvtt.lib(CudaCompressDXT.obj) : error LNK2019: symbole externe non résolu 
_compressKernelDXT3 référencé dans la fonction "public: virtual void 
__thiscall nv::CudaCompressorDXT3::compressBlocks(unsigned int,unsigned 
int,unsigned int,unsigned int,enum nvtt::AlphaMode,struct 
nvtt::CompressionOptions::Private const &,void *)" (?
compressBlocks@CudaCompressorDXT3@nv@@UAEXIIIIW4AlphaMode@nvtt@@ABUPrivate@
CompressionOptions@4@PAX@Z)
1>C:\dev\nvidia-texturetools\src\nvtt\tests\Debug\nvtestsuite.exe : fatal 
error LNK1120: 4 externes non résolus

Original issue reported on code.google.com by kaolite@gmail.com on 9 Nov 2009 at 8:54

GoogleCodeExporter commented 9 years ago
Please, use the stable branch, the main branch is unstable at this point and is 
known
to have errors in some platforms.

Original comment by cast...@gmail.com on 2 Mar 2010 at 1:37