title: DevIL library files and dependencies
body: <p>Okay, here's the thing. I have all the IL files I need, namely</p>
  
  <pre><code>DevIL.dll
  DevIL.lib
  
  ILU.dll
  ILU.lib
  
  ILUT.dll
  ILUT.lib
  
  config.h
  config.h.in
  devil_cpp_wrapper.h
  devil_internal_exports.h
  il.h
  ilu.h
  ilu_region.h
  ilut.h
  ilut_config.h
  </code></pre>
  
  <p>My project directory looks like this, let's say my project's name is "Project1"</p>
  
  <pre><code>                 |-Debug---Project1.pdb
                   |
                   |            |---Debug---[loads of files]
                   |            |
                   |            |---Glut---[OpenGL files]
                   |            |
                   |            |---IL---[all the files mentioned above]
                   |-Project1---|
                   |            |---image.bmp
  Project Folder---|            |
                   |            |---[header and .cpp files I made in the project]
                   |            |
                   |            |---[files produced by Visual Studio]
                   |          
                   |-ipch---[unrelated stuff]
                   |
                   |-Project1.sln
                   |
                   |-[other files VS created]
  </code></pre>
  
  <p>I've put all the DevIL files in the IL folder, as mentioned, and I am sure I am using the unicode compatible versions of them, as I am using Unicode Character Set for the project. In my "Additional Dependencies" I have</p>
  
  <pre><code>ilut.lib; ilu.lib; DevIL.lib;
  </code></pre>
  
  <p>So, the dependencies are there, I know that's not the problem.</p>
  
  <p>After all that, I am still getting linker errors, mainly <code>LNK2019:unresolved external symbol__imp_</code> for all the IL functions.</p>
  
  <p>What am I missing? It looks to me like maybe something to do with the project properties or the files themselves...maybe I missed a file?</p>
  
  <p>EDIT: Here is the output messages</p>
  
  <pre><code>1&gt;------ Build started: Project: Final Year Project, Configuration: Debug Win32 ------
  1&gt;Build started 29/4/2011 12:46:04 pm.
  1&gt;InitializeBuildStatus:
  1&gt;  Touching "Debug\Final Year Project.unsuccessfulbuild".
  1&gt;ClCompile:
  1&gt;  Main.cpp
  1&gt;c:\users\xxxx\desktop\final year project 0.2\final year project\main.cpp(152): warning C4390: ';' : empty controlled statement found; is this the intent?
  1&gt;c:\users\xxxx\desktop\final year project 0.2\final year project\main.cpp(141): warning C4101: 'alpha' : unreferenced local variable
  1&gt;ManifestResourceCompile:
  1&gt;  All outputs are up-to-date.
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function "public: static void __cdecl Main::Init(int,char * *)" (?Init@Main@@SAXHPAPAD@Z)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilDeleteImages@8 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilGetData@0 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilConvertImage@8 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilGetInteger@4 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilLoadImage@4 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilBindImage@4 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;Main.obj : error LNK2019: unresolved external symbol __imp__ilGenImages@8 referenced in function "public: static void __cdecl Main::DisplayScene(void)" (?DisplayScene@Main@@SAXXZ)
  1&gt;C:\Users\xxxx\Desktop\Final Year Project 0.2\Debug\Final Year Project.exe : fatal error LNK1120: 8 unresolved externals
  1&gt;
  1&gt;Build FAILED.
  1&gt;
  1&gt;Time Elapsed 00:00:01.93
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>