DiscussionsIssue archiveOCCT:Documentation

Archived issue #0023693

Build procedure for FreeImage leads to compilation errors

CommunityOCCT:Documentationclosed1 public note

Search issues

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").

Public activity

1 archived note

Participants are labeled by their role within this record.

01Commenter 2
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).