Hi Regina, On Sun, Sep 23, 2012 at 01:14:40PM +0200, Regina Henschel wrote: > >Revision 1388579 introduced HAVE_ATLTHUNK and 4 configure switches, only > >needed when using the Express Edition. These 4 are needed because in the > >WDK the libraries and includes for ATL and MFC are in different folders. > > > >This is a hack, it rather "alpha", it doesn't take into account VS 2005 > >nor MINGW, so feel free to test it, and improve it :) > > > >An example for VS 2008 Express: > > > >--with-atl-include-dir="C:/WinDDK/7600.16385.1/inc/atl71" \ > >--with-atl-lib-dir="C:/WinDDK/7600.16385.1/lib/ATL/i386" \ > >--with-mfc-include-dir="C:/WinDDK/7600.16385.1/inc/mfc42" \ > >--with-mfc-lib-dir="C:/WinDDK/7600.16385.1/lib/Mfc/i386" \ > > > >will generate a winenv.set.sh with > > > >ATL_LIB="C:/WinDDK/760016~1.1/lib/ATL/i386" > >ATL_INCLUDE="C:/WinDDK/760016~1.1/inc/atl71" > >HAVE_ATLTHUNK="YES" > >MFC_LIB="C:/WinDDK/760016~1.1/lib/Mfc/i386" > >MFC_INCLUDE="C:/WinDDK/760016~1.1/inc/mfc42" > > > > > >Users of the Pro Edition don't need to do anything (supposing the fix > >works). > > That does not work for me. Configure accepts the switches, but the > generated winenv.set.sh has no ATL_LIB, ATL_INCLUDE, MFC_LIB, and > MFC_INCLUDE at all (and build fails because of missing 'atlbase.h'). > > (I know, that I can add the lines manually to winenv.set.sh, that is > not the problem.)
The idea is not to do it manaully ;) Seems I committed the wrong patch (the one with a typo), please try with r1389055 I added some AC_MSG_NOTICE, right after "checking for DirectX SDK files" you should get some messages that will give an idea of what is being searched and if it was found: checking for DirectX SDK files... found checking for ATL and MFC... configure: testing ATL/MFC libs and includes configure: looking for atlbase.h in "/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" configure: found atlbase.h in "/cygdrive/c/WinDDK/7600.16385.1/inc/atl71"? "yes" configure: looking for afx.h in "/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" configure: found afx.h in "/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42"? "yes" configure: looking for atls.lib in "/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" configure: looking for atlthunk.lib in "/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" configure: found atlthunk.lib in "/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386"? "YES" configure: found atls.lib in "/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386"? "yes" ATL/MFC enabled checking for DirectX SDK files... found checking for ATL and MFC... configure: testing ATL/MFC libs and includes configure: looking for atlbase.h in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/include" configure: found atlbase.h in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/include"? "yes" configure: looking for afx.h in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/include" configure: found afx.h in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/include"? "yes" configure: looking for atls.lib in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/lib" configure: looking for atlthunk.lib in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/lib" configure: found atlthunk.lib in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/lib"? "NO" configure: found atls.lib in "/cygdrive/c/ARCHIV~1/MICROS~1.0/VC/atlmfc/lib"? "yes" ATL/MFC enabled Hope it works now. Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpdE7QqgkXvP.pgp
Description: PGP signature