LTKCPP-- LLRP Toolkit C Plus Plus Library
INSTALL.TXT File Reference

contains instructions on installing and building the LTKCPP More...

Go to the source code of this file.

Detailed Description

contains instructions on installing and building the LTKCPP

INSTALLING AND BUILDING THE LLRP Tool Kit for C++ Last updated 28 Jan 2008

INTRODUCTION

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/

LINUX PREREQUISITES

You need: 1) A Linux system 2) gcc(1) and make(1) installed including the C++ libraries and header files 3) The LTK distribution

WINDOWS PREREQUISITES

You need: Widows XP or later Visual Studio 2003 or later xlstproc.exe (http://www.zlatkovic.com/libxml.en.html) The LTK distribution

OBTAIN THE LTK DISTRIBUTION USING ANONYMOUS CVS FROM LINUX

Using anonymous CVS, obtain the LLRP Tool Kit distribution from SourceForge.net

cvs -d:pserver:anony.nosp@m.mous.nosp@m.@llrp.nosp@m.-too.nosp@m.lkit..nosp@m.cvs..nosp@m.sourc.nosp@m.efor.nosp@m.ge.ne.nosp@m.t:/cvsroot/llrp-toolkit login

[press ENTER when prompted for the password]

cvs -z3 -d:pserver:anony.nosp@m.mous.nosp@m.@llrp.nosp@m.-too.nosp@m.lkit..nosp@m.cvs..nosp@m.sourc.nosp@m.efor.nosp@m.ge.ne.nosp@m.t:/cvsroot/llrp-toolkit co -P LTK

OBTAIN THE LTK DISTRIBUTION AS A ZIP FILE

TODO

BUILD ON LINUX

cd LTK/LTKCPP
make

VERIFICATION ON LINUX

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

BUILD ON WINDOWS VISUAL STUDIO

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

VERIFICATION ON WINDOWS

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

FOR FURTHER INFORMATION OR TO GET HELP

Visit the LLRP Tool Kit project on SourceForge.net

Definition in file INSTALL.TXT.