Configuring libjpeg in Visual Studio 2010

I want to configure libjpeg in VS10. I found this guide http://www.leptonica.org/vs2008doc/building-image-libraries.html and downloaded the library archive from the same site. The problem is that the manual mentions the jpeg.sln file, but this file is not in the downloaded archive. I would be happy if someone can help me.

+5
source share
2 answers

Is there a jpeg.prj in the package?

Typically, opening (double-clicking) a .prj file automatically creates a .sln file if one of them with the same base name is not already present in this folder.

If this does not happen, do what @HansPassant suggested: Run nmake -f makefile.vc setup-v10to create the jpeg.sln file.

. NMAKE exec. , > All Programs > Microsoft Visual Studio 10 > Visual Studio Tools > Visual Studio Command Prompt (2010), .

. jpeg.sln ( , jpeg.vcxproj ..)

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jpeg", "jpeg.vcxproj", "{019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}"
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Release|Win32 = Release|Win32
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}.Release|Win32.ActiveCfg = Release|Win32
        {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}.Release|Win32.Build.0 = Release|Win32
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal
+6

, BMP? , BMP JPEG JPEG ( http://dlib.net/image_ex.cpp.html.)

JPEG, OpenCV . JPG OpenCV Dlib,

cv_image img (your_opencv_image);

( http://sourceforge.net/p/dclib/discussion/442518/thread/6ef452cc/)

0

All Articles