Author Topic: UNEXPECTED INTERNAL COMPILER ERROR!  (Read 3718 times)

0 Members and 1 Guest are viewing this topic.

Offline ravanzino

  • Newbie
  • Posts: 1
    • View Profile
UNEXPECTED INTERNAL COMPILER ERROR!
« on: June 23, 2020, 02:10:29 pm »
I have been using QB64 for quite a while.  I recently purchased a new computer using Windows 10 Home Version 1909 (OS Build 18363.900).   After unpacking the zip file for QB64 Version 1.4, moving the QB64 directory to c:\%homepath%, (e.g. c:\users\USERID) and launching the QB64.exe application, I got the following error message in a black window:

UNEXPECTED INTERNAL COMPILER ERROR!
Caused by (or after): 
Line 0:
Press any key to continue

RhoSigma also reported on this in the forum regarding QB64x32 on December 22, 2018, 11:45:56 AM

Today, I discovered that I could place the QB64 directory in other places and the application launches normally.  An older version (V.954) did not have this problem.

The following locations worked:
c:\%homepath%\MyDirectory
c:\MyDirectory

The following locations did not work:
c:\%homepath%
c:\Program Files (x86)

I am new to this forum.  Sorry, I could not reply to the original post.  Perhaps it is locked. 

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: UNEXPECTED INTERNAL COMPILER ERROR!
« Reply #1 on: June 23, 2020, 02:22:18 pm »
It's a Windows file permissions error.  Certain folders (as you found out for yourself), have different levels of file permissions to them.   Generally speaking, files don't create or save data in the Program Files directories (which is why there's the hidden AppData folder for that).  Placing QB64 in a different, non-protected, directory solves the problem.

If you absolutely must place it in those restricted directories, you'll need to run administrator access and manually change folder permissions for your QB64 folder -- but I really don't recommend going that route.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!