MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029231Community[OCCT] OCCT:Configurationpublic2017-10-16 09:542019-07-19 11:38
Reportersolomin_s 
Assigned Toski 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformLinuxOSDebian 6.0OS Version64 bit
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
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
Attached Files

- Relationships

-  Notes
(0071512)
solomin_s (developer)
2017-10-16 10:05

The problem is a lot if arguments to be set for custom FREEIMAGE location (probably for other libraries too).
(0085785)
apn (administrator)
2019-07-19 11:38

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 View Revisions
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 View Revisions
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*


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker