ďťż

Ładny brzuch

Witam mam pewien problem z kompilacją programu dostępnego pod adresem http://home.eunet.no...rdahl/ntpasswd/ Strona programu

Chciałem go spolszczyć ale moje informacje o kompilowaniu są naprawdę podstawowe. Nie umiem sobie sam poradzić więc proszę o jakąkolwiek pomoc.



Co to znaczy, że masz problem? Nie wiesz jak się za to zabrać? Masz błędy podczas kompilacji - jakie? Więcej szczegółów...


Witam mam pewien problem z kompilacją programu dostępnego pod adresem http://home.eunet.no...rdahl/ntpasswd/ Strona programu
Chciałem go spolszczyć ale moje informacje o kompilowaniu są naprawdę podstawowe. Nie umiem sobie sam poradzić więc proszę o jakąkolwiek pomoc.


Chodzi Ci o to że nie możesz go używac na innym kompie?
Jeżeli tak to pamietaj, że do wyboru masz 2 rodzaje kompilacji DEBUG i RELASE. Wybierz tą ostatnią.

Chodzi Ci o to że nie możesz go używac na innym kompie?
Jeżeli tak to pamietaj, że do wyboru masz 2 rodzaje kompilacji DEBUG i RELASE. Wybierz tą ostatnią.
A jeżeli chodzi o zmiane języka to musisz miec kod żródłowy programu i go edytowac w odpowiednim dla niego kompilatorku :)

Programu nie edytuje się w kompilatorku czy nawet w kompilatorze. Robi się to na przykład w jakimś IDE.
I oczywiście miałeś na myśli DEBUG i RELEASE.

U mnie kompiluje się bez problemów - otwieram konsolę, przechodzę do tego folderu i wpisuję tylko
make
Po chwili mam kilka plików wykonywalnych, w pliku INSTALL.TXT jest wyjaśnione wszystko.




Programu nie edytuje się w kompilatorku czy nawet w kompilatorze. Robi się to na przykład w jakimś IDE.
I oczywiście miałeś na myśli DEBUG i RELEASE.

U mnie kompiluje się bez problemów - otwieram konsolę, przechodzę do tego folderu i wpisuję tylko
make
Po chwili mam kilka plików wykonywalnych, w pliku INSTALL.TXT jest wyjaśnione wszystko.


Dżizas racja IDE <_< ale każde IDE musi miec kompilator aby program uruchomic :>

Ps. Niech autor tego postu napisze o co mu dokładnie chodzi potem bedziemy sie wymądrzac :D

Oto kod z kompilatora (zabijcie mnie jak źle wstawiłem)

Kompilator: Default compiler Building Makefile: "C:\Dev\pro\Makefile.win" Wykonywanie make... make.exe -f "C:\Dev\pro\Makefile.win" all g++.exe -c chntpw.c -o chntpw.o -I"C:/Dev/Dev-CppPortable/App/devcpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev/Dev-CppPortable/App/devcpp/include/c++/3.4.2/backward" -I"C:/Dev/Dev-CppPortable/App/devcpp/include/c++/3.4.2/mingw32" -I"C:/Dev/Dev-CppPortable/App/devcpp/include/c++/3.4.2" -I"C:/Dev/Dev-CppPortable/App/devcpp/include" chntpw.c:64:25: openssl/des.h: No such file or directory chntpw.c:65:25: openssl/md4.h: No such file or directory In file included from chntpw.c:71: ntreg.h:137: error: `struct lf_key::<anonymous union>::lf_hash' invalid; an anonymous union can only have non-static data members ntreg.h:145: error: `struct lf_key::<anonymous union>::lh_hash' invalid; an anonymous union can only have non-static data members chntpw.c: In function `void str_to_key(unsigned char*, unsigned char*)': chntpw.c:141: error: `des_cblock' undeclared (first use this function) chntpw.c:141: error: (Each undeclared identifier is reported only once for each function it appears in.) chntpw.c:141: error: expected primary-expression before ')' token chntpw.c:141: error: `DES_set_odd_parity' undeclared (first use this function) chntpw.c: At global scope: chntpw.c:184: error: variable or field `E1' declared void chntpw.c:184: error: `u_char' was not declared in this scope chntpw.c:184: error: `k' was not declared in this scope chntpw.c:184: error: `u_char' was not declared in this scope chntpw.c:184: error: `d' was not declared in this scope chntpw.c:184: error: `u_char' was not declared in this scope chntpw.c:184: error: `out' was not declared in this scope chntpw.c:185: error: initializer expression list treated as compound expression chntpw.c:185: error: expected `,' or `;' before '{' token chntpw.c: In function `char* change_pw(char*, int, int, int)': chntpw.c:488: error: `u_char' undeclared (first use this function) chntpw.c:488: error: expected `;' before "x1" chntpw.c:503: error: `des_key_schedule' undeclared (first use this function) chntpw.c:503: error: expected `;' before "ks1" chntpw.c:504: error: `des_cblock' undeclared (first use this function) chntpw.c:504: error: expected `;' before "deskey1" chntpw.c:506: error: `MD4_CTX' undeclared (first use this function) chntpw.c:506: error: expected `;' before "context" chntpw.c:621: error: `deskey1' undeclared (first use this function) chntpw.c:622: error: expected primary-expression before ')' token chntpw.c:622: error: `ks1' undeclared (first use this function) chntpw.c:622: error: `des_set_key' undeclared (first use this function) chntpw.c:623: error: `deskey2' undeclared (first use this function) chntpw.c:624: error: expected primary-expression before ')' token chntpw.c:624: error: `ks2' undeclared (first use this function) chntpw.c:627: error: expected primary-expression before ')' token chntpw.c:628: error: expected primary-expression before ')' token chntpw.c:628: error: `DES_DECRYPT' undeclared (first use this function) chntpw.c:628: error: `des_ecb_encrypt' undeclared (first use this function) chntpw.c:629: error: expected primary-expression before ')' token chntpw.c:630: error: expected primary-expression before ')' token chntpw.c:633: error: expected primary-expression before ')' token chntpw.c:634: error: expected primary-expression before ')' token chntpw.c:635: error: expected primary-expression before ')' token chntpw.c:636: error: expected primary-expression before ')' token chntpw.c:692: error: `context' undeclared (first use this function) chntpw.c:692: error: `MD4_Init' undeclared (first use this function) chntpw.c:693: error: `MD4_Update' undeclared (first use this function) chntpw.c:694: error: `MD4_Final' undeclared (first use this function) chntpw.c:698: error: expected primary-expression before ')' token chntpw.c:698: error: `x1' undeclared (first use this function) chntpw.c:698: error: expected primary-expression before ')' token chntpw.c:698: error: `E1' cannot be used as a function chntpw.c:699: error: expected primary-expression before ')' token chntpw.c:699: error: expected primary-expression before ')' token chntpw.c:699: error: `E1' cannot be used as a function chntpw.c:704: error: expected primary-expression before ')' token chntpw.c:705: error: expected primary-expression before ')' token chntpw.c:705: error: `DES_ENCRYPT' undeclared (first use this function) chntpw.c:706: error: expected primary-expression before ')' token chntpw.c:707: error: expected primary-expression before ')' token chntpw.c:709: error: expected primary-expression before ')' token chntpw.c:710: error: expected primary-expression before ')' token chntpw.c:711: error: expected primary-expression before ')' token chntpw.c:712: error: expected primary-expression before ')' token make.exe: *** [chntpw.o] Error 1 Wykonanie zakończone


Kozack :Błędy wstawione. Prawd te jest że nie wiem jak sie za to zabrać - ale od czegoś trzeba zacząć. Nie mam pojęcia gdzie go spolszczyć, i czy jak go spolszczę to czy się nagle nie wysypie podczas działania.
CorVeta:
A jeżeli chodzi o zmiane języka to musisz miec kod żródłowy programu i go edytowac w odpowiednim dla niego kompilatorku


Widzę, że masz Dev-C++ i problem z brakiem biblioteki OpenSSL. Sciagnij: http://devpaks.org/d....php?devpak=109 , powinno (trochę) pomóc.

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • zsf.htw.pl
  •