[Scons-users] Two different environments were specified for target

Gary Oberbrunner garyo at oberbrunner.com
Fri Feb 14 08:14:40 EST 2014


Please send the full error message along with the target names. Usually
this comes from the same target (sometimes an intermediate one like an
object file) with two different commands to build it.

--
Gary Oberbrunner
(sent from my Android)
On Feb 14, 2014 7:33 AM, "Philipp Kraus" <philipp.kraus at tu-clausthal.de>
wrote:


> Hello,

>

> I get the warning "scons: warning: Two different environments were

> specified for target", but I don't know any idea to solve it.

>

> My project has got different parts:

>

> /core

> /service

> /tests

>

> tests and service depends on core, so my build command shows

> env.Program("service", source=["service.cpp"]+Glob("../core/*.cpp"))

> (equal call for tests).

> service & tests have got own sub SConstructs.

>

> How can I solve the problem with the warning?

>

> Thanks

>

> Phil

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140214/b45f4351/attachment.htm


More information about the Scons-users mailing list