You should create a subfolder in lib
and put the source files in there, as the README says, not directly into lib/
.
Undefined reference to `function::function(variable)' collect2.exe: error: ld returned 1 exit status
1 Like