View Issue Details

IDProjectCategoryView StatusLast Update
0023692CommunityOCCT:Documentationpublic2014-06-23 13:44
ReporterHugues Delorme Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2010 
Product Version6.5.4 
Summary0023692: Build procedure for FreeType leads to compilation errors
DescriptionBuild procedure of FreeType doc/OCCT_Build3rdParty_Windows_V2.pdf (ยง2.2) has two problems :
  * Setting the calling convention to "__fastcall(/Gr)" causes strange compilation errors like :
...\freetype-2.4.11\src\bdf\bdflib.c(1544): error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
   In <stdlib.h> calling convention of qsort() is explicitely __cdecl

  * It's possible to build with calling convention set to __cdecl but there is no import library generated
  Applying this solves the problem :
http://stackoverflow.com/questions/6207176/compiling-freetype-to-dll-as-opposed-to-static-library
TagsNo tags attached.
Test case number

Relationships

related to 0024630 closedibs Open CASCADE Support building with Freetype 2.5.1+ 

Activities

omy

2014-04-16 18:44

developer   ~0028902

Now (Freetype-2.5.1+) solution file can be generate using CMake.
I haven't got any problems compiling Freetype-2.5.x using CMake on different platforms.

kgv

2014-06-20 14:57

developer   ~0029853

Dear bugmaster,

please close the issue.
The lines mentioned in bug description are not presented in current version of the document.

Issue History

Date Modified Username Field Change
2013-01-09 17:43 Hugues Delorme New Issue
2013-01-09 17:43 Hugues Delorme Assigned To => atp
2013-09-19 12:41 atp Assigned To atp => inv
2014-01-13 11:17 bugmaster Category OCCT Release:DOC => OCCT:Documentation
2014-02-17 11:59 abv Relationship added related to 0024630
2014-04-16 18:44 omy Note Added: 0028902
2014-06-20 14:57 kgv Note Added: 0029853
2014-06-20 14:57 kgv Assigned To inv => bugmaster
2014-06-20 14:57 kgv Status new => feedback
2014-06-20 14:57 kgv Resolution open => no change required
2014-06-23 13:44 bugmaster Status feedback => closed