Archived issue #0027737

Samples - Remove hardcoded paths to data folders in mfc samples

Open CASCADEOCCT:Samplesclosed12 public notes

Search issues

Description

There is problem in mfc samples with loaded shapes when exe files are located in /INSTALL_DIR/ARCH/VCVER/bin

Steps to reproduce

BUILD_MODULE_MfcSamples and INSTALL_SAMPLES ON during cmake configuration
launch mfc samples (e.g. Viewer3d and run texture example)

Public activity

12 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Aug 2 15:18:24 2016 +0300

    0027737: Remove hardcoded paths to data folders in mfc samples
    
    Define path to data folders using variable CSF_OCCTSamplesPath in mfc occt samples.
02Author
Dear kgv, could you please review CR27737.
03Commenter 3
I would expect the data being moved into CSF_OCCTDataPath instead of using weird paths starting from CSF_OCCTSamplesPath.
04Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: ski
Date: Fri Dec 9 11:38:28 2016 +0300

    0027737: Remove hardcoded paths to data folders in mfc samples
    
    Data shapes (used in samples) were moved into CSF_OCCTDataPath location.
05Commenter 5
Dear kgv,

Data shapes used in mfc samples were moved to CSF_OCCTDataPath (occt/data) directory. Environment variable CSF_OCCTDataPath is used to find shape.

Please, review.
06Commenter 3
Dear Andrey,

please take a look.
07Commenter 7
No remarks, please test (samples only!)
08Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: ski
Date: Fri Dec 9 11:38:28 2016 +0300

    0027737: Remove hardcoded paths to data folders in mfc samples
    
    Data shapes (used in samples) were moved into CSF_OCCTDataPath location.
09Commenter 9
Tested in scope of issue #0023551
10Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
11Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]
12Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]

Related records