... crear lib propias con el .bat y el archivo make suministrado por Daniel. Solo tenia que cambiar bien los patch y declarar la ruta de la variable VCDIR, y asunto arreglado. Si alguien le interesa, les dejo unos licks que me ayudaron muchísimo a entender al Make. Abrazos. Miguel http://www.uca.es/softwarelibre/publicaciones/make.pdf ...
... No consigo compilar el .c con el .h. He añadido los dos trozos de c a un solo fichero SQLSVRCE.c y lo que puesto para compilar en el bat así: %vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include SQLSVRCE.c Está claro que lo estoy haciendo mal.¿Cómo podría hacerlo? Gracias ...
Antonio, With the new libs you sent to me, TWebCam is fixed. It is neccesary to include Vfw32.lib, so build64.bat should be modified as: echo %vcdir%\lib\vfw32.lib >> msvc.tmp But the GPF with RichEdit is still happening. samples\testrtf.prg causes this hb_out.log: Application Internal ...
... "%HBDIR%" == "" set HBDIR=D:\harbour64 ECHO Compiling... set fwdirl=%FWDIR%\lib set hdir=%HBDIR% set hdirl=%hdir%\lib\vc64 set vcdir=D:\vc64 set include=%vcdir%\include;%hdir%\include;%include% set lib=%vcdir%\lib;%hdir%\lib;%fwdirl%;%lib% %hdir%\bin\harbour %1 /n /i%fwdir%\include;%hdir%\include ...
... se ve nada. Lo compilo con builh32.bat, donde lo único que he cambiado son las llamadas a VC y SDK, porque yo lo tengo instalado en otro sitio set vcdir="C:\Microsoft Visual Studio 11.0\VC" set sdkdir="C:\Microsoft Visual Studio 11.0\SDK\v7.1A" //Tambien he probado con "C:\Microsoft ...
... una sola linea? He mirado el ejemplo test.mak de FWH y aparece de esta forma: #Microsoft make sample, (c) FiveTech Software 2005 HBDIR=c:\harb0531 VCDIR=c:\vc2010 FWDIR=c:\fwh1203 .SUFFIXES: .prg .c .obj .rc .res test.exe : test.obj one.obj test.res Si alguien tiene algún ejemplo.... Gracias
... file in the lib then you can do: echo -c -D__HARBOUR__ -D__FLAT__ $(LEGACY) -I$(HDIR)\include -I.\source\internal\include > tmp echo -I"$(VCDIR)"\include -I.\include -I"$(SDKDIR)"\include /Gs20000 >> tmp if exist "$(VCDIR)"\bin\cl.exe "$(VCDIR)"\bin\cl ...
Antonio, I use it all the time your file. When I delete a SET PATH=$(VCDIR) from test.mak I get the object files but now it is a problem with the lib files. link.log: c:\harbour\lib\hbrtl.lib : fatal error LNK1136: invalid or corrupt file I think all the ...
Antonio, Why (x86) in the VCDIR="d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"? I do not have folder "Program Files (x86)". Definitely a problem with paths. If I run one.bat: SET PATH="d:\Program Files\Microsoft ...
Milos, stdarg.h is located at c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ and that path should be used when calling cl.exe: VCDIR="c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" SDKDIR="c:\Program Files\Microsoft SDKs\Windows\v7.0A" SET PATH=$(VCDIR)\bin ...