Hi Viktor,
Sorry I had not understood, here is the result of which was compiled with:

hbmk2 -inc -st -trace -info -oSYSTEM *.c *.prg SYSTEM.RC 

hbmk: Autodetected architecture: win                                            
 
hbmk: Autodetected C compiler: msvc                                             
 
hbmk: Using Harbour: d:\devel\hb-msvc\bin d:\devel\hb-msvc\include              
 
      d:\devel\hb-msvc\lib\win\msvc d:\devel\hb-msvc\lib                        
 
hbmk: Using C compiler: D:\Devel\msvc\VC\BIN\cl.exe                             
 
hbmk: Processing configuration: d:\devel\hb-msvc\bin\hbmk.cfg                   
 
hbmk: Processing: script.hbc                                                    
   
hbmk: Compiling Harbour sources...                                              
 
hbmk: Harbour compiler command (internal):                                      
 
"d:\devel\hb-msvc\bin\harbour.exe" -n2 RELATORIOS2.prg -o.hbmk\win\msvc\
-id:\devel\hb-msvc\include
hbmk: Compiling...                                                              
 
hbmk: C compiler command:                                                       
 
cl.exe -nologo -c -Gs -Ot2b1  -Fo.hbmk\win\msvc\
-I"d:\devel\hb-msvc\include" .hbmk\win\msvc\RELATORIOS2.c
C:\DOCUME~1\Leonardo\CONFIG~1\Temp\hbmk_y5e75s.c
RELATORIOS2.c
hbmk_y5e75s.c
Generando c¢digo...
hbmk: Linking... SYSTEM.exe                                                     
   
hbmk: Linker command:                                                           
 
link.exe /nologo /out:SYSTEM.exe .hbmk\win\msvc\ANEXOS.obj
.hbmk\win\msvc\ATUALIZA.obj .hbmk\win\msvc\BALANCAS.obj
.hbmk\win\msvc\BALV_LIQUIDO.obj .hbmk\win\msvc\BAL_LIQUIDO.obj
.hbmk\win\msvc\BRUTO_ENT.obj .hbmk\win\msvc\BRUTO_SAI.obj
.hbmk\win\msvc\CADASTROS.obj .hbmk\win\msvc\CHEQUES.obj
.hbmk\win\msvc\CLIENTES.obj .hbmk\win\msvc\errorsys.obj
.hbmk\win\msvc\ESTOQUE_GUI.obj .hbmk\win\msvc\FINANCE_ESTORNO.obj
.hbmk\win\msvc\FINANCE_GUI.obj .hbmk\win\msvc\FINANCE_PGTO_BOL.obj
.hbmk\win\msvc\FINANCE_PGTO_BOL2.obj .hbmk\win\msvc\FINANCE_PGTO_BOLV.obj
.hbmk\win\msvc\FIVE.obj .hbmk\win\msvc\FOLHA_GUI.obj
.hbmk\win\msvc\HB_COMP.obj .hbmk\win\msvc\NF.obj .hbmk\win\msvc\NFP.obj
.hbmk\win\msvc\PESQUISAS.obj .hbmk\win\msvc\RELATORIOS.obj
.hbmk\win\msvc\RELATORIOS2.obj .hbmk\win\msvc\REL_GUI.obj
.hbmk\win\msvc\ROTINA.obj .hbmk\win\msvc\SYSTEM.obj
.hbmk\win\msvc\SINTEGRA.obj .hbmk\win\msvc\sygecom.obj
.hbmk\win\msvc\TABELAS.obj .hbmk\win\msvc\TRANSP_GUI.obj
.hbmk\win\msvc\USUARIOS.obj .hbmk\win\msvc\UTEIS.obj
.hbmk\win\msvc\hbmk_y5e75s.obj /libpath:"d:\devel\hb-msvc\lib\win\msvc"
/libpath:"d:\devel\hb-msvc\lib"  /subsystem:windows hwgui.lib procmisc.lib
hbmzip.lib hbziparc.lib hbct.lib hbtip.lib hbwin.lib xhb.lib hbhpdf.lib
libhpdf.lib libpng.lib hbblat.lib blat.lib hbgd.lib bgd.lib hbcpage.lib
hblang.lib hbcommon.lib hbcplr.lib hbdebug.lib hbvm.lib hbrdd.lib
hbusrrdd.lib hbhsx.lib hbsix.lib rddntx.lib rddcdx.lib rddfpt.lib
hbuddall.lib rddnsx.lib hbrtl.lib hbpp.lib hbmacro.lib hbextern.lib
gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbpcre.lib
hbzlib.lib kernel32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib
winspool.lib comctl32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib
.hbmk\win\msvc\SYSTEM.res
LINK : fatal error LNK1104: no se puede abrir el archivo 'LIBC.lib'


thank you very much
Leonardo Machado


Viktor Szakáts wrote:
> 
> Hi,
> 
> Sorry, I cannot help without -trace -info output.
> 
> My plain guess is that "libc" is coming from some
> envvars on your system.
> 
> Brgds,
> Viktor
> 
> On 2009.07.01., at 14:26, sygecom wrote:
> 
>>
>> Hi Viktor,
>>
>> I'm using hbmk2 thus:
>> hbmk2 -inc -st -trace -oSYSTEM *.c *.prg SYSTEM.RC
>>
>> And I have a script to compile this:
>> file name: script.hbc
>> {win}libs=hwgui procmisc hbmzip hbziparc hbct hbtip hbwin xhb hbhpdf  
>> libhpdf
>> libpng hbblat blat hbgd bgd
>> {win}gt=gtgui
>> run=yes
>>
>> thank you very much
>>
>>
>> Viktor Szakáts wrote:
>>>
>>>> I've updated the SVN Harbour today and compiled with MSVC 2008 and
>>>> compiled
>>>> without errors. However when I compile my application in Hwgui  
>>>> using this
>>>> hbmk2.exe giving the following error:
>>>>
>>>> LINK : fatal error LNK1104: can not open the file 'LIBC.lib'
>>>
>>> Please post hbmk2 command line and '-trace -info' output.
>>>
>>>> Enjoying the topic How do I get my LIB RDDADS.LIB is generated in  
>>>> the
>>>> compilation of the harbour of SVN?
>>>>
>>>> My environment variables, are thus:
>>>> set HB_COMPILER=msvc
>>>> set HB_INSTALL_PREFIX=d:\devel\hb-%HB_COMPILER%
>>>> set HB_BUILD_IMPLIB=yes
>>>> set HB_INC_PGSQL=d:\pgsql\include
>>>> set HB_DIR_PGSQL=d:\pgsql
>>>> set HB_DIR_BLAT=D:\devel\blat262
>>>> set HB_DIR_ADS=D:\devel\ads
>>>> set HB_INC_GD=D:\devel\gd-2.0.34\include
>>>> set HB_DIR_GD=D:\devel\gd-2.0.34
>>>> set HB_INC_FREEIMAGE=d:\devel\FreeImage\Dist
>>>
>>> Just set HB_INC_ADS, and set it to the right dir (where ACE headers  
>>> are).
>>> See INSTALL for more.
>>>
>>> Brgds,
>>> Viktor
>>> _______________________________________________
>>> Harbour mailing list
>>> Harbour@harbour-project.org
>>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Error-compiling-with-MSVC-%28not-think-libc.lib%29-tp24282136p24288914.html
>> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-compiling-with-MSVC-%28not-think-libc.lib%29-tp24282136p24289519.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to