MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029341Open CASCADE[OCCT] OCCT:Configurationpublic2017-11-23 14:272017-11-23 14:52
Reporternbv 
Assigned Toapn 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformLinuxOSDebian 6.0OS Version64 bit
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029341: CASRROT variable defines badly while configure with CMAKE
DescriptionI build OCCT with CMAKE in Debug mode.

As result, the following fragment of "env.sh"-file is obtained:

aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; 
fi; aScriptPath="$PWD";

# ----- For compatability with external application using CASROOT -----
if [ "${CASROOT}" == "" ]; then
  export CASROOT="/usr/local"
fi

...


As result, CASRROT variable is not defined correctly. Therefore, launching DRAW is impossible.


P.S.

On Windows-platform, all is OK.
TagsNo tags attached.
Test case number
Attached Files? file icon env.sh (4,294 bytes) 2017-11-23 14:51

- Relationships

-  Notes
(0072442)
bugmaster (administrator)
2017-11-23 14:31

Andrey,

Please discuss with NBV what option he define during CMake configuration
(0072444)
nbv (developer)
2017-11-23 14:52

Example of corrected file "env.sh" is attached. With these changes, all works fine.

- Issue History
Date Modified Username Field Change
2017-11-23 14:27 nbv New Issue
2017-11-23 14:27 nbv Assigned To => bugmaster
2017-11-23 14:31 bugmaster Note Added: 0072442
2017-11-23 14:31 bugmaster Assigned To bugmaster => apn
2017-11-23 14:31 bugmaster Status new => assigned
2017-11-23 14:51 nbv File Added: env.sh
2017-11-23 14:52 nbv Note Added: 0072444


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker