boost::lexical_cast question

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

Moderators: Lapo, Bax, MBagnati

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

boost::lexical_cast question

Post by ganquan »

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

Post by MBagnati »

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