I found that I had to comment our the line

#CPLUSPLUS=1

in makefile.vc

For the maintainer of make_vc.bat, to get  it to work on Windows 64bit I 
added  2 lines to the top of make_vc.bat

    SET ProgramFilesIn=%ProgramFiles(x86)%
    IF "%ProgramFilesIn%" == "" SET ProgramFilesIn=%ProgramFiles%
and changed all instances of %ProgramFiles% to "%ProgramFilesIn%"

ALSO

Use bison-2.4.1 as bison-1.875-4 doesn't work on 64 Windows

Bison could not be installed in the default programfiles folder (which 
is "ProgramFiles(x86)" on 64bit windows for 32 bit programs) as it does 
not work correctly when run from within folders with spaces in their names

Regards

Peter



On 15/05/2010 11:44 p.m., Peter Rees wrote:
> We are looking at switching from Bcc55 to VC 10.0. With VC 10.0 when
> building xHarbour using make_vc.bat it gets as far as building
> win32ole.c (from rtl/win32ole.prg) and the below errors are thrown.
>
> Anyone know how to solve this? I'm building on Win 7 64bit ultimate -
> using 32bit compiler
>
> Thanks
>
> Peter
>
>
>       CL  -TP -c -Oty1 -FD -GA -Gs -W3 -nologo -Iinclude -Iobj\vc
> -I"C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\include"
> -Foobj\vc\win32ole.obj obj\vc\win32ole.c
> win32ole.c
> C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\include\propkeydef.h(32) : error C2664: 'IsEqualGUID'
> : cannot convert parameter 1 from 'const GUID' to 'const GUID *const '
>           No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\include\shobjidl.h(32800) : error C2664:
> 'CoCreateInstance' : cannot convert parameter 1 from 'const CLSID' to
> 'const IID *const'
>           No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\include\shobjidl.h(32807) : error C3861:
> 'IID_PPV_ARGS': identifier not found
> C:\Program Files (x86)\Microsoft
> SDKs\Windows\v7.0A\include\shobjidl.h(32810) : error C2039:
> 'LoadLibraryFromItem' : is not a member of 'IShellLibrary'
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>
>
>    

------------------------------------------------------------------------------

_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to