[GtkGLExt] gtkglextmm 1.0.1 on Visual C++ 2005 (aka VC++ 8.0)



Hi,
I have been trying to compile an example programm (shapes) from the
1.0.1 release of gtkglextmm on Win32 using the Visual C++ 2005 Express
Edition. First I had to find out that the examples were written with old
SigC:: style, but I was able to convert to sigc:: pretty quick.
Everything compiles fine now (except for many warnings :) ) but it does
not link. The linker errors are given below. Pretty much everything that
I expect to be in libgtkglextmm-win32-1.0.dll.a is missing. Now my
questions:
- there is no .lib file but libgtkglextmm-win32-1.0.dll.a, is that o.k?
- here is my full list of libraries I link is it complete? gtkmm-2.4.lib
sigc-2.0.lib gdkmm-2.4.lib glibmm-2.4.lib atkmm-1.6.lib opengl32.lib
libgtkglextmm-win32-1.0.dll.a
- should I try gtkglextmm 1.1.0 instead?

The linker error:
Linking...
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::get_attrib(int,int &)const "
(?get_attrib Config@GL Gdk@@QBE_NHAAH Z) referenced in function "public:
static void __cdecl GLConfigUtil::print_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &,char const
*,int,bool)"
(?print_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@PBDH_N Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::has_accum_buffer(void)const "
(?has_accum_buffer Config@GL Gdk@@QBE_NXZ) referenced in function
"public: static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::has_stencil_buffer(void)const "
(?has_stencil_buffer Config@GL Gdk@@QBE_NXZ) referenced in function
"public: static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::has_depth_buffer(void)const "
(?has_depth_buffer Config@GL Gdk@@QBE_NXZ) referenced in function
"public: static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::has_alpha(void)const "
(?has_alpha Config@GL Gdk@@QBE_NXZ) referenced in function "public:
static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::is_stereo(void)const "
(?is_stereo Config@GL Gdk@@QBE_NXZ) referenced in function "public:
static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::is_double_buffered(void)const "
(?is_double_buffered Config@GL Gdk@@QBE_NXZ) referenced in function
"public: static void __cdecl GLConfigUtil::examine_gl_attrib(class
Glib::RefPtr<class Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Config::is_rgba(void)const "
(?is_rgba Config@GL Gdk@@QBE_NXZ) referenced in function "public: static
void __cdecl GLConfigUtil::examine_gl_attrib(class Glib::RefPtr<class
Gdk::GL::Config const > const &)"
(?examine_gl_attrib GLConfigUtil@@SAXABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_teapot(bool,double)"
(?draw_teapot Drawable@GL Gdk@@SAX_NN Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_icosahedron(bool)"
(?draw_icosahedron Drawable@GL Gdk@@SAX_N Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_dodecahedron(bool)"
(?draw_dodecahedron Drawable@GL Gdk@@SAX_N Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_octahedron(bool)"
(?draw_octahedron Drawable@GL Gdk@@SAX_N Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_tetrahedron(bool)"
(?draw_tetrahedron Drawable@GL Gdk@@SAX_N Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_torus(bool,double,double,int,int)"
(?draw_torus Drawable@GL Gdk@@SAX_NNNHH Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_cone(bool,double,double,int,int)"
(?draw_cone Drawable@GL Gdk@@SAX_NNNHH Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_sphere(bool,double,int,int)"
(?draw_sphere Drawable@GL Gdk@@SAX_NNHH Z) referenced in function
"private: void __thiscall Shapes::Model::init_gl(class
Glib::RefPtr<class Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl Gdk::GL::Drawable::draw_cube(bool,double)"
(?draw_cube Drawable@GL Gdk@@SAX_NN Z) referenced in function "private:
void __thiscall Shapes::Model::init_gl(class Glib::RefPtr<class
Gdk::GL::Drawable> &)"
(?init_gl Model@Shapes@@AAEXAAV?$RefPtr VDrawable@GL Gdk@@@Glib@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: virtual
__thiscall Gtk::GL::DrawingArea::~DrawingArea(void)"
(??1DrawingArea GL@Gtk@@UAE XZ) referenced in function
__unwindfunclet$??0Scene Shapes@@QAE XZ$0
shapes.obj : error LNK2019: unresolved external symbol "public: static
class Glib::RefPtr<class Gdk::GL::Config> __cdecl
Gdk::GL::Config::create(enum Gdk::GL::ConfigMode)"
(?create Config@GL Gdk@@SA?AV?$RefPtr VConfig@GL Gdk@@@Glib@@W4ConfigMode 23@@Z)
referenced in function "public: __thiscall Shapes::Scene::Scene(void)"
(??0Scene Shapes@@QAE XZ)
shapes.obj : error LNK2019: unresolved external symbol "public: static
bool __cdecl Gtk::GL::Widget::set_gl_capability(class Gtk::Widget
&,class Glib::RefPtr<class Gdk::GL::Config const > const &,bool,int)"
(?set_gl_capability Widget@GL Gtk@@SA_NAAV13 ABV?$RefPtr@$$CBVConfig GL@Gdk@@@Glib@@_NH Z)
referenced in function "public: bool __thiscall
Gtk::GL::Widget::set_gl_capability(class Glib::RefPtr<class
Gdk::GL::Config const > const &,bool,int)"
(?set_gl_capability Widget@GL Gtk@@QAE_NABV?$RefPtr $$CBVConfig@GL Gdk@@@Glib@@_NH Z)
shapes.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Gdk::GL::Drawable::gl_end(void)"
(?gl_end Drawable@GL Gdk@@QAEXXZ) referenced in function "protected:
virtual void __thiscall Shapes::Scene::on_realize(void)"
(?on_realize Scene@Shapes@@MAEXXZ)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Drawable::gl_begin(class Glib::RefPtr<class
Gdk::GL::Context> const &)"
(?gl_begin Drawable@GL Gdk@@QAE_NABV?$RefPtr VContext@GL Gdk@@@Glib@@@Z)
referenced in function "protected: virtual void __thiscall
Shapes::Scene::on_realize(void)" (?on_realize Scene@Shapes@@MAEXXZ)
shapes.obj : error LNK2019: unresolved external symbol "public: static
class Glib::RefPtr<class Gdk::GL::Context> __cdecl
Gtk::GL::Widget::get_gl_context(class Gtk::Widget const &)"
(?get_gl_context Widget@GL Gtk@@SA?AV?$RefPtr VContext@GL Gdk@@@Glib@@ABV13@@Z)
referenced in function "public: class Glib::RefPtr<class
Gdk::GL::Context> __thiscall Gtk::GL::Widget::get_gl_context(void)"
(?get_gl_context Widget@GL Gtk@@QAE?AV?$RefPtr VContext@GL Gdk@@@Glib@@XZ)
shapes.obj : error LNK2019: unresolved external symbol "public: static
class Glib::RefPtr<class Gdk::GL::Drawable> __cdecl
Gtk::GL::Widget::get_gl_drawable(class Gtk::Widget const &)"
(?get_gl_drawable Widget@GL Gtk@@SA?AV?$RefPtr VDrawable@GL Gdk@@@Glib@@ABV13@@Z)
referenced in function "public: class Glib::RefPtr<class
Gdk::GL::Drawable> __thiscall Gtk::GL::Widget::get_gl_drawable(void)"
(?get_gl_drawable Widget@GL Gtk@@QAE?AV?$RefPtr VDrawable@GL Gdk@@@Glib@@XZ)
shapes.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Gdk::GL::Drawable::swap_buffers(void)"
(?swap_buffers Drawable@GL Gdk@@QAEXXZ) referenced in function
"protected: virtual bool __thiscall
Shapes::Scene::on_expose_event(struct _GdkEventExpose *)"
(?on_expose_event Scene@Shapes@@MAE_NPAU_GdkEventExpose@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "public: bool
__thiscall Gdk::GL::Drawable::is_double_buffered(void)const "
(?is_double_buffered Drawable@GL Gdk@@QBE_NXZ) referenced in function
"protected: virtual bool __thiscall
Shapes::Scene::on_expose_event(struct _GdkEventExpose *)"
(?on_expose_event Scene@Shapes@@MAE_NPAU_GdkEventExpose@@@Z)
shapes.obj : error LNK2019: unresolved external symbol "bool __cdecl
Gdk::GL::query_version(int &,int &)" (?query_version GL@Gdk@@YA_NAAH0 Z)
referenced in function _main
shapes.obj : error LNK2019: unresolved external symbol "void __cdecl
Gtk::GL::init(int &,char * * &)" (?init GL@Gtk@@YAXAAHAAPAPAD Z)
referenced in function _main
D:\Eigene Dateien\src\GTK-2.0-Test\gtkglextmm\shapes\Debug\shapes.exe :
fatal error LNK1120: 28 unresolved externals
Build log was saved at "file://d:\Eigene
Dateien\src\GTK-2.0-Test\gtkglextmm\shapes\Debug\BuildLog.htm"
shapes - 29 error(s), 0 warning(s)

Thanks!

--
-----------------------------------------------------------------
   _/_/_/ _/  _/        Jan Boehm  Dipl.-Inform. M.Sc.
  _/_/_/    _/   _/_/   Institut fuer Photogrammetrie
 _/_/_/ _/ _/_/ _/ _/   Universitaet Stuttgart
_/_/_/ _/ _/   _/_/     Geschwister-Scholl-Str. 24
         _/   _/        D-70174 Stuttgart
-----------------------------------------------------------------
Tel : +49-711-121-4110   Email : jan boehm ifp uni-stuttgart de
Fax : +49-711-121-3297   WWW   : www.ifp.uni-stuttgart.de
-----------------------------------------------------------------






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