MinGW/bin is still in my path and I have even added C:\Data\MinGW\libexec\gcc\mingw32\3.4.5;
C:\data\MinGW\include;
C:\data\MinGW\lib\gcc\mingw32\3.4.5\include;
Most of the .h are indeed in the MinGW distribution (I blame Vista's search function for not finding them before).But, alas, even when adding the paths to the .h-files. I keep getting the same errors. Is there perhaps some config-file in MinGW that I need to adjust and point to these folders?
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [d/l] [select] |
There are some Vista-specific issues with relation to MinGW. The solution involves installing patched versions of gcc.exe and g++.exe. Grab http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz and unpack it in your MinGW root folder (ie Data/MinGW). It should install the patched files in all the right places.
The fact that you found it necessary to add libexec\gcc\mingw32\3.4.5 to the path is consistent with this "Vista-specific" issue ... as also is the inability to locate the header files.
However, if you were running perl 5.8 on Vista against this same version of MinGW, then you should have struck exactly the same problem ... but you didn't. (I'm guessing you *weren't* running 5.8 on Vista using the same version of MinGW).
Having installed the patched files you can then remove those 3 folders that you quoted from the path.
Cheers, Rob
| [reply] |
| [reply] |