eelkef / vifit

Automatically exported from code.google.com/p/vifit
0 stars 0 forks source link

Trouble building game #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm having trouble trying to build this game.  I downloaded all the SDL 
mixer stuff and put all the header files in with the other ones but I 
can't remember what Tony said to do about adding them in.  Also I don't 
know what to do with the WDK download.  

The latest error I got was:
Error 1 fatal error C1083: Cannot open include file: 'sal_supp.h': No such 
file or directory   

I'm not sure where this is or if I still need to download it.  Any help 
would be great.

Original issue reported on code.google.com by airon23b...@gmail.com on 1 Feb 2010 at 4:40

GoogleCodeExporter commented 9 years ago
Looks like the winddk is not installed correctly.  you should have downloaded 
an ISO
of the winddk.  You can either burn it to dvd and install, or mount as a virtual
drive or extract with winrar.  The file i downloaded was GRMWDK_EN_7600.iso

Original comment by anthony....@gmail.com on 1 Feb 2010 at 4:56

GoogleCodeExporter commented 9 years ago
actually i think the winddk is a cd, not dvd

Original comment by anthony....@gmail.com on 1 Feb 2010 at 4:57

GoogleCodeExporter commented 9 years ago
right, ok so I downloaded the iso and extracted everything that was in the WDK 
directory (which was a ton of stuff and I'm not sure if I was supposed to or 
not).  
I see a bunch of installer files but I'm not sure which one(s) to install.  any 
thoughts?  maybe from this we can make a wiki.

Original comment by airon23b...@gmail.com on 1 Feb 2010 at 5:16

GoogleCodeExporter commented 9 years ago
After looking at the autorun file it looks like it runs KitSetup.exe so thats 
what I 
ran.  
It took a while and when it finished I tried to build the game but I kept 
getting 
the messages like it couldn't find those certain .h files.  I'm not sure if I'm 
out 
of the woods on this yet but I just modified those unrecognized .h files to 
specify 
their paths (i.e. "C:\WinDDK\7600.16385.0\inc\api\sal_supp.h") and it doesn't 
give 
me those errors anymore.

Now the fatal error I'm getting is this: cannot open file 'SDL_mixer.lib'.  
Tony I 
can't remember where you said these SDL and SDL_mixer stuff had to go, can you 
jog 
my memory?

Original comment by airon23b...@gmail.com on 2 Feb 2010 at 4:04

GoogleCodeExporter commented 9 years ago
Try the following:

Project->VITennis1.0 Properties
Configuration Properties->C/C++->General
Additional Include Directories ->Add the 2 sdl directories 
SDL_mixer-1.2.11\include
and SDL-1.2.12\include

Project->VITennis1.0 Properties
Configuration Properties->Linker->Input
Additional Dependencies -> Add winmm.lib and SDL_mixer.lib

See how that works...

Original comment by anthony....@gmail.com on 4 Feb 2010 at 2:19