2018-02-25 16:39:02 -0600 | received badge | ● Popular Question (source) |
2014-10-01 05:45:52 -0600 | asked a question | cross compilation problem in opencv2.4.9 dear, i trying to compile this stitching program using opencv but it is giving me an error program is --> sample program of stitching from opencv2.4.9 Error is--> kanchan@Mylappi:~$ arm-linux-g++ -O2 -I/usr/local/include/opencv -I/usr/local/include/opencv2 stitching.cpp -L/home/kanchan/opencv/opencv-2.4.9/build/lib -o stitched -lm -lopencv_core -lopencv_highgui -lopencv_cxcore -lcvblob -lopencv_ml -lopencv_aux -lopencv_rt -lopencv_pthread -lopencv_dl -lopencv_z -lopencv_png12 -lopencv_jpeg -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_video cc1plus: warning: include location "/usr/local/include/opencv" is unsafe for cross-compilation
cc1plus: warning: include location "/usr/local/include/opencv2" is unsafe for cross-compilation
stitching.cpp:45:39: error: opencv2/highgui/highgui.hpp: No such file or directory
stitching.cpp:46:42: error: opencv2/stitching/stitcher.hpp: No such file or directory
stitching.cpp:49: error: 'cv' is not a namespace-name
stitching.cpp:49: error: expected namespace-name before ';' token
stitching.cpp:52: error: expected constructor, destructor, or type conversion before '<' token
stitching.cpp: In function 'int main(int, char**)':
stitching.cpp:63: error: 'Mat' was not declared in this scope
stitching.cpp:63: error: expected |
2014-10-01 05:01:39 -0600 | received badge | ● Scholar (source) |
2014-09-30 03:10:58 -0600 | asked a question | giving an error when i include opencv librariry files dear, i am trying to compile the opencv code, but it is giving me an error while compiling the opencv program. i guess the problem is with i is not able to detect opencv library file. but i am not getting that error ..i have included each and every path. kanchan@Mylappi:~$ arm-linux-g++ -O2 -I/usr/local/include/opencv bck_sub.cpp -L/home/kanchan/opencv/opencv-2.4.9/build/lib -o find_obj -lcv -lhighgui -lcxcore -lml -lcvaux -lrt -lpthread -ldl -lz -lpng12 -ljpeg
cc1plus: warning: include location "/usr/local/include/opencv" is unsafe for cross-compilation
bck_sub.cpp: In function 'int main(int, char**)':
bck_sub.cpp:12: error: 'VideoCapture' is not a member of 'cv'
bck_sub.cpp:12: error: expected |