but it still can't compliing successfully. so why? where is the problem?
Most likely misconfguration and misunderstading of configuration options.
For
pkg-config and similar:
use the
--cflags (or
--cppflags ?) parameter in compiler options and the
--libs parameter in the linker settings.
If you really have to specify additional include paths (the most should come from
pkg-config --c{pp}flags ) add them to the appropriate search directories in the respective tab.
Full commandline logging shows the full commandline in the build log, so you can see what is sent to the compiler, to be able to fix your problem.
It does not change the commands send to the compiler.