Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030308Community[OCCT] OCCT:Samplespublic2018-10-26 10:342019-07-19 18:59
Assigned Toapn 
PlatformLinuxOSDebian 6.0OS Version64 bit
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0030308: OCCT Qt Tutorial Sample Cannot Be Built on Linux
DescriptionThere are two problems when trying to build the Tutorial sample:

1. In my file .../bin/ the environment variables are set only condionally and the conditions are not true. If I comment out the lines

if [ "$1" == "d" ]; then
if [ "$2" == "64" ]; then

and the respective "fi" lines, then at least the environment variables are correctly set.

2. The file references the libraries freeimageplus, tbb and tbbmalloc which are not available here. Is this necessary?

After fixing both, the sample can be built.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
apn (administrator)
2018-12-15 21:30

OCCT Qt samples can be successfully built in Release and Debug modes.

Following conditions in
if [ "$1" == "d" ]; then
  if [ "$2" == "64" ]; then


if [ "$1" == "" ]; then
  if [ "$2" == "64" ]; then

give opportunity to build and run OCCT in both modes from the same directory (folders bin and bind).
So if OCCT was build in Release mode, just run OCCT_SAMPLES_DIR/qt/Tutorial/ (QTDIR should be defined).
For Debug version: " d" (and " d" to launch sample).
Paths to freeimageplus, tbb and tbbmalloc are defined in OCCT_DIR/bin/
BenjaminBihler (developer)
2019-01-07 12:03

Dear apn,

thank you. You are right with your first comment, adding "d" as argument solves the problem.

As for the second comment, I have seen the possibility to define the paths to freeimageplus, tbb and tbbmalloc. The problem is that the Tutorial sample on Unix systems is unconditionally linked to these libraries. But this is not necessary, the libraries seem to be not needed. If this impression is correct I would propose to remove this dependecy.


- Issue History
Date Modified Username Field Change
2018-10-26 10:34 BenjaminBihler New Issue
2018-10-26 10:34 BenjaminBihler Assigned To => bugmaster
2018-11-26 12:52 bugmaster Assigned To bugmaster => apn
2018-11-26 12:52 bugmaster Status new => feedback
2018-12-15 21:30 apn Note Added: 0081534
2019-01-07 12:03 BenjaminBihler Note Added: 0081684
2019-07-19 18:59 apn Target Version 7.4.0 => 7.5.0*

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker