Advertisement

03.24.2008 at 04:58PM PDT, ID: 23265732
[x]
Attachment Details

importing working project leading to build errors

Asked by bryanberg in C++ Programming Language, Graphics & Game Programming, 3D Game Programming

Hi all,


I'm currently working with vterrain, and offshoot of open scene graph (osg) (http://vterrain.org/index.html), which uses osg libraries.

The sample app builds fine, but when I import vtlib, vtdata, and vtosg into my existing app and try to build I get the following errors (at the bottom).

 

I reckon there is some #include not put somewhere, but havent seemed to be able to locate what I missed.

 

To clear up confusion, the vterrain app uses osg2.0 binaries and headers, which were downloaded as prepackaged.

 

Thanks so much !

 

-Bryan

: * )~

 


 

 

 
Start Free Trial
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:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(85): error C2143: syntax error : missing ';' before '*'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(85): error C2433: 'vtStructure3d::vtGeom' : 'virtual' not permitted on data declarations
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(85): error C2501: 'vtStructure3d::vtGeom' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(85): error C2501: 'vtStructure3d::GetGeom' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(85): warning C4183: 'GetGeom': missing return type; assumed to be a member function returning 'int'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(150): error C2143: syntax error : missing ';' before '*'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(150): error C2501: 'vtStructInstance3d::vtGeom' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Structure3d.h(150): error C2501: 'vtStructInstance3d::m_pHighlight' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\TerrainLayers.h(63): error C2143: syntax error : missing ';' before '*'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\TerrainLayers.h(63): error C2501: 'vtImageLayer::vtMultiTexture' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\TerrainLayers.h(63): error C2501: 'vtImageLayer::m_pMultiTexture' : missing storage-class or type specifiers
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(20): error C2065: 'vtMesh' : undeclared identifier
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(20): error C2059: syntax error : '>'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(22): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(73): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(84): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(85): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(86): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(116): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(118): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\AbstractLayer.h(160): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(36): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(39): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(48): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(50): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(50): error C2065: 'ptr' : undeclared identifier
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(55): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(57): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(58): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(75): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(76): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(79): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(81): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(82): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(91): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(96): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(99): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(101): error C2065: 'bEnabledOnly' : undeclared identifier
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(102): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(103): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(115): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(118): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(122): error C2146: syntax error : missing ',' before identifier 'my'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(122): error C2065: 'my' : undeclared identifier
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(122): error C2143: syntax error : missing ',' before ')'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(132): error C2143: syntax error : missing ';' before '}'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(139): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(142): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(144): error C2143: syntax error : missing ';' before '{'
 
c:\vterrain\vtp-src-080114\VTP\TerrainSDK\vtlib\core\Engine.h(150): error C2143: syntax error : missing ';' before '}'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(17): error C2143: syntax error : missing ';' before '{'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(21): error C2947: expecting '>' to terminate template-argument-list, found '>'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(21): error C2976: 'std::vector' : too few template arguments
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(22): error C2955: 'std::vector' : use of class template requires template argument list
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(22): error C2955: 'std::vector' : use of class template requires template argument list
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(23): error C2236: unexpected 'class' 'vtVisual::_List_nod'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(27): error C2899: typename cannot be used outside a template declaration
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28): error C2903: 'rebind' : symbol is neither a class template nor a function template
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28): error C2027: use of undefined type '_Alloc'
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(21) : see declaration of '_Alloc'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28): error C2143: syntax error : missing ';' before '<'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28): error C2039: 'other' : is not a member of 'operator``global namespace'''
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28): error C2238: unexpected token(s) preceding ';'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2146: syntax error : missing ')' before identifier '_Nextarg'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2146: syntax error : missing ';' before identifier '_Nextarg'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2460: 'vtVisual::_List_nod::_Node::_Genptr' : uses 'vtVisual::_List_nod::_Node', which is being defined
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(31) : see declaration of 'vtVisual::_List_nod::_Node'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2501: 'vtVisual::_List_nod::_Node::_Nextarg' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2146: syntax error : missing ';' before identifier '_Prevarg'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2501: 'vtVisual::_List_nod::_Node::_Genptr' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2501: 'vtVisual::_List_nod::_Node::_Prevarg' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2143: syntax error : missing ';' before '&'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2501: 'vtVisual::_List_nod::_Node::_Ty' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): warning C4228: nonstandard extension used : qualifiers after comma in declarator list are ignored
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(32): error C2059: syntax error : ')'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C2065: '_Nextarg' : undeclared identifier
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C3861: '_Next': identifier not found, even with argument-dependent lookup
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C2531: 'vtVisual::_List_nod::_Node::_Myvalarg' : reference to a bit field illegal
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C2501: 'vtVisual::_List_nod::_Node::_Myvalarg' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C2061: syntax error : identifier '_Prevarg'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(33): error C2061: syntax error : identifier '_Myvalarg'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(35): error C2143: syntax error : missing ';' before '{'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(35): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(42): error C2146: syntax error : missing ')' before identifier '_Al'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(42): error C2146: syntax error : missing ';' before identifier '_Al'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(42): error C2079: 'vtVisual::_List_nod::_Node::_Alloc' uses undefined class 'vtVisual::_List_nod'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(42): error C2059: syntax error : ')'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(43): error C2065: '_Al' : undeclared identifier
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(43): error C3861: '_Alnod': identifier not found, even with argument-dependent lookup
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(44): error C2501: 'vtVisual::_List_nod::_Node::_Al' : missing storage-class or type specifiers
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(47): error C2899: typename cannot be used outside a template declaration
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(47): error C2903: 'rebind' : symbol is neither a class template nor a function template
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(47): error C2027: use of undefined type '_Alloc'
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(21) : see declaration of '_Alloc'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(47): error C2143: syntax error : missing ';' before '<'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(47): error C2377: 'vtVisual::_List_nod::rebind' : redefinition; typedef cannot be overloaded with any other symbol
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(28) : see declaration of 'vtVisual::_List_nod::rebind'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(48): error C2039: 'other' : is not a member of 'operator``global namespace'''
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(48): error C2238: unexpected token(s) preceding ';'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(49): error C2208: 'vtVisual::_List_nod' : no members defined using this type
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(55): error C2143: syntax error : missing ',' before '<'
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(69) : see reference to class template instantiation 'vtVisual::_List_ptr<_Ty,_Alloc>' being compiled
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(58): error C2059: syntax error : '<'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(58): error C2039: '_Node' : is not a member of 'operator``global namespace'''
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(58): error C2238: unexpected token(s) preceding ';'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(100): error C2059: syntax error : '<'
 
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(966) : see reference to class template instantiation 'vtVisual::list<_Ty,_Ax>' being compiled
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(100): error C2039: '_Genptr' : is not a member of 'operator``global namespace'''
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(100): error C2238: unexpected token(s) preceding ';'
 
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\list(100): fatal error C1003: error count exceeds 100; stopping compilation
[+][-]03.25.2008 at 02:06AM PDT, ID: 21200345

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 04:45AM PDT, ID: 21200951

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 05:19AM PDT, ID: 21201124

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 09:45AM PDT, ID: 21203634

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 09:49AM PDT, ID: 21203681

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 10:20AM PDT, ID: 21203951

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 10:58AM PDT, ID: 21204336

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 02:03PM PDT, ID: 21206181

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 03:39PM PDT, ID: 21466820

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 05:47PM PDT, ID: 21541112

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C++ Programming Language, Graphics & Game Programming, 3D Game Programming
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 4
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628