Archived issue #0023693
Build procedure for FreeImage leads to compilation errors
Description
Note : I use Visual C++ 2010 express edition SP1
FreeImage v3.15.3 (but this should apply also to v3.14.1)
First conversion of solution files (to vc2010) does not work with FreeImage.2008.sln and FreeImage.2005.sln. Only FreeImage.2003.sln worked.
Second compilation fails with some .rc fails because of missing "afxres.h" (not part of VC++ express ed). Simply removing inclusions of this header solves the problem.
Thanks to http://sourceforge.net/p/freeimage/discussion/36111/thread/d20abbfe#b122 I was able to finally compile FreeImage (by replacing "LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US" with "LANGUAGE 9, 2").
FreeImage v3.15.3 (but this should apply also to v3.14.1)
First conversion of solution files (to vc2010) does not work with FreeImage.2008.sln and FreeImage.2005.sln. Only FreeImage.2003.sln worked.
Second compilation fails with some .rc fails because of missing "afxres.h" (not part of VC++ express ed). Simply removing inclusions of this header solves the problem.
Thanks to http://sourceforge.net/p/freeimage/discussion/36111/thread/d20abbfe#b122 I was able to finally compile FreeImage (by replacing "LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US" with "LANGUAGE 9, 2").
Public activity
1 archived note
Participants are labeled by their role within this record.
Dear Commenter 1,
please consider closing the issue.
It would be better to report building issues to appropriate project (FreeImage), rather than documenting workarounds for each issue in another project (OCCT).
please consider closing the issue.
It would be better to report building issues to appropriate project (FreeImage), rather than documenting workarounds for each issue in another project (OCCT).