Re: [Vala] Problem with math functions



2009/7/17 Colombo, Alberto <A Colombo kingston ac uk>:
I had to compile with

   valac TPK.vala -X -lm

that will tell the linker to use the math library. I don't know why your other example works.

regards
alberto


The other example works because it's a literal evaluated compile-time.



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