Thank you Xapantu, that fixed it!
On Fri, Sep 14, 2012 at 6:37 PM, xapantu wrote:
> Hey,
>
>
> On 14/09/2012 00:12, David Gomes wrote:
>
> target_link_libraries gives me:
>
> /usr/bin/ld: CMakeFiles/pantheon-terminal.dir/src/TerminalWidget.c.o:
> undefined reference to symbol 'floor@@GLIBC_2.2.
Hey,
On 14/09/2012 00:12, David Gomes wrote:
target_link_libraries gives me:
/usr/bin/ld: CMakeFiles/pantheon-terminal.dir/src/TerminalWidget.c.o:
undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO
/usr/lib/libm.so.6 so try adding it t
target_link_libraries gives me:
/usr/bin/ld: CMakeFiles/pantheon-terminal.dir/src/TerminalWidget.c.o:
undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO
/usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: coul
Thanks xapantu, will do!
On Thu, Sep 13, 2012 at 8:25 PM, xapantu wrote:
> « l » is only here to tell gcc it is a lib, the lib name is actually « m
> ».
> Just remember that link_libraries is deprecated, please use
> target_link_libraries :P (well, I don't think it will be removed from CMake
>
« l » is only here to tell gcc it is a lib, the lib name is actually « m ».
Just remember that link_libraries is deprecated, please use
target_link_libraries :P (well, I don't think it will be removed from
CMake before a lot of time, but it is useless to keep writing code with it.)
Lucas
On 1
Humm, if the fix was passing m, i guess cmake passes l prefix for us...
Nice!
On Thu, 2012-09-13 at 11:23 +0100, David Gomes wrote:
> Well Darcy, that email was @voldyman ;)
>
> Regarding the general issue, I found a way to fix it, thanks to
> devidfil's Github link, I just added:
>
> link_librar
Well Darcy, that email was @voldyman ;)
Regarding the general issue, I found a way to fix it, thanks to devidfil's
Github link, I just added:
link_libraries (m)
Right before the add_subdirectory call and it's working for everybody now.
On Thu, Sep 13, 2012 at 11:16 AM, Darcy Brás da Silva <
dar
I'm not saying to implement it ourselves. I'm saying to make a vapi to
have access of it from C library in Vala, which is a very
different thing :)
On Thu, 2012-09-13 at 09:50 +0100, David Gomes wrote:
> Implementing Math.floor and Math.ceil ourselves would work, but I'm
> trying to avoid that for
Implementing Math.floor and Math.ceil ourselves would work, but I'm trying
to avoid that for obvious reasons :)
On Thu, Sep 13, 2012 at 4:22 AM, Voldyman wrote:
> If we implement Math.floor function in pantheon terminal source wouldn't
> that work?
>
>
> On 13-Sep-2012, at 3:29 AM, David Gomes
Hi, I'm not quite sure, but from what I know in the C level is
just a matter of adding a linker flag -lm
Having that said, if doesn't work through vala make a vapi call to the C
math lib...
Cheers
On Thu, 2012-09-13 at 08:52 +0530, Voldyman wrote:
> If we implement Math.floor function in pantheon
If we implement Math.floor function in pantheon terminal source wouldn't that
work?
On 13-Sep-2012, at 3:29 AM, David Gomes wrote:
> On the terminal we now need Math.floor and Math.ceil for zooming in and out
> using Ctrl-+ and Ctrl--.
>
> This brought along an issue when building the termin
I found this:
https://github.com/queezythegreat/arduino-cmake/issues/2
Cheers,
Devid
On Wed, Sep 12, 2012 at 11:59 PM, David Gomes wrote:
> On the terminal we now need Math.floor and Math.ceil for zooming in and out
> using Ctrl-+ and Ctrl--.
>
> This brought along an issue when building the ter
On the terminal we now need Math.floor and Math.ceil for zooming in and out
using Ctrl-+ and Ctrl--.
This brought along an issue when building the termina:
/usr/bin/ld: CMakeFiles/pantheon-terminal.dir/src/TerminalWidget.c.o:
undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: '
13 matches
Mail list logo