LTKCPP-- LLRP Toolkit C Plus Plus Library
|
contains instructions on installing and building the LTKCPP More...
Go to the source code of this file.
contains instructions on installing and building the LTKCPP
INSTALLING AND BUILDING THE LLRP Tool Kit for C++ Last updated 28 Jan 2008
These are the instructions for obtaining and building the LLRP Tool Kit for C++ (LTKCPP) on Linux and on Windows Visual Studio.
The most recent versions of and news about the LLRP Tool Kit is available on SourceForge.net
http://sourceforge.net/projects/llrp-toolkit/
You need: 1) A Linux system 2) gcc(1) and make(1) installed including the C++ libraries and header files 3) The LTK distribution
You need: Widows XP or later Visual Studio 2003 or later xlstproc.exe (http://www.zlatkovic.com/libxml.en.html) The LTK distribution
Using anonymous CVS, obtain the LLRP Tool Kit distribution from SourceForge.net
cvs -d:pserver:anony:/cvsroot/llrp-toolkit login mous @llrp -too lkit. cvs. sourc efor ge.ne t
[press ENTER when prompted for the password]
cvs -z3 -d:pserver:anony:/cvsroot/llrp-toolkit co -P LTK mous @llrp -too lkit. cvs. sourc efor ge.ne t
TODO
cd LTK/LTKCPP make
Try dx101, the stand-alone self-test. It needs no reader.
cd LTK/LTKCPP/Tests sh RUN101
Expect this output
./dx101 ../../Tests/dx101/dx101_a_in.bin > dx101_out.tmp PASSED
If you have a LLRP reader available, you may want to try dx201
cd LTK/LTKCPP/Tests dx201 -v MyReaderHostName
or try example1
cd LTK/LTKCPP/Examples example1 -v MyReaderHostName
Start a command (DOS prompt) Window
Run the script that generates code. This needs xsltproc.exe. See notes inside of gencode.bat for obtaining xsltproc.exe. It's easy and free of charge.
cd LTK\LTKCPP\Library gencode.bat
Use the Windows explorer to find folder
LKT\LTKCPP\VS_LTKCPP
Double click on the Solution file
VS_LTKCPP.sln
Visual Studio should start
Click on the Build menu, then click on menu entry Build Solution
Start a command (DOS prompt) Window
Try dx101, the stand-alone self-test. It needs no reader.
cd LTK\LTKCPP\VS_LTKCPP\dx101\Debug
Run this command
dx101 ..\..\..\..\Tests\dx101\dx101_a_in.bin
All this can do is show you that the build of dx101 succeeded. The output should textually compare to .......txt. But there is no ready utility to do the comparisson.
If you have a LLRP reader available, you may want to try dx201
cd LTK\LTKCPP\VS_LTKCPP\dx201\Debug dx201 /v MyReaderHostName
or try example1
cd LTK\LTKCPP\VS_LTKCPP\example1\Debug example1 /v MyReaderHostName
Visit the LLRP Tool Kit project on SourceForge.net
Definition in file INSTALL.TXT.