Thread: Compile arguments question?
hi im long time since asked las question, jejewell.
have doubt beginning sdl libraries , had set geany work them, included argument on build options:
so compile one.code:g++ -wall -o "%e" "%f" -lmingw32 -lsdlmain -lsdl -lopengl32 -lglu32
, works fine arguments present on other kind of proyects arent sdl about.
here comes newbie, quite no smart question excuse me first:
work console projects , these ones doesnt need arguments think.
arguments afect way program work cause still compiles know if right
thanks![]()
i don't quite see question is. wondering whether need include -lsdl or not? try leave out, , if build succeeds, means didn't need it. on other hand, having there when it's unnecessary won't harm except if in happens have same name expected fetched library later on command line, unlikely (but not impossible). can eliminate latter risk putting @ end of command line.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Compile arguments question?
Ubuntu
well.

Comments
Post a Comment