[Harbour] Error compiling with MSVC (not think libc.lib)

Viktor Szakáts harbour.01 at syenar.hu
Wed Jul 1 08:36:03 EDT 2009


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 at 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 at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour



More information about the Harbour mailing list