Hello
i'm new in sparksee i tried the creation of HelloSparksee graph database but when i typed code ginven in the starting guide
#include "stdafx.h"
#include "gdb/Sparksee.h"
#include "gdb/Database.h"
#include "gdb/Session.h"
#include "gdb/Graph.h"
#include "gdb/Objects.h"
#include "gdb/ObjectsIterator.h"
using namespace sparksee::gdb;
int main(int argc , char *argv[])
{
SparkseeConfig cfg;
Sparksee *sparksee = new Sparksee(cfg);
Database * db = sparksee ->Create(L"HelloSparksee.gdb", L"HelloSparksee");
Session * sess = db->NewSession();
Graph * graph = sess ->GetGraph();
// Add a node type for the movies , with a unique identifier and two indexed attributes
type_t movieType = g->NewNodeType(L"MOVIE");
attr_t movieIdType = g->NewAttribute(movieType , L"ID", Long , Unique);
attr_t movieTitleType = g->NewAttribute(movieType , L"TITLE", String , Indexed);
attr_t movieYearType = g->NewAttribute(movieType , L"YEAR", Integer , Indexed);
i get these errors:
error c2065 c++ undeclared identifier
error c2227 left of NewNodeType-> must point to class/struct/union/generic type
error c2227 left of NewAttributee-> must point to class/struct/union/generic type
please can you help me