File: README.txt

package info (click to toggle)
cigi-ccl 3.3.3a%2Bsvn818-7
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,332 kB
  • ctags: 7,175
  • sloc: cpp: 62,566; makefile: 541; ruby: 400; ansic: 313; sh: 68
file content (125 lines) | stat: -rw-r--r-- 3,205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
To build any of the examples:
1. Download Tinyxml from www.sourceforge.net/projects/tinyxml
   Note: The examples were tested using TinyXML 2.3.4
2. Expand the Tinyxml zip file
3. Copy the "tinyxml" directory to the ccl/examples directory
4. The resulting directory tree should look like the following:
   ccl
   |- ccl_dll
   |- ccl_lib
   |- examples
   |  |- CigiDummyIG
   |  |- CigiMiniHost
   |  |- tinyxml
   |- include
   |- source



For Windows:
1. Open Visual Studio
2. Select Open Solution
3. Go to the ccl_<version>\ccl_lib directory.
4. Select ccl_lib.sln
5. Select Build->Set Active Configuration
6. Select  one of the following:
   a. ccl_lib - Win32 libDebugMT_DLL
   b. ccl_lib - Win32 libReleaseMT_DLL
7. Build the CCL library.
8. Close the solution.
9. Open the tinyxml library
10. Select one of the following Configurations
   a. tinyxmlStl - Win32 Debug
   b. tinyxmlStl - Win32 Release
11. In the Project -> Setting -> C/C++ -> Code Generation,
    select one of the following:
   a. Debug Multithreaded DLL
   b. Multithreaded DLL
12. Build tinyxml.
13. Close the workspace or solution
14. Select Open Solution
15. Go to one of the example project directories.
16. Select the .sln file
17. Select Build->Set Active Configuration
18. Select one of the following:
   a. <example> - Win32 Debug
   b. <example> - Win32 Release
19. Build the example project.
20. Close the solution



For Linux:
1. Go to the "ccl_<version>" directory
2. make configure executable
3. Type the following:
   a. ./configure
   b. make
4. change to root user.
5. Type the following:
   a. make install
6. Exit root user.
7. Go to the "ccl_<version>\examples\tinyxml" directory.
8. Edit "Makefile"
9. Change the following:
   a. From:

# DEBUG can be set to YES to include debugging info, or NO otherwise
DEBUG          := NO

   b. To:

# DEBUG can be set to YES to include debugging info, or NO otherwise
DEBUG          := YES

   c. From:

# TINYXML_USE_STL can be used to turn on STL support. NO, then STL
# will not be used. YES will include the STL files.
TINYXML_USE_STL := NO

   d. To:

# TINYXML_USE_STL can be used to turn on STL support. NO, then STL
# will not be used. YES will include the STL files.
TINYXML_USE_STL := YES

   e. From:

#**********************************************************
# Output
#**********************************************************

${OUTPUT}: ${OBJS}
	${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}

   f. To:

#**********************************************************
# Output
#**********************************************************

${OUTPUT}: ${OBJS}
	${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}
	ar rc TinyXML.a tinyxml.o tinystr.o tinyxmlerror.o tinyxmlparser.o
	ranlib TinyXML.a


10. Type the following:
   a. make
11. Go to the example project directory.
12. Type the following:
   a. make



You can edit the configuration/definition file ".def".

Make sure a copy of this file is in the same directory
as the executable before starting the program.

You can start the program by going to the directory
containing the example executable and typing the name
of the example for windows or "./<name of the example>" for Linux.