How can I install libraries in atom?


I want to install the SDL 2.0 library in atom but I coldn’t figure out how.
Any help is much appreciated :slight_smile: thank you!


Atom is not an IDE and does not have native support for libraries from any language, so there is no installing them. You just have to include them in a folder somewhere and point to them in your code.


i downloaded SDL externally but how do i use it. when i simply put #include<SDL.h>. i get error message saying file not found.


That’s not an issue with Atom. Your C compiler determines what directories are searched for library and include files. You may need to add a flag to your compile command: -I <directory containing SDL.h>