View Issue Details

IDProjectCategoryView StatusLast Update
0029231CommunityOCCT:Configurationpublic2023-08-01 15:09
Reportersolomin_s Assigned Toski 
PrioritynormalSeverityminor 
Status assignedResolutionopen 
PlatformLinuxOSDebian 6.0 
Product Version7.2.0 
Target VersionUnscheduled 
Summary0029231: Incorrect FRREIMAGE library detecting
DescriptionFor set up freeimage usage from custom location 4(!) parameters to be set is required:
3RDPARTY_FREEIMAGE_DIR - dir with freeimage
3RDPARTY_FREEIMAGE_INCLUDE_DIR - dir with freeimage includes
3RDPARTY_FREEIMAGE_LIBRARY_DIR_freeimage - dir with built freeimage
3RDPARTY_FREEIMAGE_LIBRARY_freeimage - path to library
* If I set 3RDPARTY_FREEIMAGE_DIR to freeimage sources, include dir cannot be found.
* 3RDPARTY_FREEIMAGE_LIBRARY_DIR_freeimage and 3RDPARTY_FREEIMAGE_LIBRARY_freeimage should be set for custom libfreeimage.so location.

First bullet seems to be correct because 3RDPARTY_FREEIMAGE_DIR - dir where freeimage installed (but as for me it can be made easily by cmake)

But second bullet seems to be a bug (a suppose one parameter is enougth for settings custom library location) (see adm/cmake/3rdparty_macro.cmake:44 [incorrect condition])
TagsNo tags attached.
Test case numberNot needed

Activities

solomin_s

2017-10-16 10:05

developer   ~0071512

The problem is a lot if arguments to be set for custom FREEIMAGE location (probably for other libraries too).

apn

2019-07-19 11:38

administrator   ~0085785

For successfull searching of 3rd party products it's enougth to define only directory with installed product (e.g. 3RDPARTY_FREEIMAGE_DIR). Other variables will be filled automatically. If checkbox "Advanced" is turned off there only 3RDPARTY_DIR, 3RDPARTY_DLL_DIR, 3RDPARTY_LIBRARY_DIR and 3RDPARTY_INCLUDE_DIR varibales will be displayed in CMake GUI interface.

I don't see what I can change here. Dear ski, could you please also check this issue.

Issue History

Date Modified Username Field Change
2017-10-16 09:54 solomin_s New Issue
2017-10-16 09:54 solomin_s Assigned To => bugmaster
2017-10-16 09:55 solomin_s Description Updated
2017-10-16 10:03 bugmaster Assigned To bugmaster => apn
2017-10-16 10:03 bugmaster Status new => assigned
2017-10-16 10:05 solomin_s Note Added: 0071512
2017-10-16 10:07 solomin_s Description Updated
2019-07-19 11:38 apn Note Added: 0085785
2019-07-19 11:38 apn Test case number => Not needed
2019-07-19 11:38 apn Assigned To apn => ski
2019-07-19 11:38 apn Target Version => 7.5.0
2020-09-11 15:40 utverdov Target Version 7.5.0 => 7.6.0
2021-09-20 11:10 kgv Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:09 dpasukhi Target Version 7.8.0 => Unscheduled