Add g++ to the Ubuntu dependencies (#1874)
The g++ package may not be preinstalled. Also, replaced the mention of "fast" compiles, with generic instructions about how to install clang; this is because on my test system, clang didn't make any difference, and it's likely not to do any in general, as it is a relatively small part of the build. Closes #1294.
This commit is contained in:
		
							parent
							
								
									d868d07d0b
								
							
						
					
					
						commit
						b80814681a
					
				| @ -7,17 +7,13 @@ If you don't see your distro present in the list, feel free to add the instructi | |||||||
| ## Ubuntu 20.04 | ## Ubuntu 20.04 | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev | sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Depending on your graphics card, you may have to install one of the following: | Depending on your graphics card, you may have to install one of the following: | ||||||
| `vulkan-radeon`, `vulkan-intel`, or `mesa-vulkan-drivers` | `vulkan-radeon`, `vulkan-intel`, or `mesa-vulkan-drivers` | ||||||
| 
 | 
 | ||||||
| If you want to enable fast compiles | Compiling with clang is also possible - replace the `g++` package with `clang`. | ||||||
| 
 |  | ||||||
| ```bash |  | ||||||
| sudo apt-get install clang |  | ||||||
| ``` |  | ||||||
| 
 | 
 | ||||||
| ### Windows Subsystem for Linux (WSL 2) | ### Windows Subsystem for Linux (WSL 2) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Saverio Miroddi
						Saverio Miroddi