sublimetext2 - Saving .h file in /usr/include -
i wrote own .h
file want able include in of future projects. thus, saved .h
file in /usr/include
directory , have been able compile c++ projects fine. however, when try make changes .h
file in text editor (sublime, gedit) unable save. assume because text editors not have sudo root privileges enabled default. how can go saving changes .h
file text editor?
thanks help!
you should not save own project files in /usr/lib/include
reversed linux distribution installed include files only.
instead, pass option gcc compiler tell find include files own project. own project folder , home folder, no sudo priviledges needed.
Comments
Post a Comment