Public feed #722797

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-10-02 10:40 UTC
rendered paste body
Compiler: Default compiler
Building Makefile: "C:\Users\Pesu\Desktop\VampTown\Makefile.win"
Executing  make...
make.exe -f "C:\Users\Pesu\Desktop\VampTown\Makefile.win" all
g++.exe -D__DEBUG__ -c main.cpp -o main.o -I"include"    -w -g3

In file included from main.cpp:7:
Map Class.h: In member function `int Map::LoadTiles()':
Map Class.h:31: error: no match for 'operator=' in '((Map*)this)->Map::Tiles[0] = SDL_LoadImage(string(((const char*)"Slayer.bmp"), ((const std::allocator<char>&)((const std::allocator<char>*)(&allocator<char>())))))'
C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/SDL/SDL_video.h:88: note: candidates are: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)

Map Class.h: In member function `int Map::DrawOnScreen(Coordinates, Coordinates)':
Map Class.h:53: error: cannot convert `SDL_Surface' to `SDL_Surface*' for argument `3' to `void ApplyImage(int, int, SDL_Surface*, SDL_Surface*)'
Map Class.h: At global scope:
Map Class.h:61: error: prototype for `int Map::LoadMap(char*)' does not match any in class `Map'
Map Class.h:25: error: candidate is: int Map::LoadMap()

main.cpp: In function `int SDL_main(int, char**)':
main.cpp:24: error: 'class Player' has no member named 'SetLoc'
main.cpp:30: error: 'class Player' has no member named 'ReturnLocation'
main.cpp:30: error: 'class Player' has no member named 'ReturnLocation'

make.exe: *** [main.o] Error 1

Execution terminated