[Scons-dev] Struck in running c program in scons

Mats Wichmann mats at wichmann.us
Wed Feb 21 11:03:14 EST 2024


On 2/21/24 03:08, Gopi Maila wrote:
> image.pngimage.pngHi *,
> 
> I was not able to execute the c program in command prompt using scons. 
> Can you please guide me on how to do that?

Hi again...

somebody who can see the screenshots told me your filename is 
SConstruct.txt.  SCons doesn't expect that, you can call it SConstruct 
(no suffix), or SConstruct.py (since the contents are in Python); 
all-lowercase letters works too. SCons should find that just fine, or 
you can invoke it explicitly:

scons -f SConstruct.txt

Hope that helps...


More information about the Scons-dev mailing list