Question
Unable to add an existing code (library) to a project.
I copy-pasted my library folder containing .cpp and .h files to the project root folder and added the include directories to both Include Paths in GCC and G++ compiler settings. But still when I'm trying to build the project, I get "undefined reference error" which indicates that my library source files are not getting built (or linked). I've changed the main.c to main.cpp as my library is in C++.
What am I doing wring?