headerfiles in it. So how do I link them when I compile?
Add -I/usr/local argument
Thank you
Ill also give some explanation Argument -I is adding include path for the compiler. So when its searching for your file to include, it is also searching in the path you typed in with that argument I hope you understand
Got it :) Now I have another problem... I have 2 header file and linked 1 lib using -l argument. Now I have no idea which one to link for the second header. Is there any method to find out libs that are to be linked for a given header
Can anyone help me with this
Обсуждают сегодня