Portál AbcLinuxu, 12. května 2025 06:24

Dotaz: wxGTK a neuspesna kompilace pluckeru

5.3.2006 23:05 penguin666 | skóre: 26 | blog: Slacked_Life
wxGTK a neuspesna kompilace pluckeru
Přečteno: 132×
Odpovědět | Admin
dobry vecer.
snazim se nainstalovat plucker na muj Slackware current a stale se mi to nedari. ke kompilaci plucker desktopu potrebuji wxGTK - to jsem stahnul (verzi 2.6.2), zkompiloval, udelal balicek (checkinstall) a nainstaloval. vse v poradku.
kduz spustim pluckerovo "./configure" (probehne v poradku) a nasledne "make" tak skoncim na tomto erroru (omlouvam se za tak dlouhy vypis):
make[1]: Entering directory `/home/lukas/downloads/plucker-1.8/plucker_desktop'
g++ -g -O2 `wx-config --cflags` -c -o editor_dialog.o editor_dialog.cpp
In file included from editor_dialog.cpp:53:
editor_dialog.h:51:64: wx/stc/stc.h: není souborem ani adresářem
In file included from editor_dialog.cpp:53:
editor_dialog.h:163: error: ISO C++ forbids declaration of `wxStyledTextCtrl' with no type
editor_dialog.h:163: error: expected `;' before '*' token
editor_dialog.cpp: In constructor `editor_dialog::editor_dialog(wxWindow*, wxString)':
editor_dialog.cpp:206: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp:206: error: `wxStyledTextCtrl' has not been declared
editor_dialog.cpp: In destructor `virtual editor_dialog::~editor_dialog()':
editor_dialog.cpp:248: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp: In member function `void editor_dialog::stc_or_textctrl_init()':
editor_dialog.cpp:282: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp:282: error: `wxSTC_STYLE_DEFAULT' was not declared in this scope
editor_dialog.cpp:285: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp:290: error: `wxSTC_H_DEFAULT' was not declared in this scope
editor_dialog.cpp:293: error: `wxSTC_H_TAG' was not declared in this scope
editor_dialog.cpp:297: error: `wxSTC_H_ATTRIBUTE' was not declared in this scope
editor_dialog.cpp:301: error: `wxSTC_H_NUMBER' was not declared in this scope
editor_dialog.cpp:304: error: `wxSTC_H_DOUBLESTRING' was not declared in this scope
editor_dialog.cpp:307: error: `wxSTC_H_SINGLESTRING' was not declared in this scope
editor_dialog.cpp:310: error: `wxSTC_H_OTHER' was not declared in this scope
editor_dialog.cpp:313: error: `wxSTC_H_COMMENT' was not declared in this scope
editor_dialog.cpp:317: error: `wxSTC_H_ENTITY' was not declared in this scope
editor_dialog.cpp:324: warning: `GetSystemColour' is deprecated (declared at /usr/local/include/wx-2.6/wx/settin
gs.h:203)
editor_dialog.cpp:326: warning: `GetSystemColour' is deprecated (declared at /usr/local/include/wx-2.6/wx/settin
gs.h:203)
editor_dialog.cpp:329: error: `wxSTC_MARGIN_NUMBER' was not declared in this scope
editor_dialog.cpp:336: error: `wxSTC_STYLE_LINENUMBER' was not declared in this scope
editor_dialog.cpp: In member function `void editor_dialog::stc_or_textctrl_load_file(wxString)':
editor_dialog.cpp:364: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp:369: error: `wxSTC_LEX_HTML' was not declared in this scope
editor_dialog.cpp: In member function `void editor_dialog::stc_or_textctrl_insert_text(wxString, wxString, bool)
':
editor_dialog.cpp:404: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp: In member function `void editor_dialog::stc_or_textctrl_send_text_to_preview()':
editor_dialog.cpp:482: error: `m_editor_stc' was not declared in this scope
editor_dialog.cpp: In member function `void editor_dialog::stc_or_textctrl_save_file()':
editor_dialog.cpp:514: error: `m_editor_stc' was not declared in this scope
make[1]: *** [editor_dialog.o] Error 1
make[1]: Leaving directory `/home/lukas/downloads/plucker-1.8/plucker_desktop'
make: *** [plucker-desktop] Error 2

tusite nekdo, co je spatne? zkousel jsem i wxGTK verzi 2.4.2 a 2.6.1 a stale stejne...
diky za pripadnou radu.
penguin666
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

6.3.2006 09:00 razor | skóre: 33
Rozbalit Rozbalit vše Re: wxGTK a neuspesna kompilace pluckeru
Odpovědět | | Sbalit | Link | Blokovat | Admin
A Vámi vytvořený balíček wxGTK obsahuje soubor wx/stc/stc.h ? Jestliže ano (já ho tam na gentoo mám), pak bych se mrknul na ./configure pluckera, jestli se tam cesty k hlavičkovým souborům wx nedaji nastavit.
6.3.2006 11:45 penguin666 | skóre: 26 | blog: Slacked_Life
Rozbalit Rozbalit vše Re: wxGTK a neuspesna kompilace pluckeru
no, puvodne ten soubor chybel, ale doinstaloval jsem ho a ted uz zase chybi neco jineho... at delam, co delam, koncim chybou. nejnovejsi postup, ktery jsem zkousel, byl:
nainstalovat wxGTK
nainstalovat stc a xrt z baliku wxGTK
nainstalovat plucker desktop
vse presne dle navodu, jak nainstalovat plucker-desktop a opet dalsi chyba. tu ale ted nepopisu, protoze nejsem doma. take jsem se snazil najit na netu slackwarovsky balicek pluckera, ale bezuspesne... tenhle kousek software me pekne nici. :o] oblibil jsem si ho v praci ve woknech, ale doma ne a ne uspet.
kazdopadne dik za reakci
6.3.2006 19:32 penguin666 | skóre: 26 | blog: Slacked_Life
Rozbalit Rozbalit vše Re: wxGTK a neuspesna kompilace pluckeru
Odpovědět | | Sbalit | Link | Blokovat | Admin
nevyresil jsem sice problem s instalaci (a to ani kdyz jsem se snazil nainstalovat pouze plucker bez graf. rozhrani), nicmene jsem nasel neco, co funguje. jedna se o java pokracovatele pluckeru, funguje naprosto bez potizi. jen mi neni jasne, proc jsem to neobjevil uz drive...
sunrise desktop

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.