The problems I see from your first attempt are:
- You specified a path instead of the specific library to link with. There is include path, library path and there is the libraries to link with. The...