SyGoing / LFFD-MNN

MNN Implementation of the paper of LFFD: A Light and Fast Face Detector for Edge Devices
MIT License
126 stars 31 forks source link

Compiled test.cpp error #3

Closed leemengxing closed 5 years ago

leemengxing commented 5 years ago

Hello, I probably don't know much about c++. When I compiled test.cpp incorrectly, my command was g++ test.cpp-std=c++ 11 pkg-config -- LIBS -- cflags opencv4-I. /src. I link MNN libraries and header files at first level

leemengxing commented 5 years ago

{3065DA4E-9208-459D-9E7B-53F9651385A5}_20191008111804

SyGoing commented 5 years ago

I suggest you write the CMakeLists.txt to compile it , And please compile test.cpp and MNN_LFFD.cpp togethor

leemengxing commented 5 years ago

Thank you for your quick response. I'm not very good at c++. Can you give me CMakeLists. txt? I just got in touch with C++ programming in linux. Thank you very much for your help.

SyGoing commented 5 years ago

hello@leemengxing ,I have add a CMakeLists.txt ,you can try it

leemengxing commented 5 years ago

thank you a lot,your help helped me a lot.

SyGoing commented 5 years ago

If so, please star it