Re: [Vala] SDL error: SDL_gfxPrimitive.h not found



Did you have  "--Xcc=-I/usr/include/SDL" as part of your compile line?

Just out of curiosity...  Why is that necessary?

It's because SDL, unlike a lot of libraries bound for Vala, doesn't
have a pkg-config file defining include paths and the like.

-- 
http://homes.eff.org/~barlow/EconomyOfIdeas.html
http://www.dreamsongs.com/MobSoftware.html
http://www.gnu.org/philosophy/shouldbefree.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]