The attached archive contains a set of solution and project files for Visual Studio 2012. However, it also changes three things about how the compile is done.
Firstly, the intermediate directories are changed from Release, Debug, x64\Release and x64\Debug to $(Platform)\$(Configuration); so, Win32\Release, x64\Debug, etc. This is done to normalise where stuff goes.
Secondly, the output files are stored in Dist\$(Platform)\$(Configuration). This makes it possible to perform batch builds of the project for multiple platforms (which is the situation I am in). Just "select everything" in the batch build screen and off you go.
Finally, the debug libraries no longer have a 'd' on the end of the name. The reason for this is that it makes it impossible to configure Visual Studio projects using FreeImage uniformly; the Debug configuration has to be configured separately to the Release configuration. Combine this with lots of other libraries, and it quickly becomes a complete mess. This allows other projects to use FreeImage more easily.
I should note that the project files attached are what you get if you load the 2008 solution in Visual Studio 2012 and then perform the changes listed above. If you want to retain the current naming structure, you don't need to do anything. I just thought that since I went through the trouble of making these projects, someone else might like them. :)
Anonymous
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
VS2012 solution and projects
Actually this doesn't build out of the box with FreeImage 3.16.0. There are errors in LibOpenJPEG. Comparing the vcxproj files (2008 vs. this one), it appears some files ("ClCompile Include") have changed. I've attached the updated project file.
Err... this is way out of date. The solution is missing projects, etc. Needs to be redone completely.
Thank you!
fixed in release 3.17.0 using VS2013 project files