I tried adding the -I<ntcore/include> file but I am still getting an error:
Code:
/usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/crtl.o: In function `_start': /build/glibc-H706YU/glibc-2.19/csu/../ports/sysdeps/arm/start.S:119: undefined reference to main `main' collect2: error: ld returned 1 exit status
this is what I used to compile:
g++ -std=c++0x -I<ntcore/include> -lntcore vision.cpp -o test_colour `pkg-config --cflags --libs opencv`
We think the reason is because it cannot find a main function even though we have a main function in vision.cpp
EDIT: when we added the library path, we forgot to source it to make the program see the lib path.
Thanks for your help!