Author Topic: "C++ Compilation failed (check ./internal/temp/compillog.txt" (via AV)  (Read 2794 times)

0 Members and 1 Guest are viewing this topic.

Offline xra7en

  • Seasoned Forum Regular
  • Posts: 284
    • View Profile
I have read the various post here regarding this issue, and none fit my issue, so (reluctantly) created another thread.

As noted in the title, I just installed IOBIT Malware Fighter (normally I don't use AV's, but getting crazy out there) - And sure enough, I get this error when compiling. It comes because the IMF detects files being used and exe's working on them. In this case runing qb64.exe fails since it has to be OK'd.  So I whitelisted the qb64 folder, yet it still comes up - the log
Quote
cc1plus.exe: fatal error: qbx.cpp: Permission denied
compilation terminated.

this should NOT fail since the folder is under the whitelisted QB64 folder. any suggestions for circumventing this?

System Win7
Laptop thinkpad w530, 32GB RAM,

I just like re-writing old DOS book games into modern QB64 code - weird hobby, I know!

Marked as best answer by xra7en on May 23, 2021, 08:16:14 am

Offline xra7en

  • Seasoned Forum Regular
  • Posts: 284
    • View Profile
OK solved this one...

for anyone using the same version (not free) of IMF do the following:

From the main screen, click on the SETTINGS under the "Anti-Ransomware Engine"

go to the "whitelist" (left column)
then add the cc1plus.exe which is located in:

%qb64 folder%\internal\c\c_compiler\libexec\gcc\x86_64-w64-mingw32\8.1.0

close qb64
Restart qb64

compile - Should work fine now.



I just like re-writing old DOS book games into modern QB64 code - weird hobby, I know!