1
General / SFML Book Project - Can't find the mistake
« on: October 13, 2014, 01:52:11 pm »
Hello SFML-dev community,
I'm currently programming the project from the SFML Game Developüment book.
Due to the fact that the shown code and their explanation don't match, i sometimes got errors, which i can normally fix without much effort. But this time i just can't fix it...
I finished the SceneNode tutorial and my Entity Class should be able to inherit SceneNode, but there are link-errors. If i delet the inheritation from the Entity Class there is no error...
Here's a link to the download of my project
http://www.file-upload.net/download-9677731/SFML-Book.7z.html
And Antivirus-Scan if you don't trust me^^
https://www.virustotal.com/de/file/42d757e041a40521a9a2f061aacad1c07ffba5d8e47f069adaf9ac0e117d8e18/analysis/1413200850/
Or if the Code of Entity and SceneNode is enaugh..
SceneNode.h
Entity.h
if you use the Project, my sfml-files are in D:\SFML-2.1x86
Hope you can help me...
Soziapath
I'm currently programming the project from the SFML Game Developüment book.
Due to the fact that the shown code and their explanation don't match, i sometimes got errors, which i can normally fix without much effort. But this time i just can't fix it...
I finished the SceneNode tutorial and my Entity Class should be able to inherit SceneNode, but there are link-errors. If i delet the inheritation from the Entity Class there is no error...
Here's a link to the download of my project
http://www.file-upload.net/download-9677731/SFML-Book.7z.html
And Antivirus-Scan if you don't trust me^^
https://www.virustotal.com/de/file/42d757e041a40521a9a2f061aacad1c07ffba5d8e47f069adaf9ac0e117d8e18/analysis/1413200850/
Or if the Code of Entity and SceneNode is enaugh..
SceneNode.h
(click to show/hide)
Entity.h
(click to show/hide)
if you use the Project, my sfml-files are in D:\SFML-2.1x86
Hope you can help me...
Soziapath