┌────────────────────────────────────────────────────────────────────────────┐
?FiveWin for Harbour 17.05 (MSVC++) May 2017 Harbour development power │▄
?(c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘?
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀?
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.8.5
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'
Compiling...
Harbour 3.2.0dev (r1801051438)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
Lines 4674, Functions/Procedures 1
Generating C source output to 'tutor01.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26730 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
tutor01.c
c:\harbour\include\hbdefs.h(51): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1181: cannot open input file 'tutor01.obj'
* Linking errors *
C:\fwh1705\samples>
También puedes probar lo siguiente
La instalación de VSC genera unos accesos directos de consola para X86 y para X64.
Busca y ejecuta el de X86, y desde la consola que te abre, prueba a ejecutar el buildh32
Ya de paso, con los comandos de consola puedes comprobar los paths que genera e investigar
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
cnavarro wrote:También puedes probar lo siguiente
La instalación de VSC genera unos accesos directos de consola para X86 y para X64.
Busca y ejecuta el de X86, y desde la consola que te abre, prueba a ejecutar el buildh32
Ya de paso, con los comandos de consola puedes comprobar los paths que genera e investigar
Entendi menos...pense que Buildh32.bat ya estaba configurado para vs2017
Y no he dicho que no, sólo que pruebes esta opción para comprobar que tu instalación es correcta y el buildh32 funciona también
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Here is my modified MSVC 2017 batch file for xHarbour ... I ran into the same problems not finding some of the MSVC header files .h You can successfully substitute the Borland header files and copy them to your MSVC \include path ..
Don't forget you will need the matching MSVC Harbour or xHarbour .. hope this code helps .. please note you will have to modify the code below to match your MSVC file locations.