Code :
- yo@yo-laptop:~/Downloads/Mécanique Céleste$ make
- In file included from fonctions.h:4,
- from objet.cpp:1:
- objet.h:15: error: ‘Point’ does not name a type
- objet.h:16: error: ‘Vecteur’ does not name a type
- objet.h:19: error: ‘Vecteur’ does not name a type
- objet.h:20: error: ‘Vecteur’ does not name a type
- objet.h:23: error: ISO C++ forbids declaration of ‘Point’ with no type
- objet.h:23: error: expected ‘,’ or ‘...’ before ‘&’ token
- objet.h:25: error: ISO C++ forbids declaration of ‘Point’ with no type
- objet.h:25: error: expected ‘,’ or ‘...’ before ‘&’ token
- objet.h:26: error: ISO C++ forbids declaration of ‘Vecteur’ with no type
- objet.h:26: error: expected ‘,’ or ‘...’ before ‘&’ token
- objet.h:29: error: ‘Vecteur’ has not been declared
- objet.h:30: error: ‘Vecteur’ has not been declared
- objet.h:32: error: ‘Point’ does not name a type
- objet.h:33: error: ‘Vecteur’ does not name a type
- objet.cpp: In constructor ‘objetr::objetr()’:
- objet.cpp:16: error: ‘P’ was not declared in this scope
- objet.cpp: At global scope:
- objet.cpp:21: error: prototype for ‘objetr::objetr(const Point&, const Vecteur&, const double& )’ does not match any in class ‘objetr’
- objet.h:24: error: candidates are: objetr::objetr(const objetr& )
- objet.h:23: error: objetr::objetr(int)
- objet.cpp:13: error: objetr::objetr()
- objet.cpp: In copy constructor ‘objetr::objetr(const objetr& )’:
- objet.cpp:30: error: ‘P’ was not declared in this scope
- objet.cpp:30: error: ‘const class objetr’ has no member named ‘P’
- objet.cpp:31: error: ‘V’ was not declared in this scope
- objet.cpp:31: error: ‘const class objetr’ has no member named ‘V’
- objet.cpp: At global scope:
- objet.cpp:35: error: prototype for ‘void objetr::position(const Point& )’ does not match any in class ‘objetr’
- objet.h:25: error: candidate is: void objetr::position(int)
- objet.cpp:40: error: prototype for ‘void objetr::vitesse(const Vecteur& )’ does not match any in class ‘objetr’
- objet.h:26: error: candidate is: void objetr::vitesse(int)
- objet.cpp:55: error: no ‘Point objetr::Position()’ member function declared in class ‘objetr’
- objet.cpp:65: error: prototype for ‘void objetr::VecteurForce(Vecteur)’ does not match any in class ‘objetr’
- objet.h:29: error: candidate is: void objetr::VecteurForce(int)
- objet.cpp:74: error: prototype for ‘void objetr::VecteurAcceleration(Vecteur)’ does not match any in class ‘objetr’
- objet.h:30: error: candidate is: void objetr::VecteurAcceleration(int)
- objet.cpp:79: error: no ‘Vecteur objetr::getForce()’ member function declared in class ‘objetr’
- objet.cpp: In member function ‘void objetr::RK1(double, int, int, objetr*, const int& )’:
- objet.cpp:122: error: ‘acceleration’ was not declared in this scope
- objet.cpp:123: error: ‘V’ was not declared in this scope
- objet.cpp:124: error: ‘P’ was not declared in this scope
- make: *** [objet.o] Error 1
|