bug with arrays of textutes?

what with support for textures arrays - are they supported?

typedef texture<uint4 , 1, cudaReadModeElementType> TexMem;

typedef texture<uchar4, 2, cudaReadModeNormalizedFloat> Texture;

TexMem sph_tex;

TexMem vert_tex;

texture<int, 1, cudaReadModeElementType> ind_tex;

Texture textures[8]; // THIS IS CAUSE OF ERROR!

error LNK2019: unresolved external symbol ___cxa_vec_ctor referenced in function ___sti___29_tmpxft_00001518_00000000_5_ii_sph_tex

As I know texture references have to be global and are not allowd to be arrays.

I thought it is possible to define them but they can’t be used by texFetch anyway.

Someone please correct me if I’m wrong …

regards
pototschnig

ok, thanks i would keep it in mind