Problem with sdl_image installation
Hello,
I have a problem with the installation of sdl_image.h. I am in the train learning the language C on the site from the zero and one asks me to install it and thus I install it
Code:
Quote:
------ Beginning of the generation: Project: testesdl, Configuration: Debug Win32 ------
Compilation in progress…
main.c
c:\program files\microsoft visual studio 9.0 \ vc \ include \ sdl_image.h (28): fatal C1083 error: Impossible to open the file include: “SDL.h”: No such file gold directory
The newspaper of generation was recorded with the site “file://c: \ Documents and Settings \ Compaq_Propriétaire \ My documents \ Visual Studio 2008 \ Projects \ testesdl \ testesdl \ Debug \ BuildLog.htm”
testesdl - 1 error (S), 0 warning (S)
========== Generation: 0 succeeded, 1 failed, 0 updated, 0 was ignored ==========
its is mistaken or to seek its goes in debugger in the place of going in the file include. how one makes for, under visual c++ 2008, to reprogram so that its will be seek.please suggest .
thank you
Re: Problem with sdl_image installation
Hello, according to the error message it is not sdl_image.h which it seeks but sdl.h (except if it is a directory).
to find the repertories of VC2008 you are the menus: tool/options…
- then on the left zone you click on + opposite “projects and solutions” to open it.
- you select repertories VC++
on the right you have the hierarchy of repertory per defect from the root of file VC++ for all kinds of files.
- in top on the right you select in the drop-down list “files include”
you have 2 solutions:
either you put your includes in one of these files
either you create a new file for SDL and you record its way in the list.
do not forget that for the connection it is necessary also that you give the access path to the sdl.bin
it is the heading “files libraries”
best is to make point towards 2 files:
… \ SDL \ include
… \ SDL \ lib
Re: Problem with sdl_image installation
that can also depend on the options which you chose during the creation of the project. by ex not of managed code.