Jun 7, 2012 at 7:14am Jun 7, 2012 at 7:14am UTC
Does anyone know any good tutorials of c++ game development?
From very basics to more advanced stuff??
I have searched and searched, writing "C++ space invaders" and it comes up as cmd tutorials, I want to learn 2D games and then start learning 3D....
Any links or books would be really nice :D
Thanks
Jun 7, 2012 at 9:35am Jun 7, 2012 at 9:35am UTC
Thankyou very much... I found a SDL tutorial, i downloaded the library and i included them in the properties but when i compiled it says "cannot find SDL.dll"
I did everything the tutorial said...
Jun 7, 2012 at 10:16am Jun 7, 2012 at 10:16am UTC
Did you #include
it aswell?
Also can I see the code where you have included it and the error as it would help me to understand what exactly is going wrong.
Cheers
*RB*
EDIT- Could you also post the link to the tutorial please
Last edited on Jun 7, 2012 at 10:17am Jun 7, 2012 at 10:17am UTC
Jun 7, 2012 at 11:09am Jun 7, 2012 at 11:09am UTC
Where did you place the SDL.dll file? Are you sure it's the right place?
Jun 8, 2012 at 5:20am Jun 8, 2012 at 5:20am UTC
http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet2010e/index.php
I downloaded the folder and i placed in it c:/programfiles(x86)
I created a new empty project, went into properties, and linked all the lib and include to the correct ones like what the tutorial says, created new cpp and wrote
1 2 3 4 5 6 7 8 9 10
#include <SDL.h>
int main()
{
SDL_Init(SDL_INIT_EVERTHING);
SDL_Quit()
return 0;
}
I compiled and it said,
The program can't start because SDL.dll is missing from your computer.
Try reinstalling the program to fix this problem.
I also put SDL.dll into C:/Windows/System32
Last edited on Jun 8, 2012 at 5:47am Jun 8, 2012 at 5:47am UTC
Jun 8, 2012 at 9:19am Jun 8, 2012 at 9:19am UTC
if you have done everything the 'lazyfoo' tutorial said then i'm not 100% sure what's gone wrong...
Although one thing the tutorial states (at the very bottom of the page) is to:
Include it like this #include "SDL.h"
Whereas you have done it like this #include <SDL.h>
Doubt it will make a difference but try changing it and see if it does :)
*RB*