View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0024371 | Community | OCCT:Coding | public | 2013-11-17 19:51 | 2013-11-27 09:41 |
| Reporter | mach22 | Assigned To | mach22 | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | Windows 8 | ||
| Product Version | 6.7.0 | ||||
| Summary | 0024371: Enviroment variables not set by setup nor by the env.bat | ||||
| Description | I have executed the setup of the 6.7.0 package but it has not set the environment variables (I'm using Windows 8) so when I try to build the CSharp sample it doesn't found the right files. I have tried to run the env.bat but it doesn't set nothing. I have tried to use the instruction setx CSF_GraphicShr "TKOpenGl.dll" instead of set "CSF_GraphicShr=TKOpenGl.dll" and it works. I have changed some of the variables in the env.bat but I'd wanted to know which are the Environemnt variables to set and which are only local variables. Could you add the setting of the environment variables in the setup and change the instruction set with setx used in the scripts so it could work even with windows 8? | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
I have responded in thread http://dev.opencascade.org/index.php?q=node/897: We have checked on our side and installer seems to work well out of the box on Windows 8. It is likely that you have not configured your environment properly. Please check that version of Visual Studio (VCVER) and bitness (ARCH) set in the file custom.bat in opencascade-6.7.0 folder correspoond to what you are using. Then run msvc.bat located in sample directory to open Visual Studio with all environment set. Also please note that OCCT installer includes only Release binaries; if you want to build sample in Debug mode you should first build OCCT in Debug (see this thread). If this does not help, please describe in details your actions and what you obtain. Please note that neither installer nor env.bat are made to modify global environment settings on your computer. Changing global environment can have adverse effect if you have more than one instance of OCCT (or applications including it) installed on your system. Hence this is avoided; batch scripts that set up environment only for a given session are used instead. Naturally you can use different approach in your application / system, but please consider possible drawbacks before modifying global environment. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-11-17 19:51 | mach22 | New Issue | |
| 2013-11-17 19:51 | mach22 | Assigned To | => bugmaster |
| 2013-11-19 19:20 |
|
Note Added: 0026773 | |
| 2013-11-19 19:20 |
|
Assigned To | bugmaster => mach22 |
| 2013-11-19 19:20 |
|
Status | new => feedback |
| 2013-11-19 19:21 |
|
Product Version | 6.6.0 => 6.7.0 |
| 2013-11-27 02:51 | mach22 | Status | feedback => resolved |
| 2013-11-27 09:41 |
|
Status | resolved => closed |
| 2013-11-27 09:41 |
|
Resolution | open => no change required |
| 2014-01-11 11:58 |
|
Category | OCCT Release:BUILD => OCCT:Coding |