Author Topic: How to install Clang in codeblocks for windows?  (Read 2354 times)

Offline perton

  • Single posting newcomer
  • *
  • Posts: 1
How to install Clang in codeblocks for windows?
« on: August 22, 2023, 05:09:08 am »
Unable to install clang compiler in code blocks environment. Help to deal with this issue and with the environment's settings as a whole. Or tell me sources where you can look for information on this topic.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: How to install Clang in codeblocks for windows?
« Reply #1 on: August 22, 2023, 04:25:02 pm »
Wiki link that *might* help https://wiki.codeblocks.org/index.php/Installing_a_supported_compiler

It also might not help.

Edit: If it does not then post information about the Clang compiler you installed. The location/path it was installed is the most important piece of information!

Tim S.
« Last Edit: August 22, 2023, 04:27:20 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: How to install Clang in codeblocks for windows?
« Reply #2 on: August 22, 2023, 04:49:34 pm »
You can also have a look to the CB Wiki.
The page https://wiki.codeblocks.org/index.php/CB_Clangd_Client indicate how to install Clangd_client, and in the different options, it's possible to install a full clang compiler, as an msys2 component.
« Last Edit: August 22, 2023, 04:52:35 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).