Hello Folks
I am getting these compilation errors when I try to create a simple login program (attached).The first set errors seem compiler related. The other seems to be VISDK related. Can you help me out ?
-bash-3.2$ g++ Login.cpp -DWITH_OPENSSL -DWITH_COOKIES
In file included from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1i/../../../../include/g++-3/iostream.h:31,
from Login.cpp:1:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1i/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1i/../../../../include/g++-3/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1i/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1i/../../../../include/g++-3/streambuf.h:364: `struct streampos' used where a `long long int' was expected
Login.cpp: In function `int main(int, char *)':
Login.cpp:10: aggregate `struct ns1_RetrieveServiceContent SvcCont' has incomplete type and cannot be initialized
Login.cpp:14: aggregate `struct ns1_Login login' has incomplete type and cannot be initialized
Login.cpp:17: confused by earlier errors, bailing out