I'm trying to configure my NetBeans on win7 64bit, to work with the MinGW-w64.
So I put in the %PATH% variable the following paths of the compiler:
C:mingw-w64-bin_i686mingwin
C:minGw-MSYSmsysin
C:mingw-w64-bin_i686libexecgccx86_64-w64-mingw324.7.0
Then I opened NetBeans and this was configured:
I tried to compile a little test program but I received this error:
g++.exe: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found compilation terminated. make[2]: * [dist/Debug/MinGW-Windows/test.exe] Error 1 make1: [.build-conf] Error 2 make: ** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
I do have this file in C:mingw-w64-bin_i686libexecgccx86_64-w64-mingw324.7.0
what am I missing?
See Question&Answers more detail:os