About
News Download SourceForge Home Documentation Tutorials Logos Links Projects Contact Us |
Tutorial 1: Setting up DevIL in MSVC++ Last Revised: 9:24 PM 07/31/2001
DevIL setup for Windows is fairly straightforward. Of course you need to unzip DevIL into an empty directory. All files in the DevIL source zip are in the /ImageLib directory, so make sure "Use folder names" is checked if unzipping with WinZip. After DevIL is unzipped, double-click on the ImageLib.dsw file to load the workspace in MSVC++. Directories ![]() Directory Settings Dialog in MSVC++ ![]() Directory Settings Dialog in MSVC++ Post-Build If your Windows system directory is C:/Windows/System, you can skip this section. Go to the Project - Settings menu, then click on the Post-build step tab. Click on the DevIL project in the left pane. In the right pane, it will say something similar to: copy "../bin/DevIL.dll" c:/windows/system Change the c:/windows/system part to reflect your Windows/System directory. Perform this step for ilu and ilut, and make sure to do it for both the release and debug builds. To switch between debug and release, change the value in the drop-down box next to Settings for: to whatever build you need to edit. Click the OK button when you are finished. DevIL is now ready to compile. To compile a certain project in the DevIL workspace, right-click on its name and choose Set as Active Project. Most projects have dependencies on DevIL, so when you compile these projects, they automatically compile the needed DevIL files. Usage ![]() Project Debug Settings Dialog in MSVC++ |