Code: Select all
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(92): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(92): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(98): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(98): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(107): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(107): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(115): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(115): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(125): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(125): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(147): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(147): error C3805: 'constant': unexpected token, expected either '}' or a ','
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(155): error C2059: syntax error : 'constant'
43>c:\development\myproj\bullet-2.82-r2704\src\bulletsoftbody\btsoftbody.h(155): error C3805: 'constant': unexpected token, expected either '}' or a ','
Code: Select all
///eAeroModel
struct eAeroModel { enum _ {
V_Point, ///Vertex normals are oriented toward velocity
V_TwoSided, ///Vertex normals are flipped to match velocity
V_TwoSidedLiftDrag, ///Vertex normals are flipped to match velocity and lift and drag forces are applied
V_OneSided, ///Vertex normals are taken as it is
F_TwoSided, ///Face normals are flipped to match velocity
F_TwoSidedLiftDrag, ///Face normals are flipped to match velocity and lift and drag forces are applied
F_OneSided, ///Face normals are taken as it is
END
};};
I have no clue as to what I can do to fix it or why it happens in the first place.
Any hints on where to start debugging?
I can compile the softbody sample, and I've tried with the same includes as there.
still same error, I suspect there is a setting or something like that in my project that the sample projects has - which my project does not.. hmm.