EltenLink

Jak uruchomić Eltena z kodu, krok po kroku

Wróć do Klient dla systemu Windows

#21 zywek

rake lib klepnij



2020-12-26 22:38

#22 pajper

Na GitHubie nie ma obecnie najnowszej wersji przez całe zamieszanie konferencyjne, pojawi się na dniach.


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2020-12-26 22:39

#23 piter9521

Dawidzie zaktualizuj poradnik i dopisz, że do najnowszej wersji trzeba ruby 3.



2021-04-10 11:46

#24 daszekmdn

A czy jeśli pobrałem kod ze strony GitHuba na dysk i edytuję go w np Notepad PlusPlus potrzebuję Visual studio? Czy starczy mi sam Ruby do kompilacji i uruchomienia?
Wiecie, mam zbyt słaby komputer na VS.


Sygnatura to może być w sądzie. Sygnatura sprawy np. :P
Edytowano 2021-05-24 11:54

#25 pajper

Nie, do kompilacji kodu niestety wymagany jest Visual Studio. I Git, by pobrać zależności.


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-05-24 11:56

#26 pajper

Chodzi o to, że część niskopoziomowych funkcji Eltena, jak obsługa klawiatury, SAPI, komunikacja z COM i takie tam są napisane w C++.


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-05-24 11:57

#27 grzezlo

Zainstalowałem zgodnie z tutorialem.
Zaproponowano mi pobranie ruby 3.0.2, więc pobrałem i zainstalowałem.
Następnie przy rake key dostałem info, że wymagana jest wersja 3.0.1.
Zmieniłem to w rakefile.
Rake key się powiodło.
Samo rake niestety nie.
rake aborted!
Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dylib, liblzma
:160:in `require'
:160:in `rescue in require'
:149:in `require'
D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in '
D:/sources/elten/Elten2/rakefile:95:in `each'
D:/sources/elten/Elten2/rakefile:95:in `block in '
D:/sources/elten/Elten2/rakefile:526:in `block in '
D:/sources/elten/Elten2/rakefile:572:in `block in '

Caused by:
LoadError: cannot load such file -- xz



2021-09-20 23:22

#28 pajper

Hmmm, rake powinno to zrobić, ale może jest błąd?
Spróbuj wpisać
gem install ruby-xz


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:23

#29 pajper

I jeszcze dla pewności, pobrałeś Ruby x86?


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:24

#30 grzezlo

Tak x86.
Dokładnie:
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [i386-mingw32]

rake próbuje instalować te xz i tak jakby mu się to udaje, a później ten error.
Version 1.0.0 of ruby-xz breaks the API. Read HISTORY.rdoc and adapt your code to the new API.
Successfully installed ruby-xz-1.0.0
Parsing documentation for ruby-xz-1.0.0
Done installing documentation for ruby-xz after 0 seconds
1 gem installed

I później mamy:
d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: already initialized constant XZ::CHUNK_SIZE
d:/Ruby30/lib/ruby/gems/3.0.0/gems/ruby-xz-1.0.0/lib/xz.rb:40: warning: previous definition of CHUNK_SIZE was here
rake aborted!
Fiddle::DLError: Failed to open any of these shared object files: liblzma.so.5, liblzma.so, liblzma.5.dylib, liblzma.dyl
ib, liblzma
:85:in `require'
:85:in `require'
D:/sources/elten/Elten2/rakefile:98:in `block (2 levels) in '
D:/sources/elten/Elten2/rakefile:95:in `each'
D:/sources/elten/Elten2/rakefile:95:in `block in '
D:/sources/elten/Elten2/rakefile:526:in `block in '
D:/sources/elten/Elten2/rakefile:572:in `block in '
Tasks: TOP => agent
(See full trace by running task with --trace)




2021-09-20 23:26

#31 pajper

Potwierdzam problem, gdy odpaliłem Rubiego 3.0.2, to wymaga szerszego zbadania.
Wygląda na to, że obecnie wymagany jest Ruby 3.0.1.

Moja wersja: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [i386-mingw32]


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:29

#32 grzezlo

Ciekawe czemu chowają bo i na stronie downloads i releases githubowej nie ma do pobrania tej 3.0.1, na szczęście przez odpowiednią modyfikację linka do exeka 3.0.2 udało się pobrać starszą. Właśnie się instaluje.



2021-09-20 23:38

#33 pajper

Ciekaw jestem, czy to rozwiąże problem, czy coś głębszego tam siedzi.


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:39

#34 grzezlo

I teraz i poprzednio mam przy ridk install: nie można zmienić uprawnień do /dev/shm, permission denied. Może to tu jest coś...



2021-09-20 23:41

#35 grzezlo

Puściłem tę opcję 2 we which components should be installed, czyli msys system update...



2021-09-20 23:43

#36 grzezlo

Niestety, po staremu, tylko się rake o wersję nie czepia. Ale errory o nieznalezionych bibliotekach te same.



2021-09-20 23:51

#37 pajper

Czy istnieje u Ciebie plik c:\ruby30\bin\liblzma.dll?


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:55

#38 grzezlo

Nie istnieje, instalację mam na d:\ruby30.
Jedyny dll, który w tym folderze znalazłem, to:
D:\Ruby30\bin\msvcrt-ruby300.dll



2021-09-20 23:58

#39 pajper

Bardzo to dziwne. A co się stanie, jak go wrzucisz? W załączniku wersja z mojej instancji.


#StandWithUkraine

Shoot for the Moon. Even if you miss, you'll land among the stars.
2021-09-20 23:58

#40 grzezlo

Heh, building native extensions, czyli jakby dalej poszło.



2021-09-21 00:00