G ++: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll was not found

I'm starting mingw. Pls answer my question, some kind of expert. I performed the following processes:

  • I installed mingw-get-setup.exe for C ++ compiler
  • I also used Eclipse-cpp-europa-winter-win32 for C ++ IDE
  • I also used the following uer environment variables:
  • "<" install-directory ">" \ Bin;
  • "<" installation-directory ">" \ MSYS \ 1.0 \ Local \ hopper;
  • "<" install-directory ">" \ MSYS \ 1.0 \ Bin

But when I run my program, I have a "start failed" error. I created the program before running. I also got the following error in the console:

  • Build configuration Debug to verify project **
  • Internal Builder is used for assembly ** **
  • g ++ -otest.exe test.o
  • g ++: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll was not found
  • compilation is complete.
  • Build failed, build stopped
  • Time: 78 ms **.
+5
source share
2 answers

You must add C:\MinGW\bin;PATH manually to your environment variable. You can permanently add C:\MinGW\bin;to your PATH by following the instructions in the "Environment Settings" section of the MinGW Getting Started page .

The source is here .

0
source

PATH MinGW. MinGW ( IDE Falcon ++), - . MinGW PATH , .

0

All Articles