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

Compiled test.cpp error #3

Closed
leemengxing opened this issue Oct 8, 2019 · 6 comments
Closed

Compiled test.cpp error #3

leemengxing opened this issue Oct 8, 2019 · 6 comments

Comments

@leemengxing
Copy link

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
Copy link
Author

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

@SyGoing
Copy link
Owner

SyGoing commented Oct 8, 2019

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

@leemengxing
Copy link
Author

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
Copy link
Owner

SyGoing commented Oct 8, 2019

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

@SyGoing SyGoing closed this as completed Oct 8, 2019
@leemengxing
Copy link
Author

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

@SyGoing
Copy link
Owner

SyGoing commented Oct 8, 2019

If so, please star it

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

2 participants