When I try to build the dynamic library of ocilib using Windows Visual Studio 2010, I got some compiling error for some of the .c files (object.c, lob.c, and library.c): like:
....\src\object.c(1096): error C2143: syntax error : missing ';' before 'type'
....\src\object.c(1096): error C2065: 'index' : undeclared identifier
....\src\object.c(1133): error C2143: syntax error : missing '{' before ''
....\src\object.c(1168): error C2371: 'OCI_ObjectGetColl' : redefinition; different basic types
D:\Oracle_OciLib\ocilib\include\ocilib.h(12756) : see declaration of 'OCI_ObjectGetColl'
Any suggestion on correcting this? Or did I miss something?
Thanks a lot,
J. C
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "OCILIB troubleshooting (ReadOnly - Use GitHub tracker instead)" comments posted by this user
Mark all as spam, and block user from posting to "Old Discussions [ReadOnly]"
Hi,
When I try to build the dynamic library of ocilib using Windows Visual Studio 2010, I got some compiling error for some of the .c files (object.c, lob.c, and library.c): like:
....\src\object.c(1096): error C2143: syntax error : missing ';' before 'type'
....\src\object.c(1096): error C2065: 'index' : undeclared identifier
....\src\object.c(1133): error C2143: syntax error : missing '{' before ''
....\src\object.c(1168): error C2371: 'OCI_ObjectGetColl' : redefinition; different basic types
D:\Oracle_OciLib\ocilib\include\ocilib.h(12756) : see declaration of 'OCI_ObjectGetColl'
Any suggestion on correcting this? Or did I miss something?
Thanks a lot,
J. C
Hi,
Did you try with latest sources ?
Regards,
Vincent