While integration, merging, porting and cross-compilation of various projects I encounter many errors caused by missing headers or undefined symbols. Then I manually search headers and libraries to determine the correct options to add to LDFLAGS and CPPFLAGS to solve the errors. Usually it is rather routine procedure.Is there a tool capable of automatically generating proper LDFLAGS and CPPFLAGS options in this way?I know about pkg-config but it only works with pre-configured projects: the projects need to provide a .pc file, and the user needs to know about them. I am looking for solutions in situations where pkg-config can't help.My own project, errors_resolver, is a Python script which analyzes various compilation and system errors and helps to solve them.
Automatic generation of LDFLAGS, CPPFLAGS and other from error messages
compiling;make;header file