MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030521Community[OCCT] OCCT:Samplespublic2019-02-26 11:592019-07-19 19:22
ReporterBenjaminBihler 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.5.0Fixed in Version 
Summary0030521: OCCT Qt Samples Cannot Be Built With MSYS or MSYS2
DescriptionWhen using MinGW-w64 on Windows, it may be preferrable to use MSYS2 (https://www.msys2.org/ [^]) as a command line interpreter, because it feels like Unix and supports the MinGW-w64 toolchains very well.

However, building the Qt samples does not work with MSYS2. One of the main reasons is that the shell scripts are missing in the install folder. For example the folder samples/qt/Tutorial contains the scripts "env.sh", "custom.sh" and "make.sh". Script "env.sh" contains the line
source ${aSamplePath}/../../../env.sh" $*;
but this line will fail, since the respective "env.h" file in the install folder is not present. Yet, the batch file "env.bat" has been installed. Is this like that, because the installation has happened on a Windows system?

If it could be changed, that all .sh scripts are also installed on Windows systems, then MSYS2 could probably be used to build the samples which would bring a real benefit for MinGW-w64 users.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
(0082535)
kgv (developer)
2019-03-02 23:10

Existing .sh scripts within OCCT are not expected to be executed on Windows, even when bash interpretor is installed - so that you would need adopting them for Windows before usage.
(0082575)
BenjaminBihler (developer)
2019-03-04 12:20

I know. But perhaps only little adoption might suffice. If .sh scripts similar to the Linux target were installed and users want to use bash and minor additional adoptions were necessary for Windows, then could the users also do the adoption themselves?

- Issue History
Date Modified Username Field Change
2019-02-26 11:59 BenjaminBihler New Issue
2019-02-26 11:59 BenjaminBihler Assigned To => bugmaster
2019-03-02 23:10 kgv Note Added: 0082535
2019-03-04 12:20 BenjaminBihler Note Added: 0082575
2019-07-19 19:22 apn Target Version 7.4.0* => 7.5.0


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker