Hello,
I have a small problem with the librairie 0.4.2 she doesn't compile
she make this error :
564 C:\Dev-Cpp\irrlicht-0.42\source\CAnimatedMeshMD2.cpp
`struct irr::scene::CAnimatedMeshMD2::SFrameData' has
please help
thank you.
TETUS
Compilation probleme with 0.4.2
-
TETUS
probleme
I don't know it's not write
but a give you the code who make the probleme :
if (frame->name[0])
{
for (s32 s = 0; frame->name[s]!=0 && (frame->name[s] < '0' ||
frame->name[s] > '9'); ++s)
fdata.name += fdata.nameframe->name[s]; // here the problem
if (!FrameData.empty() && FrameData[FrameData.size()-1].name == fdata.name)
++FrameData[FrameData.size()-1].end;
else
FrameData.push_back(fdata);
}
but a give you the code who make the probleme :
if (frame->name[0])
{
for (s32 s = 0; frame->name[s]!=0 && (frame->name[s] < '0' ||
frame->name[s] > '9'); ++s)
fdata.name += fdata.nameframe->name[s]; // here the problem
if (!FrameData.empty() && FrameData[FrameData.size()-1].name == fdata.name)
++FrameData[FrameData.size()-1].end;
else
FrameData.push_back(fdata);
}
-
Guest
1. I don't believe when you it doesn't print the reason 
2. I'm not a great specialist in Dev-Cpp but according to your first post the actual error is HERE: line 564
This line is (according to my VC editor 
well fdata.name is a string of type core::string<c8> and frame->name[s] is a character of type c8. According to my sources of v 0.4.2 there is operator
defined in core::string template class. So there should be no problems...
Would it help you to rebuild entire project? (It helps often).
If you tell me the actual reason of the error I will probably tell you something else. Sorry for now.
2. I'm not a great specialist in Dev-Cpp but according to your first post the actual error is HERE: line 564
Code: Select all
fdata.name += frame->name[s];Code: Select all
void operator += (T c)Would it help you to rebuild entire project? (It helps often).
If you tell me the actual reason of the error I will probably tell you something else. Sorry for now.
-
Guest
I don't beleive in it but you can try to change "bad" line with the following:
but this will make your code slower anyway...
Code: Select all
fdata.name = fdata.name + frame->name[s];-
Pierrot
same problem
hello !!! and first very good job for your engin 
I have a same probleme like TETUS but when a change :
fdata.name += frame->name[s];
in
fdata.name[s] += frame->name[s];
it's have a news :
161 C:\irrlicht-0.4.2\source\CAnimatedMeshSceneNode.cpp
`ETS_WORLD' undeclared in namespace `irr::video
274 C:\irrlicht-0.4.2\source\CAnimatedMeshSceneNode.cpp
`EVDF_STENCIL_BUFFER' undeclared in namespace `
And I known some attribut name's change but ???? please help us
thx
I have a same probleme like TETUS but when a change :
fdata.name += frame->name[s];
in
fdata.name[s] += frame->name[s];
it's have a news :
161 C:\irrlicht-0.4.2\source\CAnimatedMeshSceneNode.cpp
`ETS_WORLD' undeclared in namespace `irr::video
274 C:\irrlicht-0.4.2\source\CAnimatedMeshSceneNode.cpp
`EVDF_STENCIL_BUFFER' undeclared in namespace `
And I known some attribut name's change but ???? please help us
thx