Jump to content
  • Advertisement
Sign in to follow this  

SCons: cl not a recognized command?

This topic is 3720 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok this is really strange. I'm trying to use SCons to build my project, but it says the cl command cannot be found. Right after i do that, I type in cl and windows prints back the info for cl. So cl is there and its in the path...but SCons isn't finding it. Is there something special I need to do?
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl /nologo /TP /c bin\tinyxml\tinyxml.cpp /Fobin\tinyxml\tinyxml.obj
'cl' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [bin\tinyxml\tinyxml.obj] Error 1
scons: building terminated because of errors.

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!