Re: My problem in C

When people say add to your path, they're referring to the PATH environment variable (all caps).  Surprisingly this is mostly the same on all platforms, save that on non-windows you separate entries with : instead of ;.  All entries in PATH should be directories.  When you type a command and it's not a built-in one, the shell will go through all the entries in PATH, check the directories, and try to find an executable file of that name.  On Windows, this pretty much means .exe and .bat, though in powershell it'll also include ps1.

Unfortunately Windows is a bit stupid, so if you want to do this permanently, what you need to do is go into control panel and change it.  On Windows 10, to do this:

Search "environment" and you should get "edit the system environment variables".  Open it.

Tab to Environment variables. Hit it. Tab to system variables.

In that list, find PATH and hit edit.

Now you get a nice list of all the paths in it, because the one part of this process that's no longer stupid is that Windows 10 doesn't make you manually edit it, so you can just hit new and add an entry.  Paste "C:\program files\llvm\bin" and you're done.

Now, if this still doesn't work, just ignore clang, use cl.exe (which will be on your path in the VS command prompt), and come back to it later when it matters.  You'll be able to get really far before it does, if ever.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dark Eagle via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector

Reply via email to