boost::lexical_cast question

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

ganquan
Posts: 38
Joined: 17 Apr 2013, 01:42

boost::lexical_cast question

Postby ganquan » 10 May 2013, 15:39

i compile game with 0.9.5 for android, and i get error in boost.
i don't know why, but the error is cause by boost::lexical_cast.
so i comment all the #include <boost/lexical_cast.hpp> in api and use atof instead, the compile success and the game work.
MBagnati
Posts: 126
Joined: 12 Feb 2013, 10:57

Re: boost::lexical_cast question

Postby MBagnati » 15 May 2013, 08:31

This problem will be fixed into next API version replacing lexical_cast with atoi/atof functions

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 10 guests