help me please

Help
wdl
2013-07-29
2014-08-05
  • wdl
    wdl
    2013-07-29

    I'm new to stlport
    why this error cause when I using it

    In file included from f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:169:0,
    from f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_alloc.h:35,
    from f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_string.h:23,
    from ../StlPort/main.cpp:1:
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:535:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:535:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:535:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:535:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:536:9: error: 'acos' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:536:9: error: 'acos' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:537:9: error: 'asin' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:537:9: error: 'asin' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:538:9: error: 'atan' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:538:9: error: 'atan' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:539:9: error: 'atan2' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:539:9: error: 'atan2' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:540:9: error: 'ceil' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:540:9: error: 'ceil' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:541:9: error: 'cos' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:541:9: error: 'cos' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:542:9: error: 'cosh' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:542:9: error: 'cosh' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:543:9: error: 'exp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:543:9: error: 'exp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:544:9: error: 'fabs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:544:9: error: 'fabs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:545:9: error: 'floor' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:545:9: error: 'floor' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:546:9: error: 'fmod' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:546:9: error: 'fmod' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:547:9: error: 'frexp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:547:9: error: 'frexp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:558:9: error: 'ldexp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:558:9: error: 'ldexp' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:559:9: error: 'log' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:559:9: error: 'log' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:560:9: error: 'log10' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:560:9: error: 'log10' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:561:9: error: 'modf' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:561:9: error: 'modf' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:562:9: error: 'pow' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:562:9: error: 'pow' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:562:9: error: 'pow' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:562:9: error: 'pow' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:562:9: error: 'pow' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:563:9: error: 'sin' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:563:9: error: 'sin' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:564:9: error: 'sinh' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:564:9: error: 'sinh' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:565:9: error: 'sqrt' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:565:9: error: 'sqrt' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:566:9: error: 'tan' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:566:9: error: 'tan' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:567:9: error: 'tanh' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cmath.h:567:9: error: 'tanh' is already declared in this scope
    In file included from f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_alloc.h:35:0,
    from f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_string.h:23,
    from ../StlPort/main.cpp:1:
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:175:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:175:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:175:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:175:9: error: 'abs' is already declared in this scope
    f:/WorkSpace/Cpp_Lib/STLport-5.2.1/STLport-5.2.1/stlport/stl/_cstdlib.h:176:9: error: 'div' is already declared in this scope

     
    • wdl
      wdl
      2013-07-30

      Is there any one can help me?

       
  • Casteele
    Casteele
    2014-08-02

    Post awaiting moderation.
  • Is there any one can help me?

    Answer is correspond to quality of qestion.