Re: [Vala] Problem with math functions
- From: Jiří Zárevúcky <zarevucky jiri gmail com>
- To: "Colombo, Alberto" <A Colombo kingston ac uk>
- Cc: "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] Problem with math functions
- Date: Fri, 17 Jul 2009 21:59:16 +0200
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]