Re: Building of win32 applications



Finally I've installed all neccessary applications but still problems are
ongoing:

$ make
g++ -c -ggdb `pkg-config gtkmm-2.4 --cflags` `pkg-config gtkmm-2.4 --libs`
main.cpp
g++.exe: -luuid: linker input file unused because linking not done
g++.exe: -lgtkmm-2.4: linker input file unused because linking not done
g++.exe: -lgdkmm-2.4: linker input file unused because linking not done
g++.exe: -latkmm-1.6: linker input file unused because linking not done
g++.exe: -lgtk-win32-2.0: linker input file unused because linking not done
g++.exe: -lpangomm-1.4: linker input file unused because linking not done
g++.exe: -lcairomm-1.0: linker input file unused because linking not done
g++.exe: -lglibmm-2.4: linker input file unused because linking not done
g++.exe: -lsigc-2.0: linker input file unused because linking not done
g++.exe: -lgdk-win32-2.0: linker input file unused because linking not done
g++.exe: -limm32: linker input file unused because linking not done
g++.exe: -lshell32: linker input file unused because linking not done
g++.exe: -lole32: linker input file unused because linking not done
g++.exe: -latk-1.0: linker input file unused because linking not done
g++.exe: -lgdk_pixbuf-2.0: linker input file unused because linking not done
g++.exe: -lpangocairo-1.0: linker input file unused because linking not done
g++.exe: -lcairo: linker input file unused because linking not done
g++.exe: -lpangoft2-1.0: linker input file unused because linking not done
g++.exe: -lpangowin32-1.0: linker input file unused because linking not done
g++.exe: -lgdi32: linker input file unused because linking not done
g++.exe: -lfreetype: linker input file unused because linking not done
g++.exe: -lz: linker input file unused because linking not done
g++.exe: -lfontconfig: linker input file unused because linking not done
g++.exe: -lpango-1.0: linker input file unused because linking not done
g++.exe: -lm: linker input file unused because linking not done
g++.exe: -lgobject-2.0: linker input file unused because linking not done
g++.exe: -lgmodule-2.0: linker input file unused because linking not done
g++.exe: -lglib-2.0: linker input file unused because linking not done
g++.exe: -lintl: linker input file unused because linking not done
g++ -o main -ggdb `pkg-config gtkmm-2.4 --cflags` `pkg-config gtkmm-2.4 --libs`
main.o
main.o: In function `main':
d:\Projects\gtkmm/main.cpp:5: undefined reference to `Gtk::Main::Main(int&,
char**&, bool)'
d:\Projects\gtkmm/main.cpp:6: undefined reference to `Gtk::Window::Window(Gtk::WindowType)'
d:\Projects\gtkmm/main.cpp:7: undefined reference to `Gtk::Main::run(Gtk::Window&)'
d:\Projects\gtkmm/main.cpp:9: undefined reference to `Gtk::Window::~Window()'
d:\Projects\gtkmm/main.cpp:9: undefined reference to `Gtk::Main::~Main()'
d:\Projects\gtkmm/main.cpp:9: undefined reference to `Gtk::Window::~Window()'
d:\Projects\gtkmm/main.cpp:9: undefined reference to `Gtk::Main::~Main()'
main.o: In function `_static_initialization_and_destruction_0':
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:37: undefined reference to `Glib::ustring::ustring(char
const*)'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:38: undefined reference to `Glib::ustring::ustring(char
const*)'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:39: undefined reference to `Glib::ustring::ustring(char
const*)'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:40: undefined reference to `Glib::ustring::ustring(char
const*)'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:41: undefined reference to `Glib::ustring::ustring(char
const*)'
main.o:c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:42: more undefined references
to `Glib::ustring::ustring(char const*)' follow
main.o: In function `_static_initialization_and_destruction_0':
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:43: undefined reference to `Glib::ustring::~ustring()'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:42: undefined reference to `Glib::ustring::~ustring()'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:41: undefined reference to `Glib::ustring::~ustring()'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:40: undefined reference to `Glib::ustring::~ustring()'
c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:39: undefined reference to `Glib::ustring::~ustring()'
main.o:c:/GTK/include/gtkmm-2.4/gtkmm/papersize.h:38: more undefined references
to `Glib::ustring::~ustring()' follow
collect2: ld returned 1 exit status
make: *** [main] Error 1

cz2b10q6 CZ2CBFCC /d/Projects/gtkmm
$


Do you know where I've made a mistake?

PKG_CONFIG_PATH=/c/GTK/lib/pkg-config

Thank you in advance
Petr

______________________________________
Prvotřídní cestovní pojištění rychle, jednoduše, on-line.
Nyní navíc s velkou slevou!

http://ad-sc.tiscali.com/adclick/CID=0003036a0000000000000000/SITE=CZ.TISCALI/AREA=NEWSLETTER.HOME/POS=L





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