flori / ctapi Goto Github PK
View Code? Open in Web Editor NEWRuby extension for Chipcard Cardterminal-API (CTAPI)
Home Page: http://flori.github.com/ctapi
License: GNU General Public License v2.0
Ruby extension for Chipcard Cardterminal-API (CTAPI)
Home Page: http://flori.github.com/ctapi
License: GNU General Public License v2.0
Requirements ============ You need to install a driver library, that supports the CTAPI interface for this extension to link against. The newest version of the towitoko library, that is required to drive the Towitoko Chipdrive Micro, Extern, Extern II, Intern, Twin, and the "Kartenzwerg", can be download at this URL: http://www.geocities.com/cprados Installation ============ Install the gem with # CTAPI_LIBRARY=LIBRARYNAME gem install ctapi and the extension should be built and installed. Alternatively you can just type into the command line as root: # CTAPI_LIBRARY=LIBRARYNAME ruby install.rb where LIBRARYNAME is the name of the ctapi driver library to use. If you want to link against the towitoko library, this would be, e. g., # CTAPI_LIBRARY=LIBRARYNAME ruby install.rb towitoko is also the default choice for the library. Documentation ============= To generate the documentation in doc/ type: $ ruby make_doc.rb Also look into the cardinfo.rb and ctsh.rb executables if you want to see how to use this library. Author ====== Florian Frank <[email protected]> License ======= GNU General Public License (GPL), Version 2
I try to install the ctapi gem for months. Im student and beginner in progamming ruby so that i will completly explain my steps:
I downloaded the driver for my reader Zemo Gk2 from:
http://www.zemo.de/medical/downloads/VML-Install.exe
Next i installed it. The driver has this dll name: "ctVML32.dll" and possess this functions: CT_init, CT_data, CT_close
So then i downloded the gem ctapi as zip and upacked it into "C:\geburtstag\ctapi-master"
So then in my console:
cd C:\geburtstag\ctapi-master
ruby install.rb ctVML32
And then this error appears:
install.rb:7: Use RbConfig instead of obsolete and deprecated Config.
cd ext
checking for main() in -lctVML32... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby
--with-ctVML32lib
--without-ctVML32lib
I hope somebody can help me solve this problem! Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.