View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#15
Originally Posted by ESmith View Post
So, my questions are:

-Where exactly do I have to add the flags in Makefile and in which Makefile (/src vs. root)?
-How come it compiles locally but fails with the above error when creating a Debian package?
-Where to read on documentation about how to configure this in ESbox? (I assumed ESbox would automatically take care of things like that.)
I don't know esbox :-(, I can just guess. May it be, that esbox (or the
eclipse build environment) just generates these Makefiles. If you change
them your manual build may succeed but from within esbox or when
building the package they are re-generated and your changes vanish?

By the way, those compiler and linker flags are often set through pkg-config like
"pkg-config --cflags --libs liblocation".
Does esbox provide thome project settings where you can set dependency with
pkg-config?