[Scons-users] Problem with include path (CPPPATH)

Gary Oberbrunner garyo at oberbrunner.com
Mon Jan 20 16:53:42 EST 2014


On Mon, Jan 20, 2014 at 4:47 PM, delbert dev <delbertum at gmail.com> wrote:

> cc1plus: warning: cpp/3rdparty/gtest-1.7.0: No such file or directory

> [enabled by default]

> cc1plus: warning: cpp/3rdparty/gtest-1.7.0/include: No such file or

> directory [enabled by default]

> cc1plus: warning: cpp/3rdparty/gmock-1.7.0: No such file or directory

> [enabled by default]

> cc1plus: warning: cpp/3rdparty/gmock-1.7.0/include: No such file or

> directory [enabled by default]

>

>

> But as described earlier described it does not make sense that those path

> are added to the includes (CPPPATH), e.g -Icpp/3rdparty/gmock-1.7.0/include


One way to debug might be to, at the very end of your SConstruct, put this:

print env.Dump()

and see if you can find those dirs in the output. That might give you a clue.

--
Gary


More information about the Scons-users mailing list