Opened 9 years ago
Closed 7 years ago
#3769 closed defect (wontfix)
Problem with GCC compiler on Windows 10 - OpenModelica 1.9.4 final rel
Reported by: | alfredo.garro@… | Owned by: | adeas31 |
---|---|---|---|
Priority: | high | Milestone: | 1.9.x |
Component: | Installation program | Version: | v1.9.4-v1.9.x |
Keywords: | Cc: | chris.allen94@… |
Description
I have just installed the OpenModelica 1.9.4 final release on MS Windows 10 Pro.
I got a problem with the gcc compiler during the code generation process (Error message: "This program is blocked by group policy") that I solved by deleting the following KEY from the Windows Registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\safer\codeidentifiers\0
Change History (8)
comment:1 Changed 9 years ago by sjoelund.se
comment:2 Changed 9 years ago by sjoelund.se
- Component changed from Code Generation to Installation program
- Owner changed from lochel to adeas31
comment:3 Changed 8 years ago by Christoph <buchner@…>
No reply from the OP - can this be closed? Also, milestone 9.x - will there even be a 9.x maintenance release?
comment:4 Changed 8 years ago by sjoelund.se
There have been several 1.9.x maintenance releases (1.9.5 and 1.9.6 are maintenance releases for 1.9.4)
comment:5 Changed 8 years ago by chris.allen94@…
I am having the same problem. I tried the fix described above without success.
My system administrator tells me we have a windows software restriction policy that prohibits .exe, .bat, and other common executable files from executing in the %Localappdata%, %Localappdata%\Temp, and sub directories.
Please advise on the specific path rule required to allow this program to run as an exception to the SRPs, OR advise on how to change the “working directory” to a different (and not-software-restricted) directory for the program.
If other local configuration is required to run this program successfully, please advise as well. Thank you.
comment:6 follow-up: ↓ 7 Changed 8 years ago by adrpo
In OMEdit you can change the working directory in Tools->Options->General->Working Directory.
comment:7 in reply to: ↑ 6 Changed 7 years ago by casella
- Cc chris.allen94@… added
Replying to adrpo:
In OMEdit you can change the working directory in Tools->Options->General->Working Directory.
chris.allen94@…, did this work for you?
comment:8 Changed 7 years ago by casella
- Resolution set to wontfix
- Status changed from new to closed
I don't see any reason to address this problem in a maintenance release of 1.9.x, so I am moving this issue to #4504 and closing this ticket.
Are you connected to any sort of AD domain? (That could enforce some policies that your AD admin set; like for example, do not run gcc.exe)