Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help with installation #1

Open
kubitre opened this issue Apr 25, 2020 · 1 comment
Open

Need help with installation #1

kubitre opened this issue Apr 25, 2020 · 1 comment

Comments

@kubitre
Copy link

kubitre commented Apr 25, 2020

I cloning your repo and install all requured dependencues but i got error while compiling like that:

Error mvncStatus was not declare in this scope

This error was existing in any places which contain work with mvnc.h

What can i do for fixed that??

@kubitre kubitre changed the title Hell Need help with installation Apr 25, 2020
@kubitre
Copy link
Author

kubitre commented Apr 25, 2020

Full trace:

# github.com/hybridgroup/go-ncs

ncs.cpp: In function ‘int ncs_GetDeviceName(int, char*)’:

ncs.cpp:5:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncGetDeviceName(idx, name, NAME_SIZE);

     ^~~~~~~~~~

ncs.cpp:6:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_OpenDevice(const char*, void**)’:

ncs.cpp:10:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncOpenDevice(name, deviceHandle);

     ^~~~~~~~~~

ncs.cpp:11:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_CloseDevice(void*)’:

ncs.cpp:15:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncCloseDevice(deviceHandle);

     ^~~~~~~~~~

ncs.cpp:16:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_AllocateGraph(void*, void**, void*, unsigned int)’:

ncs.cpp:20:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncAllocateGraph(deviceHandle, graphHandle, graphData, graphDataLen);

     ^~~~~~~~~~

ncs.cpp:21:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_DeallocateGraph(void*)’:

ncs.cpp:25:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncDeallocateGraph(graphHandle);

     ^~~~~~~~~~

ncs.cpp:26:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_LoadTensor(void*, void*, unsigned int)’:

ncs.cpp:30:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncLoadTensor(graphHandle, tensorData, tensorDataLen, NULL);

     ^~~~~~~~~~

ncs.cpp:31:16: error: ‘r’ was not declared in this scope

     return int(r);

                ^

ncs.cpp: In function ‘int ncs_GetResult(void*, ResultData*)’:

ncs.cpp:36:5: error: ‘mvncStatus’ was not declared in this scope

     mvncStatus r = mvncGetResult(graphHandle, &(resultData->data), &(resultData->length), &userParam);

     ^~~~~~~~~~

ncs.cpp:37:16: error: ‘r’ was not declared in this scope

     return int(r);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant