Hi Viktor,

Update the Harbour and recompile and generated the right of LIB Blat.
The problem now is that it generated the libpq.lib compiling with MSVC, and
did a test with the BCC and generated libpq.lib.
Any tips? 

I set environment variables is 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

Leonardo Machado


Szakáts Viktor wrote:
> 
> Hi Leonardo,
> 
> Did you try building Harbour with HB_BUILD_IMPLIB=yes?
> This way blat.lib will be generated for you automatically,
> and hopefully in a usable form.
> 
> Brgds,
> Viktor
> 
> On 2009.04.26., at 18:17, sygecom wrote:
> 
>>
>> Hi Viktor,
>>
>> So I decided that even commenting this function in Hwgui. But now  
>> I'm having
>> another problem is that the LIB hbblat.lib which is giving the error  
>> below:
>>
>> hbblat.lib(blatwrp.obj) : error LNK2019: símbolo externo "int __cdecl
>> cSend(char *)" (?cSend@@yah...@z) sin resolver al que se hace  
>> referencia en
>> la función _HB_FUN_HB_BLATSEND
>>
>> I am generating the blat.lib starting the blat.dll thus:
>>
>> \bcc55\bin\impdef.exe blat.def blat.dll
>> lib /def:blat.def
>>
>> Leonardo Machado
>>
>>
>> Szakáts Viktor wrote:
>>>
>>> Hi Leonardo,
>>> hwgui defines a public symbol already defined in hbct.
>>>
>>> I'd consider this a bug in hwgui, where DELETEFILE()
>>> should either be renamed or moved to a separate source file.
>>>
>>> Brgds,
>>> Viktor
>>>
>>> On Sun, Apr 26, 2009 at 7:30 AM, sygecom <leona...@sygecom.com.br>  
>>> wrote:
>>>
>>>>
>>>> Hello to All,
>>>> I'm trying to compile my application with MSVC, and it returns me  
>>>> the
>>>> errors
>>>> below, someone would give me a tip to avoid this error?
>>>>
>>>> Note: Both the Harbour as Hwgui been compiled with MSVC 9.0 and  
>>>> Harbour
>>>> SVN
>>>> is to the day 04/23/2009.
>>>>
>>>> Note: If you compile with the error BCC5.5.1 not any.
>>>>
>>>> ***ERROR
>>>> hbmk: Linker command:
>>>> hbct.lib(files.obj) : error LNK2005: ya se definió  
>>>> _HB_FUN_DELETEFILE en
>>>> hwgui.lib(misc.obj)
>>>> LINK : fatal error LNK1104: no se puede abrir el archivo 'LIBC.lib'
>>>> ***END ERROR
>>>>
>>>> Leonardo Machado
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Error-compiling-with-%2B-Hwgui-Harbour.-tp23239393p23239393.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-%2B-Hwgui-Harbour.-tp23239393p23243693.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-%2B-Hwgui-Harbour.-tp23239393p23247820.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