Error to compile a lib

Error to compile a lib

Postby Silvio.Falconi » Fri Jun 18, 2021 6:30 am

Today I have this error compiling a lib ( vtaskbar)

Code: Select all  Expand view
Progetto: C5ImgLis, Ambiente: bcc7Harbor:
[1]:Harbour.Exe Source\C5ImgLis.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Prg\PRENOT~1\Lib\vtaskbar\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\C5ImgLis.c
Harbour 3.2.0dev (r1904111533)
Copyright (c) 1999-2019, https://harbour.github.io/
Compiling 'Source\C5ImgLis.prg'...
Lines 5491, Functions/Procedures 9
Generating C source output to 'Obj\C5ImgLis.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include  -nC:\Work\Prg\PRENOT~1\Lib\vtaskbar\Obj C5ImgLis.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
C5ImgLis.c:
[1]:Harbour.Exe Source\c5vitem.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Prg\PRENOT~1\Lib\vtaskbar\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\c5vitem.c
Harbour 3.2.0dev (r1904111533)
Copyright (c) 1999-2019, https://harbour.github.io/
Compiling 'Source\c5vitem.prg'...
Lines 6325, Functions/Procedures 14
Generating C source output to 'Obj\c5vitem.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include  -nC:\Work\Prg\PRENOT~1\Lib\vtaskbar\Obj c5vitem.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
c5vitem.c:
[1]:Harbour.Exe Source\c5VMenu.prg  /m /n0 /gc1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\Prg\PRENOT~1\Lib\vtaskbar\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\c5VMenu.c
Harbour 3.2.0dev (r1904111533)
Copyright (c) 1999-2019, https://harbour.github.io/
Compiling 'Source\c5VMenu.prg'...
Lines 7189, Functions/Procedures 40
Generating C source output to 'Obj\c5VMenu.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include  -nC:\Work\Prg\PRENOT~1\Lib\vtaskbar\Obj c5VMenu.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
c5VMenu.c:
[1]:TLib.Exe C5ImgLis.Lib /P512 @C5ImgLis.bcl , Debug\C5ImgLis.Lst
TLIB 6.4 Copyright (c) 1987-2014 Embarcadero Technologies, Inc.
+C:\Work\Prg\Prenotazioni\Lib\vtaskbar\Obj\C5ImgLis.Obj &
+C:\Work\Prg\Prenotazioni\Lib\vtaskbar\Obj\c5vitem.Obj &
+C:\Work\Prg\Prenotazioni\Lib\vtaskbar\Obj\c5VMenu.Obj

Error: Bad header in input LIB
 


if I use a folder (vtaskbar) inside the folder
c: \ work \ prg \ prenotazioni \ lib
makes me mistake
if instead I put the folder (vtaskbar) directly in the c: \ work \ folder then the library is compiled without errors

I generally prefer to have all the classes inside the folder of the program I am creating and in the lib folder for example
c: \ work \ prg \ program_name \ Lib

Any suggestions ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 91 guests