
11 Apr
2007
11 Apr
'07
8:14 p.m.
Hi, I first created my project using BGL under Visual C++. The project works fine. Then, I want to compile the source files using gcc in linux environment. I got a lot of errors by simply calling (gcc mainfile.cpp). Errors such as : /usr/include/boost/pending/stringtok.hpp:64: error: redefinition of `bool <unnamed>::isws(char, const char*)' /usr/include/boost/pending/stringtok.hpp:64: error: `bool <unnamed>::isws(char, const char*)' previously defined here /usr/include/boost/pending/stringtok.hpp: At global scope: /usr/include/boost/pending/stringtok.hpp:83: error: redefinition of ` template<class Container> void boost::stringtok(Container&, const std::string&, const char*)' Thanks for your help. Abdel.