| View previous topic :: View next topic |
| Author |
Message |
kNemo Tux's lil' helper


Joined: 03 Jun 2004 Posts: 116
|
Posted: Mon Jun 14, 2004 7:07 am Post subject: [OT] Compilare un programma C++ & Gtkmm [RISOLTO] |
|
|
Come faccio a compilare un Programma fatto in C++ usando le Gtkmm ???
Con il solito comando g++ mi dice che non riesce a trovare le librerie...
Il Sorgente del Programma e' Questo (Ciao Mondo)
| Code: |
#include <gtkmm/main.h>
#include <gtkmm/window.h>
int main (int argc, char *argv[]) {
Gtk::Main ex1(argc, argv);
Gtk::Window window;
Gtk::Main::run(window);
return 0;
}
|
Grazie. _________________ Powered by:
Gentoo Base System version 1.4.16 (Kernel 2.4.26-gentoo-r9)
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26-gentoo-r9)
ScreenShot
http://gendevel.altervista.org/home.php?s=oth&p=screensht
Last edited by kNemo on Mon Jun 14, 2004 8:15 am; edited 1 time in total |
|
| Back to top |
|
 |
kNemo Tux's lil' helper


Joined: 03 Jun 2004 Posts: 116
|
|
| Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Mon Jun 14, 2004 8:04 am Post subject: |
|
|
| kNemo wrote: | | g++ hello.cc -o hello `pkg-config gtkmm-2.0 --cflags --libs` |
quali librerie non trova? _________________ Ciao da me! |
|
| Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 13200 Location: here
|
Posted: Mon Jun 14, 2004 8:24 am Post subject: |
|
|
[mod]
Ricordo che e' un forum che serve alla risoluzione a problemi relativi a gentoo. Lo dico perche' non e' il primo post che qualcuno chiede aiuto alla programmazione, non che la cosa mi disturbi e' solo che non voglio diventi un'abitudine.
[/mod] _________________ "aspetto un'emozione sempre pi� indefinibile"
- CCCP -
"la libert� un doveroso pericolo in verit�"
- PGR -
Questions are guaranteed in life; Answers aren't. |
|
| Back to top |
|
 |
|