<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1426451892208_2358">Hi guys,<br style="" class="">sorry to disturb you.<br style="" class="">Based on instructions I saw here:<br style="" class="">http://flashrom.org/Windows<br style="" class="">I installed MinGW32 on my Windows XP machine in order to try to compile the latest flashrom release which I need.<br style="" class="">Sadly I'm unable to compile anything because I get the errors as follow:<br style="" class=""><br style="" class="">**************************************************************************************<br style="" class="">$ make<br style="" class="">Files don't seem to be under version control. Replacing all version templates wi<br style="" class="">th 0.9.8-r1888.<br style="" class="">Package libftdi was not found in the pkg-config search path.<br style="" class="">Perhaps you should add the directory containing `libftdi.pc'<br style="" class="">to the PKG_CONFIG_PATH environment variable<br style="" class="">No package 'libftdi' found<br style="" class="">Package libusb was not found in the pkg-config search path.<br style="" class="">Perhaps you should add the directory containing `libusb.pc'<br style="" class="">to the PKG_CONFIG_PATH environment variable<br style="" class="">No package 'libusb' found<br style="" class="">Checking for a C compiler... found.<br style="" class="">Target arch is x86<br style="" class="">Target OS is MinGW<br style="" class="">Checking for libusb-0.1/libusb-compat headers... .test.c:3:23: fatal error: lusb<br style="" class="">0_usb.h: No such file or directory<br style="" class=""> #include <lusb0_usb.h><br style="" class="">                       ^<br style="" class="">compilation terminated.<br style="" class="">not found.<br style="" class=""><br style="" class="">Please install libusb-0.1 headers or libusb-compat headers.<br style="" class="">See README for more information.<br style="" class=""><br style="" class="">make: *** [hwlibs] Error 1<br style="" class="">**************************************************************************************<br style="" class=""><br style="" class="">A weird thing is that I had to manually install the pkg-config package, that isn't listed in the instructions.<br style="" class="">Anyway I'm pretty sure I have all the files in the right places and I guess my fault is due the fact I'm not able to figure how and where edit the PKG_CONFIG_PATH that indeed I haven't in nowhere.<br style="" class="">I wonder where I can see an example of PKG_CONFIG_PATH, any suggestions?<br style="" class="">Thanks.<br style="" class="">I need compile flashrom for Bus Pirate, so is there any mandatory flag that have to be set?<br style="" class="">Honestly I didn't know it was so complicated to compile for Windows, by read of the instructions it seemed to me pretty easy, but it isn't.<br style="" class="">Is perhaps there any documentations that explain clearly how do the job?<br style="" class="">I think that a description of the folders and the files inside them can be enough in order to understand, sadly I have seen nothing like that.<br style="" class="">Last but not least.<br style="" class="">Maybe I'm wrong, though seems to me that the way as MinGW is installed allows to move the installation easily, almost like an portable application.<br style="" class="">Am I wrong?<br style="" class="">If I'm not wrong this means that should be possible achieve a running environment if someone would provide one.<br style="" class="">Anyway I'm pretty sure that being be able to see a working installation would help to settle the matter.<br style="" class="">Thanks for reading!<br style="" class=""><br style="" class="">Regards,<br style="" class=""><br style="" class="">~Topolinux<br></div><div style="" class="" id="yui_3_16_0_1_1426451892208_2358"><br style="" class=""></div></div></body></html>