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: Adeel Asghar
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 by Martin Sjölund, 9 years ago

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)

comment:2 by Martin Sjölund, 9 years ago

Component: Code GenerationInstallation program
Owner: changed from Lennart Ochel to Adeel Asghar

comment:3 by Christoph <buchner@…>, 8 years ago

No reply from the OP - can this be closed? Also, milestone 9.x - will there even be a 9.x maintenance release?

comment:4 by Martin Sjölund, 8 years ago

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 by chris.allen94@…, 8 years ago

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 by Adrian Pop, 8 years ago

In OMEdit you can change the working directory in Tools->Options->General->Working Directory.

in reply to:  6 comment:7 by Francesco Casella, 7 years ago

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 by Francesco Casella, 7 years ago

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.