easy-cpp-projects icon indicating copy to clipboard operation
easy-cpp-projects copied to clipboard

How to add existing library containing .h and .cpp in same folder

Open devararendy opened this issue 6 years ago • 0 comments

Hi I would like to ask. How to add existing library containing .h and .cpp in same folder ? Because in default, the .h and .cpp is located in different folder. .h is inside include folder and the .cpp is inside src folder.

But I have a library (MAVlink library) which is containing .h and .cpp in same folder. Also there are some subfolder inside the library folder (inside MAVlink library).

I've tried putting the MAVlink library inside include folder, but when i build it, i got error undefined reference ....

image

and I could not see any problem in "Problems Tab"

image

Hopefully You guys can help. Thank You so much for your time for helping me

Best regards

Rendy

devararendy avatar Jan 10 '20 09:01 devararendy