Hello,
i have a problem compiling cegui 0.2. The compiler gives the following errors:
\\cegui_mk2\src\elements\ceguiscrollablepane.cpp(318) : error C2039: 'fabs' : Is not a element of '_STL'
\\cegui_mk2\src\elements\ceguispinner.cpp(239) : error C2039: 'sscanf' : Is not a element of '_STL'
I have copied the common-dep and the stl-dep packages (v0.2) to the right place and i have set the global environment variables for headers and libs to the stl directory.
Can anyone help me ?
fabs is not a element of '_STL'
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: fabs is not a element of '_STL'
Hi,
This is HEAD as opposed to 0.2.0, but that's fine becuase I was not aware that there was this problem. So thanks for reporting it
The issue appears to be poxy STLport and the fact that half the symbols don't get put into the standard namespace where they should be (and even then you get different results depending upon which compiler it's using). What a steaming pile of shite
I'll get these fixed later on this afternoon
CE.
This is HEAD as opposed to 0.2.0, but that's fine becuase I was not aware that there was this problem. So thanks for reporting it
The issue appears to be poxy STLport and the fact that half the symbols don't get put into the standard namespace where they should be (and even then you get different results depending upon which compiler it's using). What a steaming pile of shite
I'll get these fixed later on this afternoon
CE.
Re: fabs is not a element of '_STL'
Yeah, I noticed this to with recent cvs... Though, it only affected the windowslook build for me, so I ignored it
Also, I noticed that at least the VC7.0 makefiles all had "treat warnings as errors" turned on.
First I started just fixing the warnings...than just got tired and turned that off (no idea why I used the hammer, but everyone else has)
Also, I noticed that at least the VC7.0 makefiles all had "treat warnings as errors" turned on.
First I started just fixing the warnings...than just got tired and turned that off (no idea why I used the hammer, but everyone else has)
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: fabs is not a element of '_STL'
Thanks, pjcast for the information.
Hmmm, I guess I should take a look at those too. Was it the same std::fabs issue or others too?
I have this switched on in the VC++7.1 makefiles since that's what I use on Windows and I like try to keep warnings to a minimum, and this helps me out in that department. The VC++7.0 files were made via the highly technical "cut & paste" system, which is why this setting is on there too What kinds of warnings were you getting? Last time I had access to VC7.0 I don't recall any troubles (though that was a while back now).
The is an essential emoticon. Nobody can resist!
CE.
Yeah, I noticed this to with recent cvs... Though, it only affected the windowslook build for me, so I ignored it
Hmmm, I guess I should take a look at those too. Was it the same std::fabs issue or others too?
Also, I noticed that at least the VC7.0 makefiles all had "treat warnings as errors" turned on.
I have this switched on in the VC++7.1 makefiles since that's what I use on Windows and I like try to keep warnings to a minimum, and this helps me out in that department. The VC++7.0 files were made via the highly technical "cut & paste" system, which is why this setting is on there too What kinds of warnings were you getting? Last time I had access to VC7.0 I don't recall any troubles (though that was a while back now).
First I started just fixing the warnings...than just got tired and turned that off (no idea why I used the hammer, but everyone else has)
The is an essential emoticon. Nobody can resist!
CE.
Re: fabs is not a element of '_STL'
Yeah, the errors were the same.. on second look, it affected my ceguibase build not windowslook ...
Using vc7.0 w/ stlport 4.6.2
The warnings seem to all be of type "conversion of double to float, possible loss of data" which were solved by just using an explicit static_cast<float>... But, seemed to be several, so I just turned off the setting
Using vc7.0 w/ stlport 4.6.2
The warnings seem to all be of type "conversion of double to float, possible loss of data" which were solved by just using an explicit static_cast<float>... But, seemed to be several, so I just turned off the setting
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: fabs is not a element of _STL
Thanks for the info, I think that most of this should be fixed now. I'll have a double-check for more instances of std::fabs and co. I'll also do a clean & rebuild on Win32 to make sure there's no more warnings.
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 11 guests