I am getting following error while compiling with ocilib-4.0.1-windows.
I am building project on Visual Studio 2008
I copied ocilib header in my project local directory and set the path variable to the the ocilib\lib64 and copied the libs locally in project also.
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(3113) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1> [
1> _Ty=unsigned char
1>
help please !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In fact i am using the std::vector::data() that was introduced in C++11.
It is supported by GCC for a long time and VS from VS2010.
but not by VS2008...
I'l try to to find a compliant way to do it in C++03.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've committed a fix for it and replaced usages of std::vector::data() by older way in order to be compliant with C++03
Get latest version of hpp files for GIT repository.
Regards,
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2015-02-25
The no. of same error for errors are reduced for C2039: 'data' : is not a member of error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1> [
1> _Ty=unsigned char
1>
. but I am still getting the error.
Now error is only coming at these locations.
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5813) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5885) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5980) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(6040) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
..
I guess same fix need to be applied in these places as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting following error while compiling with ocilib-4.0.1-windows.
I am building project on Visual Studio 2008
I copied ocilib header in my project local directory and set the path variable to the the ocilib\lib64 and copied the libs locally in project also.
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(3113) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1> [
1> _Ty=unsigned char
1>
help please !
Hi,
Can you try with the latest versions of ocilib hpp files from GIT repository under include folder ?
Regards,
Vincent
In fact i am using the std::vector::data() that was introduced in C++11.
It is supported by GCC for a long time and VS from VS2010.
but not by VS2008...
I'l try to to find a compliant way to do it in C++03.
Hi,
I've committed a fix for it and replaced usages of std::vector::data() by older way in order to be compliant with C++03
Get latest version of hpp files for GIT repository.
Regards,
Vincent
The no. of same error for errors are reduced for C2039: 'data' : is not a member of error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1> [
1> _Ty=unsigned char
1>
. but I am still getting the error.
Now error is only coming at these locations.
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5813) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5885) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(5980) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
1>c:\test\cpp\test2\test2\test2\ocilib_impl.hpp(6040) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1> with
1>
1> _Ty=unsigned char
1>
..
I guess same fix need to be applied in these places as well.
I thought i had replaced all occurrence.
I re-checked and made another commit.
i should be fine now !
Thanks !! the problem is solved now.