Thread: [Dev-C++] Link Error: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Marcelo D. <mds...@ya...> - 2005-10-10 22:18:17
|
In Linux the link is ok, but in Dev-C++ (Windows) I have the 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. This error ocorr to with the example of Gtkmm Tutorial book: http://www.gtkmm.org/docs/gtkmm-2.4/examples/book/treeview/list/ I'm using Dev-C++ 4.9.9.2_setup.exe, gtkmm-devel-2.6.2-1.exe, gtk-win32-devel-2.6.8-rc1.exe. I configured the Project Options for Compiler and Linker using pkg-config --cflags gtkmm-2.4, and --libs gtkmm-2.4. I dont know where is the documentation indicated in the message error. thank's (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! http://yahoo.fbiz.com.br/ |
|
From: Scott <fre...@ve...> - 2005-10-12 06:29:42
|
Hi, I'm getting 18 errors like the following with DevC++ I use DevC/C++ without problem usually, but i get these errors, as part of a 3D SDK.... Is it a Opensource OGL library issue, can it be fixed? [Linker error] undefined reference to `glClearColor@16' [Linker error] undefined reference to `glClear@4' [Linker error] undefined reference to `glColor3f@12' Cheers, Scott. |
|
From: Hind F. <the...@ho...> - 2005-10-12 11:22:05
|
Did you add the library in the linker (see project options)?
Do it and u will fix the problem.
Date: Wed, 12 Oct 2005 16:33:42 +1000
Hi,
I'm getting 18 errors like the following with DevC++
I use DevC/C++ without problem usually, but i get
these errors, as part of a 3D SDK....
Is it a Opensource OGL library issue, can it be fixed?
[Linker error] undefined reference to `glClearColor@16' [Linker
error] undefined reference to `glClear@4' [Linker error] undefined
reference to `glColor3f@12'
Cheers,
Scott.
_________________________________________________________________
MSN Hotmail : antivirus et antispam intégrés
http://www.msn.fr/newhotmail/Default.asp?Ath=f
|
|
From: Scott <fre...@ve...> - 2005-10-12 22:57:23
|
> Did you add the library in the linker (see project options)? > Do it and u will fix the problem. Thanks Hind, I found the option you mean.. Project Options >>> Parameters>>>> Linker Options I click "add library or object" i then chose libglut and another libglut32.a which removed the 18 errors.. And replaced it with just 1 error... (Doh!) "Cannot find -lobjc" is now the error.... Any ideas? Thanks again for any help! Cheers, Scott. ------------------------------------------------------------------------------------------------------- F:\Programming\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lobjc collect2: ld returned 1 exit status dllwrap.exe: no export definition file provided. Creating one, but that may not be what you want dllwrap.exe: gcc exited with status 1 --------------------------------------------------------------------------------------------------------- make.exe: *** [Generix.dll] Error 1 Execution terminated |
|
From: Alfred P. R. <al...@ya...> - 2005-10-12 23:40:26
|
Hi Scott, Try doing a Windows Explorer Search from F:\Programming\Dev-Cpp\ for libobjc*.*. It should reside in the lib folder of dev-cpp or in a path declared in the libraries directory of the project options. dev-cpp only searches default paths and paths defined by the user. You may find that it's not in the expected path. That assumes that the argument to the linker options is -lobjc, BTW. Scott <fre...@ve...> wrote: > Did you add the library in the linker (see project options)? > Do it and u will fix the problem. Thanks Hind, I found the option you mean.. Project Options >>> Parameters>>>> Linker Options I click "add library or object" i then chose libglut and another libglut32.a which removed the 18 errors.. And replaced it with just 1 error... (Doh!) "Cannot find -lobjc" is now the error.... Any ideas? Thanks again for any help! Cheers, Scott. ------------------------------------------------------------------------------------------------------- F:\Programming\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lobjc collect2: ld returned 1 exit status <snip> Alfred P. Reaud |
|
From: Scott <fre...@ve...> - 2005-10-13 02:34:38
|
Hi Alfred,=20 Hmm i can't seem to find it at all, in my DevC++ install. I did a search i found 12 files with a "libo*.* prefix But alas, did not find any matching or looking like libobjc. in any directories, anywhere (strange) Anything else i can do? Can someone send me this file? I will look at doing a Reinstall after that... Thanks again... Cheers, Scott. Hi Scott,=20 Try doing a Windows Explorer Search from F:\Programming\Dev-Cpp\ for = libobjc*.*. It should reside in the lib folder of dev-cpp or in a path = declared in the libraries directory of the project options. dev-cpp = only searches default paths and paths defined by the user. You may find that it's not in the expected path. That assumes that = the argument to the linker options is -lobjc, BTW. =20 |
|
From: Eric E. <eri...@sb...> - 2005-10-13 03:07:10
|
Hey Scott, Sent that file as an attachment to your e-mail address. HTH, Eric -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Scott Sent: Wednesday, October 12, 2005 9:39 PM To: Alfred P. Reaud; dev...@li... Subject: Re: [Dev-C++] Undefined Reference? Hi Alfred, Hmm i can't seem to find it at all, in my DevC++ install. I did a search i found 12 files with a "libo*.* prefix But alas, did not find any matching or looking like libobjc. in any directories, anywhere (strange) Anything else i can do? Can someone send me this file? I will look at doing a Reinstall after that... Thanks again... Cheers, Scott. Hi Scott, Try doing a Windows Explorer Search from F:\Programming\Dev-Cpp\ for libobjc*.*. It should reside in the lib folder of dev-cpp or in a path declared in the libraries directory of the project options. dev-cpp only searches default paths and paths defined by the user. You may find that it's not in the expected path. That assumes that the argument to the linker options is -lobjc, BTW. |