source: docs/WIN32.TXT @ 76eeca0

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 76eeca0 was e641bdc, checked in by Matt Brown <mattb@…>, 16 years ago

Added WIN32 build environment infrastructure. See docs/WIN32.TXT for details.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1Compiling libtrace3 for WIN32
2=============================
3
4libtrace3 provides a MSVC build environment to allow you to compile and run
5the code in a Windows environment.
6
7There has been no extensive testing yet. Some of the format modules may be
8broken. There may be dragons here.
9
10Visual Studio 2005 or greater is required. Development has been performed
11using MS Visual C++ 2005 Express Edition.
12
13You will also need a correctly installed copy of the Platform SDK. The
14Windows Server 2003 SP1 SDK was used for Development.
15
16To build libtrace using Visual Studio open the provided solution
17'libtrace.sln' this solution contains three projects:
18
19* libtrace.vcproj       - The actual library, builds a DLL
20* test-format.vcproj    - Builds the test-format executable from test/
21* test-convert.vcproj   - Builds the test-convert executable from test/
22
23Before you compile libtrace you will need to copy config-win.h to config.h
24in the top level directory. There is currently no integration with autoconf
25or any of the standard GNU build tools.
26
27From the build menu select 'Build Solution'. After the build has completed
28sucessfully execute the test-format and test-convert programs with the
29following parameters
30
31 test-format erf
32 test-format wtf
33 test-format pcapfile
34
35 test-convert erf erf
36 test-convert pcapfile erf
37
38As each program completes it should output 'success: 100 packets read'. If
39this string is not displayed there is a problem and debugging will be
40required.
41
42The above invocations of test-format and test-convert are known to work in
43the development environment. Other combinations of formats are not supported
44at this time.
45
46 -- Matt Brown <matt@mattb.net.nz>  Thu, 27 Apr 2006 00:49:23 +1200
Note: See TracBrowser for help on using the repository browser.