Recent Changes - Search:

Documentation

Help

Tutorials

RoadMap

Help Docs for wiki writers:

PmWiki

edit SideBar

VisualStudios6

Now we are going to add the lib and header files to our project

Open Visual studios 6 and create a new Win32 Application Project. Save it under the SDLProject folder that you have created. On the next window select empty project and click finished, then ok.

Select the Project->Setting menu
1) Click the C/C++ tab and change the Category pull down menu to Code Generation
2) Change the Use run-time library pull down menu to Debug Multithreaded DLL or Multithreaded DLL
3) Change the Category pull down menu to preprocessor
4) Add the following line in the Additional include directories do not include the quotes. "../SDL/include;../Epee Engine;../TinyXML"
5) Click the link tab
6) Change the Category pull down menu to Input
7) Add the additional line to the Additional library path do not include the quotes. "../SDL/lib/"

Now it is time to add the libraries to the Object/library modules text field
Add a space in front of the kernel32.lib
if you are using the Epee Engine version .35 or bellow but not the .331 opengl preview add the following line in front of kernel32.lib
make sure there is a space between kernel32.lib and the line

SDLmain.lib sdl.lib SDL_mixer.lib sdlgfx.lib SDL_image.lib SDL_ttf.lib

if you are using the Epee Engine version .331 opengl preview add the following line in front of kernel32.lib
make sure there is a space between kernel32.lib and the line

opengl32.lib glu32.lib SDLmain.lib sdl.lib SDL_mixer.lib SDL_image.lib SDL_ttf.lib

TinyXML can be added to you project in two ways eaher by adding the lib to your project or adding the source files to your project.
if you want to use the lib add tinyxml.lib after SDL_ttf.lib maker sure there is a space between kernel32.lib, tinyxml.lib, and SDL_ttf.lib

Now change the Settings pull down menu to Win32 Release go back and do steps 1-7

after that click ok

Now if you want to add tinyxml by add the sorce to you project follow the followng steps 1) Select Project->add to project->files andd add the following files tinystr.h tinyxml.h tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp

and then add EpeeEngine.cpp and EpeeEngine.h

now create a new cpp file add to you project and you are ready to write you code

Edit - History - Print - Recent Changes - Search
Page last modified on April 03, 2008, at 04:39 PM