| | |
Using devil -- a image lib
![]() |
I tried to install the devil library but I am getting some
errors. Here are the steps that I am taking to install it :
Am I doing this correctly
Even if I don't use ilu or ilut, I need ilu, and it does not give me an linking error, but when I try to load an image
with ilLoadImage(L"starts.bmp") it return false. Even if I try absolute path like
ilLoadImage("C:...\project\loadimgwithlib\start.bmp") it won't work.
Anyone have it working with visual studio 2008 and with openGL?
errors. Here are the steps that I am taking to install it :
Let me see if I did this correctly : Steps : 1) download DevIL 1.7.8 for windows 32 bit 2) extract the info to c:\devil folder 3) open visual studio 2008 tool->options. 4) goto VC++ Directories 5) change the options to show Include Files 6) Add file directory -- C:\devil\Include 7) change the option to show Library Files 8) Add file directory -- c:\devil\Lib (note) there is a unicode folder inside of Lib folder 9) Click Ok 10) click alt-F7 for project options 11) goto c++ tab and under Addition Include Directory add C:\devil\Include (not sure if thats needed) 12) under c++ tab--code generation--make sure Runtime library is on multi-thread debug dll(/MDd) 13) click ok. Then on my program add some or all header : #include<IL/il.h> #include<IL\ilu.h> #include<IL\ilut.h> from this in my functions ilInit() works, but iluInit() causes a linking error, as well as ilutInit().
Even if I don't use ilu or ilut, I need ilu, and it does not give me an linking error, but when I try to load an image
with ilLoadImage(L"starts.bmp") it return false. Even if I try absolute path like
ilLoadImage("C:...\project\loadimgwithlib\start.bmp") it won't work.
Anyone have it working with visual studio 2008 and with openGL?
Last edited by firstPerson; Jul 20th, 2009 at 11:02 pm.
•
•
Join Date: Nov 2008
Posts: 33
Reputation:
Solved Threads: 2
•
•
•
•
I tried to install the devil library but I am getting some
errors. Here are the steps that I am taking to install it :
Am I doing this correctlyLet me see if I did this correctly : Steps : 1) download DevIL 1.7.8 for windows 32 bit 2) extract the info to c:\devil folder 3) open visual studio 2008 tool->options. 4) goto VC++ Directories 5) change the options to show Include Files 6) Add file directory -- C:\devil\Include 7) change the option to show Library Files 8) Add file directory -- c:\devil\Lib (note) there is a unicode folder inside of Lib folder 9) Click Ok 10) click alt-F7 for project options 11) goto c++ tab and under Addition Include Directory add C:\devil\Include (not sure if thats needed) 12) under c++ tab--code generation--make sure Runtime library is on multi-thread debug dll(/MDd) 13) click ok. Then on my program add some or all header : #include<IL/il.h> #include<IL\ilu.h> #include<IL\ilut.h> from this in my functions ilInit() works, but iluInit() causes a linking error, as well as ilutInit().
Even if I don't use ilu or ilut, I need ilu, and it does not give me an linking error, but when I try to load an image
with ilLoadImage(L"starts.bmp") it return false. Even if I try absolute path like
ilLoadImage("C:...\project\loadimgwithlib\start.bmp") it won't work.
Anyone have it working with visual studio 2008 and with openGL?
#include<IL\ilu.h>
#include<IL\ilut.h>
to:
#include<IL/ilu.h>
#include<IL/ilut.h>
![]() |
Similar Threads
- About image mirroring using php (PHP)
- video thumbnail (ASP.NET)
- displaying an image file (C)
- Image.composite() errors (Python)
- blocking direct image access (Site Layout and Usability)
- Paste a image into another (Python)
- Hijack This log for Buffer Overrun error.. (Viruses, Spyware and other Nasties)
- Image functions in php (PHP)
- How to change dpi of image from 72 to 300 ? (PHP)
- GD lib using PHP (PHP)
Other Threads in the Game Development Forum
- Previous Thread: Good DirectX 9 Networking Tutorial
- Next Thread: Making shadow in openGL
| Thread Tools | Search this Thread |
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamer games gaming gauntanamo government idaho in-gameadvertisement intellectualproperty laracroft live manhunt math mathematics matrix mercenaries microsoft mmorpg modded msn naked news nintendo obama opengl palin physics pirate playstation politics projection ps3 rpg search selection software sony stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox-live xbox360






