Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#8 cannot make

closed
nobody
None
5
2002-12-16
2002-12-16
No

when executing make, i get this:

g++ -Wall -pedantic -ansi -o3 poopmup.cpp -o poopmup.o
-lglut -lGL -lGLU -L/usr/X11R6/lib -lXmu -lXext -lXt
-lXi -lX11
In file included from
/usr/include/g++-v32/backward/iostream.h:31,
from common.h:22,
from poopmup.cpp:6:
/usr/include/g++-v32/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from PoopWorld.h:18,
from poopmup.cpp:7:
PoopWorldGenerator.h: In member function `void
PoopWorldGenerator::PlaceRoads()':
PoopWorldGenerator.h:144: call of overloaded
`sqrt(int)' is ambiguous
/usr/include/bits/mathcalls.h:157: candidates are:
double sqrt(double)
/usr/include/g++-v32/cmath:465: long
double std::sqrt(long
double)
/usr/include/g++-v32/cmath:461: float
std::sqrt(float)
make: *** [all] Error 1

here is the output for gcc[simon@homer pts/0] gcc -v
Reading specs from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with:
/var/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure
--prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java
--enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/include/g++-v32
--with-local-prefix=/usr/local --enable-shared
--enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.1

I hope this helps, it looks like a cool game

Discussion

  • Sherif Zaroubi
    Sherif Zaroubi
    2002-12-16

    Logged In: YES
    user_id=161727

    Changes will be uploaded to cvs server

     
  • Sherif Zaroubi
    Sherif Zaroubi
    2002-12-16

    new PoopWorldGenerator.h

     
    Attachments
  • Sherif Zaroubi
    Sherif Zaroubi
    2002-12-16

    • status: open --> closed