MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030308Community[OCCT] OCCT:Samplespublic2018-10-26 10:342018-12-15 21:30
ReporterBenjaminBihler 
Assigned Toapn 
PrioritynormalSeveritymajor 
StatusfeedbackResolutionopen 
PlatformLinuxOSDebian 6.0OS Version64 bit
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.4.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/custom_gcc_64.sh 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 Tutorial.pro 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
(0081534)
apn (administrator)
2018-12-15 21:30

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

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

OR

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/make.sh (QTDIR should be defined).
For Debug version: "make.sh d" (and "run.sh d" to launch sample).
Paths to freeimageplus, tbb and tbbmalloc are defined in OCCT_DIR/bin/custom_gcc_64.sh.

- 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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker