I tried two projects in one workspace
1st of console type with source
#include <iostream>
using namespace std;
int addint(const int& x, const int& y);
int main()
{
cout << addint(10,20) << endl;
return 0;
}
and 2nd of static lib type with source
int addint(const int& x, const int& y)
{ return x+y; }
and found that prototype of addint was not bound to its definition in static lib source.
Project dependencies was correct.
What else I have to do?