Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[PROBLEM] Instalacja wxWidgets


Rekomendowane odpowiedzi

Opublikowano

A więc tak, mam tylko dwie partycje na kompie.

C < jest tu windows, gry, filmy, muzyka

HP_RECOVERY < oryginalna kopia windows'a

 

Chodzi o to że wpisując w cmd

[code]cd /C wxWidgets-2.9.3\build\msw[/code]

Wyskakuje że jest nieznana ścieżka, a właśnie taką mam

C:\wxWidgets-2.9.3

 

Co zrobić? Bez tego będą cały czas wyskakiwały errory przy kompilacji

LAYOUT'Y POD SERWER MINECRAFT U MNIE. ZAPRASZAM PW

Weteran
Opublikowano

Chodzi o to że wpisując w cmd

[code]cd /C wxWidgets-2.9.3\build\msw[/code]

Wyskakuje że jest nieznana ścieżka, a właśnie taką mam

C:\wxWidgets-2.9.3

 

Co zrobić? Bez tego będą cały czas wyskakiwały errory przy kompilacji

czemu nie wpiszesz po prostu "cd C:\wxWidgets-2.9.3" ? ;]

Opublikowano

TO JUŻ MNIE DOBIJA.

 

||=== ew, Debug ===|
C:\Program Files\wxWidgets-2.9.3\include\wx\platform.h|181|error: wx/setup.h: No such file or directory|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|89|error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|97|error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|105|error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|113|error: #error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|121|error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|129|error: #error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|137|error: #error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|145|error: #error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|153|error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|161|error: #error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|169|error: #error "wxUSE_INTL must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|177|error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|185|error: #error "wxUSE_LOG must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|193|error: #error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|201|error: #error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|209|error: #error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|217|error: #error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|225|error: #error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|267|error: #error "wxUSE_REGEX must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|275|error: #error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|283|error: #error "wxUSE_XML must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|291|error: #error "wxUSE_SOCKETS must be defined, please read comment near the top of |
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|299|error: #error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|307|error: #error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|315|error: #error "wxUSE_STREAMS must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|323|error: #error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|331|error: #error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|339|error: #error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|355|error: #error "wxUSE_URL must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|363|error: #error "wxUSE_VARIANT must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\chkconf.h|371|error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|20|error: #error "wxUSE_ACTIVEX must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|28|error: #error "wxUSE_CRASHREPORT must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|36|error: #error "wxUSE_DC_CACHEING must be defined"|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|44|error: #error "wxUSE_DIALUP_MANAGER must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|52|error: #error "wxUSE_MS_HTML_HELP must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|60|error: #error "wxUSE_INICONF must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|68|error: #error "wxUSE_OLE must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|76|error: #error "wxUSE_OLE_AUTOMATION must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|84|error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|92|error: #error "wxUSE_UNICODE_MSLU must be defined."|
C:\Program Files\wxWidgets-2.9.3\include\wx\msw\chkconf.h|100|error: #error "wxUSE_UXTHEME must be defined."|
||=== Build finished: 43 errors, 0 warnings ===|

 

 

LAYOUT'Y POD SERWER MINECRAFT U MNIE. ZAPRASZAM PW

Opublikowano

Mnie też to denerwowało ale trzeba do tego podejść ze spokojem:)

Skompilowałeś bibliotekę według filmiku, który tam wcześniej podałem?

Podam ci moje opcje w Code:Blocks

-w linker settings mam wszystko wyczyszczone tak samo w search directory

-w global variable mam zdefiniowane:

dla current Variable: "wx"

dla base: C:\librey\wxWidgets-2.8.12 (moja ścieżka)

 

Ah po twoim kodzie błędu sądze że:

Musisz folder "wxWidgets-2.9.3" dać bezpośrednio do C:, mi też wyskakiwały takie błędy gdy w ścieżce w którymś miejcu była spacja(nie mam pojęcie jakie to ma znaczenie).

Inna sprawa że po błędzie również wnioskuje że nie masz pliku "wx/setup.h":

a) co może być sprawą taką że masz złą ścieżke albo sa w niej spacje

B) nie skompilowałeś prawidłowo biblioteki

eh...

Opublikowano

Dobra, chyba się przeniosę na visual c++, wielkiej

różnicy mi nie robią a aplikacje okienkowe zrobie w mig.

 

Dzięki wszystkim za odpowiedź jeszcze raz

LAYOUT'Y POD SERWER MINECRAFT U MNIE. ZAPRASZAM PW

Weteran
Opublikowano

No i dobrze że porzuciłeś wxwdigets, też nie lubię tej biblioteki.

Choć ja ze swojej strony polecam Qt, w pełni ono zastępuje winapi, a środowisko Qt Creator jest(jak dla mnie) bardziej przyjazne od visual c++. Oczywiście ma również takie bajery jak designer i tam jeszcze parę innych których nie zastaniesz w visual c++.

Qt Creator można nazwać pełnoprawnym profesjonalnym narzędziem, jest wykorzystywane w wielu aplikacjach wokół nas takich jak: Adobe Adobe Photoshop, Google Earth, Skype, Nowe Gadu Gadu.

Tu masz mały zakąsek możliwości tego środowiska: http://www.mpcforum....59#entry4142859

 

@Edit: jeszcze bym zapomniał dodać że Qt jest wieloplatformowe, możesz w nim kodzić programy zarówno jak i pod windę, mac`a lub Androida.

Opublikowano

Jak się podaje złe ustawienia podczas tworzenia nowego projektu to sie tak ma ^_^

 

Podczas kompilacji ustawiłeś flagi SHARED, MONOLITHIC, UNICODE oraz DEBUG.

Dokładnie te same flagi musisz ustawić podczas tworzenia nowego projektu.

 

Od tych flag zależy ścieżka do setup.h i stąd te wszystkie powyższe błędy.

 

 

1g.png

Obrazek z wiki C::B. Prawie na pewno u Ciebie strona konfiguracyjna wygląda inaczej, jednak z pewnością ją rozpoznasz.

Właśnie tu popełniasz błąd. Skonfiguruj wedle ustawień, które podałeś podczas kompilacji biblioteki (dla domyślnego [wymienionego w tucie na wiki C::B] buildu, chkbx'y "DLL", "monolithic" oraz "unicode" będą zaznaczone.

 

Możesz pisać do mnie na PW w tej sprawie, tylko upewnij się, że masz zainstalowanego Team Viewer'a.

 

@stronka111

Gadasz głupoty.

Ta sygnatura jest pusta.

Opublikowano

4ggr35510n, chodzi o to że mam dokładnie tak zrobione, patrzałem te poradniki.

 

Xaulin, chyba się skusze na ten qt creator

 

 

Albo najlepiej pozostanę przy konsoli.

Szczerze to gówno umiem w c++ i muszę się uczyć, a ta

zabawa z okienkami nie jest dla mnie.

 

Może kiedyś ;)

LAYOUT'Y POD SERWER MINECRAFT U MNIE. ZAPRASZAM PW

Opublikowano
4ggr35510n, chodzi o to że mam dokładnie tak zrobione, patrzałem te poradniki.

To zdanie jest fałszywe. Gdybyś miał poprawnie zrobione, to by działało.

Uwierz mi, problem znajduje się pomiędzy ekranem monitora a oparciem fotela.

Ta sygnatura jest pusta.

Opublikowano

MASZ DOWODY :)

ps. teraz ogólnie nie mam oparcia xD

 

xkhv.jpg

 

 

Ogólnie robiłem też tak ze zaznaczałem tam wszystko, albo połowę i bawiłem się tak cały czas.

Nic nie pomaga, ciągle ten setup.h mi wywala , że niby go nie mam a ściągałem już 3 różne paczki i z oficjalnej strony

też..

 

 

Albo to ja jestem taki przywalony że tego wgrać nie umiem albo mój komputer

LAYOUT'Y POD SERWER MINECRAFT U MNIE. ZAPRASZAM PW

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...