i made program based off of demo program on affdex git page found here. demo called 'opencv-webcam-demo'. running ubuntu 14.04 @ time , worked fine. upgraded ubuntu 16.04 , demo (even without changes) not run properly. tried install latest versions of opencv , boost , confirmed installed correctly still same issue.
here output when run program in ubuntu 16.04:
ethan@ethan-hp-pavilion-dv6-notebook-pc:~/leepsprogram/build/opencv-webcam-demo$ ./opencv-webcam-demo --help hit escape key exit app.. encountered exception std::exception*** error in `./opencv-webcam-demo': free(): invalid pointer: 0x0000000001c71ca8 *** ======= backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7f0ce2798725] /lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7f0ce27a0f4a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f0ce27a4abc] ./opencv-webcam-demo(_zn5boost10filesystem4pathd1ev+0x18)[0x469c86] /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7f0ce275b35a] /home/ethan/libraries/affdex-sdk/lib/libaffdex-native.so(+0x5273a3)[0x7f0ce642a3a3]
there memory map if helps let me know , can paste in here too.
so far have tried figure out part of code works , part not work , found if remove boost program reach until point affdex has specify path data folder, @ point throws affdex exception saying data path must non-null. should not null because set @ start.
affdex::path data_folder = "<path data folder>"; ... framedetector->setclassifierpath(data_folder);
still, removing boost not ideal since coded me. if have remove boost must solve issue well.
libraries , versions / os version:
boost 1.59.0
opencv 3.1.0
affdex 3.1-396
ubuntu 16.04
are these libraries compatible ubuntu 16.04?
thanks help. appreciated.
i think problem mixing libraries compiled incompatible versions of libstdc++ .. compiler version using?
the current version of linux sdk compiled gcc 4.8
Comments
Post a Comment