Sign in to follow this  

DevIL Library

This topic is 3123 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, im stuck at the lesson 6 with DevIL library, i linked the dll to my project but when i do the include
#include <IL\il.h>
it says that it cant find the library. i copied the dlls to my windows\system folder, but still no luck somebody know how to use DevIL in microsoft windows with VS2008? any help will be apreciated. TIA

Share this post


Link to post
Share on other sites
I think you need to download the Windows SDK version from here: http://openil.sourceforge.net/download.php and link to the *.lib files.

I can't test atm coz I don't have access to Windows/VC++ :)

Share this post


Link to post
Share on other sites
The SDK is just a zip containing the link time libraries and headers, you'd still have to add the proper paths to those in Visual Studio (Tools->Options->Projects And Solutions->VC++ Directories->Show Directories for: Include files / Library Files).

If you had already done that, then I would use


#include "IL/il.h"


instead of


#include <IL\il.h>


For two reasons, first the <> are used for system headers, which il.h is not and second, because \ is Windows specific and thus, not portable.

Share this post


Link to post
Share on other sites
tnx both of you.
it worked!!!!
i didnt have the lib files, so i needed to download them
tnx Kazade for the link
also i didn have the paths configured
so i followed the Kwizatz instructions and worked;
again, tnx both

Share this post


Link to post
Share on other sites

This topic is 3123 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this