View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024426 | Open CASCADE | OCCT:WOK | public | 2013-12-02 14:07 | 2013-12-19 14:00 |
Reporter | Assigned To | apn | |||
Priority | high | Severity | major | ||
Status | closed | Resolution | fixed | ||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0024426: CMake ignores 3rd party options; env.sh does not set "CASROOT" environment variable | ||||
Description | CMakeLists.txt which now placed in the root of occt contains following switchers for 3rd party: SET(USE_GL2PS OFF CACHE BOOL "whether use gl2ps product or not") SET(USE_FREEIMAGE OFF CACHE BOOL "whether use freeimage product or not") SET(USE_TBB OFF CACHE BOOL "whether use tbb product or not") SET(USE_OPENCL OFF CACHE BOOL "whether use OpenCL or not") but, generated CMakeList.txt for toolkits (e.g. for TKService: occt/adm/cmake/TKService/CMakeList.txt) contains "if" statement with "3RDPARTY_" prefix: if(3RDPARTY_USE_FREEIMAGE) list( APPEND TKService_USED_LIBS freeimage ) endif() Also the option "USE_OPENCL" is not checked anywhere, OpenCl always added to the library linking (check CMakeList.txt for TKOpenGl). Moreover after "make install" command copied "env.sh" script does not contain path setting for "CASROOT" environment variable. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0024331 | closed | CMake scripts improvements |
|
Dear ibs, please check the "env.sh" script carefully. For example: >> export CSF_XSMessage="SCRIPTROOT/res/XSMessage" points to strange location (SCRIPTROOT ?) >> export CSF_PluginDefaults="${aScriptPath}/res/StdResource" in the installation directory there is no "res" folder, all necessary folders are copied to the "src" directory Also i recommend adding interpreter line (#!/bin/bash) in the "env.sh" script |
|
dbv, thank for found bugs) corrected the 3rdparty variables added USE_OPENCL res folder is absent due to all the resources were moved to scr folder looking for setting of CASROOT variable |
|
dbv, >Moreover after "make install" command copied "env.sh" script does not contain path setting for "CASROOT" environment variable. after installing CASROOT variable should point to current folder and therefore it should be empty. or are some bugs there? |
|
dbv please review CR24426 branches of OCCT and WOK git |
|
dbv, please review the latest changes in CR24426 occt and wok git |
|
Removed "echo off" from shell script, other changes seems to be ok. Dear bugmaster, please check occt compilation with cmake on Windows and *nix stations. Patch for WOK from branch CR24426 should be applied. |
|
Fix has been integrated into master of occt-wok repository |
|
Please integrate CR24426 OCCT branch |
occt: master a0726e55 2013-12-16 14:05:20
Committer: apn Details Diff |
0024426: CMake ignores 3rd party options; env.sh does not set "CASROOT" environment variable unrelative changes: #!/bin/bash line was added to env.sh.in CMake: debug environment was removed for the time being; env.sh and env.bat templates were refactored possibility of using of redundant command line parameters were removed from env.sh & env.bat scripts tcl installation corrected; Removed "echo off" from shell script |
Affected Issues 0024426 |
|
mod - adm/templates/draw.bat | Diff File | ||
mod - adm/templates/draw.sh | Diff File | ||
mod - adm/templates/env.bat.in | Diff File | ||
mod - adm/templates/env.sh.in | Diff File | ||
mod - adm/templates/tcl.cmake | Diff File | ||
mod - CMakeLists.txt | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-02 14:07 |
|
New Issue | |
2013-12-02 14:07 |
|
Assigned To | => kgv |
2013-12-02 14:17 | kgv | Assigned To | kgv => ibs |
2013-12-02 14:17 | kgv | Status | new => assigned |
2013-12-02 14:40 |
|
Relationship added | related to 0024331 |
2013-12-02 16:58 |
|
Note Added: 0027033 | |
2013-12-03 10:51 |
|
Note Added: 0027039 | |
2013-12-03 11:01 |
|
Note Added: 0027040 | |
2013-12-03 11:29 |
|
Note Added: 0027041 | |
2013-12-03 11:29 |
|
Assigned To | ibs => dbv |
2013-12-03 11:29 |
|
Status | assigned => resolved |
2013-12-03 11:45 |
|
Assigned To | dbv => ibs |
2013-12-03 11:45 |
|
Status | resolved => assigned |
2013-12-03 13:47 |
|
Note Added: 0027048 | |
2013-12-03 13:47 |
|
Assigned To | ibs => dbv |
2013-12-03 13:47 |
|
Status | assigned => resolved |
2013-12-03 15:47 |
|
Note Added: 0027052 | |
2013-12-03 15:47 |
|
Assigned To | dbv => bugmaster |
2013-12-03 15:47 |
|
Status | resolved => reviewed |
2013-12-09 12:28 | bugmaster | Note Added: 0027129 | |
2013-12-09 12:28 | bugmaster | Status | reviewed => verified |
2013-12-09 12:28 | bugmaster | Resolution | open => fixed |
2013-12-09 12:28 | bugmaster | Assigned To | bugmaster => ibs |
2013-12-16 18:05 |
|
Note Added: 0027224 | |
2013-12-16 18:05 |
|
Assigned To | ibs => bugmaster |
2013-12-16 18:05 |
|
Status | verified => assigned |
2013-12-18 14:01 | apn | Changeset attached | => occt master a0726e55 |
2013-12-18 14:01 | apn | Assigned To | bugmaster => apn |
2013-12-18 14:01 | apn | Status | assigned => verified |
2013-12-19 13:50 | bugmaster | Status | verified => closed |
2013-12-19 14:00 | bugmaster | Fixed in Version | => 6.7.0 |