Archived issue #0027737
Samples - Remove hardcoded paths to data folders in mfc samples
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)
launch mfc samples (e.g. Viewer3d and run texture example)
Public activity
12 archived notes
Participants are labeled by their role within this record.
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.
[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.
Dear kgv, could you please review CR27737.
I would expect the data being moved into CSF_OCCTDataPath instead of using weird paths starting from CSF_OCCTSamplesPath.
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.
[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.
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.
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.
Dear Andrey,
please take a look.
please take a look.
No remarks, please test (samples only!)
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.
[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.
Tested in scope of issue #0023551
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Related records