Re: Re: Link Error: variable cant be auto-imported



Marcelo David wrote:
> In Linux the compilation is ok, but in Dev-C++, I have this error:

> cp.cpp: variable 'vtable for Gtk::TreeViewColumn' can't be
> auto-imported. Please read the documentation for ld's
> --enable-auto-import for details.
Yaakov wrote:
>Add '--enable-runtime-pseudo-reloc' to LDFLAGS.

Thank's Yaakov, but does not works ok!!! I'm using Dev-C++ 4.9.9.2, Gtk-win32-devel-2.6.10-rc1, gtkmm-devel-2.6.2-1.
 
I added '--enable-runtime-pseudo-reloc' using the menu 'Tools' - 'Compiler Options' - 'Add the following commands when calling compiler'
 
I had the same error. There is a discution about this in https://sourceforge.net/tracker/index.php?func=detail&aid=1229226&group_id=2435&atid=102435
but a didn't understand very well, I'm starting now in C/C++.
 
Thank's a lot!!!
 
(o_o) - mds


Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe!

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