Skip to content

Instantly share code, notes, and snippets.

@ldunn
Created January 8, 2011 02:59
Show Gist options
  • Save ldunn/770493 to your computer and use it in GitHub Desktop.
Save ldunn/770493 to your computer and use it in GitHub Desktop.
g++ -I include -g -O2 -c src/player.cpp -o src/player.o
src/player.cpp: In constructor ‘Player::Player()’:
src/player.cpp:6:30: error: class ‘Player’ does not have any field named ‘Rotation’
src/player.cpp:6:56: error: class ‘Player’ does not have any field named ‘Pos’
src/player.cpp:6:159: error: no matching function for call to ‘Entity::Entity()’
include/entity.h:14:5: note: candidates are: Entity::Entity(Vector3, Vector3, Vector3)
include/entity.h:8:1: note: Entity::Entity(const Entity&)
src/player.cpp: In constructor ‘Player::Player(float, Vector3, Vector3, std::string)’:
src/player.cpp:8:105: error: class ‘Player’ does not have any field named ‘Rotation’
src/player.cpp:8:124: error: class ‘Player’ does not have any field named ‘Pos’
src/player.cpp:8:214: error: no matching function for call to ‘Entity::Entity()’
include/entity.h:14:5: note: candidates are: Entity::Entity(Vector3, Vector3, Vector3)
include/entity.h:8:1: note: Entity::Entity(const Entity&)
make: *** [src/player.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment