lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Vectors example does not compile #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I get the following errors when i try to cmpile the vector example given in the 
quick start guide http://code.google.com/p/thrust/wiki/QuickStartGuide#Vectors

My platform info:
Compiler: Visual Studio 9
OS: Windows 7 64-bit
NVCC:release 3.1 v0.2.1221
Thrust version: Latest svn through hg

1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(115): error: 
namespace "thrust::detail" has no member "iterator_device_reference"
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(115): error: 
expected an identifier
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(133): error: 
namespace "thrust::detail" has no member "iterator_device_reference"
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(133): error: 
expected an identifier
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(391): error: 
iterator_device_reference is not a template
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(394): error: 
namespace "thrust::detail" has no member class "iterator_device_reference"
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(394): error: not a 
class or struct name
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(394): error: class 
or struct definition is missing
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator_base.h(436): error: 
iterator_device_reference is not a template
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator.inl(129): error: 
namespace "thrust::detail" has no member "tuple_of_dereference_result"
1>C:\CUDA\include\thrust/iterator/detail/zip_iterator.inl(129): error: expected 
an identifier

Original issue reported on code.google.com by mmmova...@gmail.com on 25 Aug 2010 at 6:02

GoogleCodeExporter commented 8 years ago

Original comment by jaredhoberock on 7 May 2012 at 9:57