Author Topic: Fatal error - compilation terminated  (Read 5451 times)

0 Members and 1 Guest are viewing this topic.

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Fatal error - compilation terminated
« on: August 04, 2018, 09:34:24 am »
Good Morning all - I recently downloaded QB64 version 1.2 Revision 20180202/85. Has been working fine for the past month but this morning received the following error message : " gtt:fatal error: -fuse-linker-plugin, but liblto_plugin-O.dll not found compilation terminated". I'm not sure where to go with this info. I have tried to review my coding but can't see anything obvious there. Any ideas on what went wrong and how I can fix it. Thanks

FellippeHeitor

  • Guest
Re: Fatal error - compilation terminated
« Reply #1 on: August 04, 2018, 09:47:41 am »
Please inform your operating system, whether you downloaded the development or stable build, and if you can share the faulty code. Also: do other programs compile? If not, did you install/uninstall something recently?

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Fatal error - compilation terminated
« Reply #2 on: August 04, 2018, 11:22:24 am »
Hello FellippeHeitor - my desktop computer is running intel i3 with 8 GB ram, it is a 64 bit operating system with Windows 10 Home. I can't see an error code. There is message at the bottom saying "c++ Compilation failed (check .\internal\Temp\compilelog.Txt) and my previous post relayed what I found in that compilelog. As for install/uninstall recently - yes, i installed winrar and then uninstalled that program. I believe I did download the "stable build" for 32 bit. And Yes, all the programs I have written in past are giving me the same compilation error.

FellippeHeitor

  • Guest
Re: Fatal error - compilation terminated
« Reply #3 on: August 04, 2018, 12:23:09 pm »
Please try the development build and let us know if it works.

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Fatal error - compilation terminated
« Reply #4 on: August 04, 2018, 01:46:07 pm »
I'm having difficulty with just downloading the development build. I've once again installed Winrar to handle the win.z7 but for some reason I can't seem to get the qb64.exe to run. Likely it's something I'm doing wrong. FellippeHeitor, I have decided to remove all the new stuff and fall back to version 1.1 which is working just fine and get back to the program coding I'm presently working on. I did start it using 1.1 so will finish it using 1.1. After that maybe I'll try version 1.2 . Nothing like a good "fatal error" to get you sidetracked. I appreciate the time you have taking today for me but let's abandon the problem and go for a beer. My new motto is "Lets do the easy things twice with a beer"

FellippeHeitor

  • Guest
Re: Fatal error - compilation terminated
« Reply #5 on: August 04, 2018, 04:02:58 pm »
OK.

FellippeHeitor

  • Guest
Re: Fatal error - compilation terminated
« Reply #6 on: August 04, 2018, 04:09:12 pm »
For everyone else not yet having a beer but still using WinRAR to handle .7z: use 7zip instead.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Fatal error - compilation terminated
« Reply #7 on: August 04, 2018, 04:11:26 pm »
https://stackoverflow.com/questions/20658065/g-fatal-error-fuse-linker-plugin-but-liblto-plugin-0-dll-not-found

I'm wondering if removing winrar altered the system Path, making it so the dll wasn't found.  You might check paths just to make certain everything is pointing to where it should be so the compiler can link to them properly.

EDIT: You might also try the remove_all_precompiled_libraries.bat in the QB64/internal/c folder (whatever it's called exactly) and see what happens after, as well.  It might help.
« Last Edit: August 04, 2018, 04:14:31 pm by SMcNeill »
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: Fatal error - compilation terminated
« Reply #8 on: August 04, 2018, 09:09:02 pm »
Amazing what a beer and good friends can do - also I missed the color of version 1.2 - after uninstalling, I reinstalled using 7zip and I'm back in business. It is qb64 - 32 bit which running all my programs once again.

FellippeHeitor

  • Guest
Re: Fatal error - compilation terminated
« Reply #9 on: August 04, 2018, 10:02:49 pm »
❤️