Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Daniel o rei

como instalar o gtkmm no dev-c++

Recommended Posts

Eu já consegui instalar o gtk+, mas perdi o tutorial que aprendi eu queria saber o que é nescessário para instalar o gtkmm.

Não me lembro direito tentei instalar o gtk+ e não consegui e agora? Como istalo o gtkmm?

Eu queria saber se tem algum instalador que instale o gtkmm e seus requerimentos como glib e gtk+.

Eu já fiquei horas tentando fazer isso mas não consegui.

Eu tinha tudo mas o dev-c++ não encontrava.

Eu queria que alguem que tem o gtkmm postace aqui uma lista dos diretórios ex:

dev/gtk-1.0/gtk

dev/glib-1.2/glib

e também mostrace um screenshot com a configuração dos diretório pois da última vez que tentei instalar tive problemas de não localizar o arquivo.

Compartilhar este post


Link para o post
Compartilhar em outros sites
Como vou instalar o gtkmm sem instalar o gtk+?

Eu não instalei o gtk+.

Preciso de um tutorial.

Para instalar o gtk+ no dev-c++!

Para mim parece que ta dando problema de não encontrar os arquivos

Log do compilador:(primeiras linhas)

Compilador: Default compiler
Executando  g++.exe...
g++.exe "C:\Dev-Cpp\Sem Título1.cpp" -o "C:\Dev-Cpp\Sem Título1.exe"    -I"C:\Dev-Cpp\include\glib-2.0"  -I"C:\Dev-Cpp\include\gtk-2.0"  -I"C:\Dev-Cpp\include\pango-1.0"  -I"C:\Dev-Cpp\include\atk-1.0"  -I"C:\Dev-Cpp\lib"  -I"C:\Dev-Cpp\lib\gtk-2.0\include"  -I"C:\Dev-Cpp\lib\glib-2.0\include"   
In file included from C:/Dev-Cpp/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,

                 from C:/Dev-Cpp/include/gtk-2.0/gdk/gdk.h:32,

                 from C:/Dev-Cpp/include/gtk-2.0/gtk/gtk.h:32,

                 from C:\Dev-Cpp\Sem Título1.cpp:1:
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:31:19: cairo.h: No such file or directory
In file included from C:/Dev-Cpp/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from C:/Dev-Cpp/include/gtk-2.0/gdk/gdk.h:32,
                 from C:/Dev-Cpp/include/gtk-2.0/gtk/gtk.h:32,
                 from C:\Dev-Cpp\Sem Título1.cpp:1:

C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:55: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:55: error: expected `;' before '*' token
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:118: error: expected `,' or `...' before '*' token
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:118: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:119: error: expected init-declarator before '*' token
C:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h:119: error: expected `,' or `;' before '*' token

In file included from C:/Dev-Cpp/include/gtk-2.0/gdk/gdkcairo.h:29,
                 from C:/Dev-Cpp/include/gtk-2.0/gdk/gdk.h:33,
                 from C:/Dev-Cpp/include/gtk-2.0/gtk/gtk.h:32,
                 from C:\Dev-Cpp\Sem Título1.cpp:1:
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:58: error: typedef `PangoCairoShapeRendererFunc' is initialized (use __typeof__ instead)
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:58: error: `cairo_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:58: error: `cr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:59: error: expected primary-expression before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:59: error: `attr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:60: error: expected primary-expression before "do_path"
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:61: error: expected primary-expression before "data"
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:69: error: `cairo_font_type_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:72: error: `cairo_font_type_t' does not name a type
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:86: error: expected constructor, destructor, or type conversion before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:86: error: expected `,' or `;' before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:90: error: variable or field `pango_cairo_update_context' declared void
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:90: error: `cairo_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:90: error: `cr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:91: error: expected primary-expression before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:91: error: `context' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:91: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:94: error: expected `,' or `...' before '*' token

C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:94: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:95: error: expected init-declarator before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:95: error: expected `,' or `;' before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:110: error: `cairo_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:110: error: `cr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:111: error: `cairo_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:111: error: `cr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:112: error: variable or field `pango_cairo_update_layout' declared void
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:112: error: `cairo_t' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:112: error: `cr' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:113: error: expected primary-expression before '*' token
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:113: error: `layout' was not declared in this scope
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:113: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/pango-1.0/pango/pangocairo.h:118: error: variable or field `pango_cairo_show_glyph_string' declared void
configurações de diretório:

 

 

Imagem Postada

 

Eu me lembro que tinha algum comando para colocar nas opções do compilador quando chamar o compilador. Não me lembro. Perdi o tutorial que aprendi.

Eu também achei na aba "compilador" do dev-c++ isso:

linha:/Dev-Cpp/include/gtk-2.0/gdk/gdkscreen.h unidade: C:\Dev-Cpp\C mensagem: cairo.h: No such file or directory.

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.