Make sure to delete old .lib files: C:\harbour\lib\*.lib

These are not overwritten by 'install', but they are picked
if present by hbmk2. This may cause such problems you're
having.

The surest thing in *all* similar cases is to start over
with an empty target dir. If above fails, try this.

Brgds,
Viktor

On 2009.08.22., at 5:08, Itamar Lins wrote:

The problem is, process make is copying incorrect files probable bcc and
bcc32
If I set ambient for
HB_COMPILER=msvc
And now while make harbour from SVN mix with old files BCC. :-( And this I
can not control.
1) My make files is:
     --- MSVC 2008
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC \vcvarsall.bat"
     rem
     mingw32-make %1 %2 > log.txt 2>&1
     ---
2)MyMakefile clean
3)MyMakeFIle install
teste.prg file.
function main()
? "Hello!"
return NIL
4)hbmk2 teste.prg >saida
Type saida.
hbmk: Processando arquivo de configura?Æo: D:\DEV\HARBOUR\BIN\hbmk.cfg
teste.c
teste.obj : error LNK2019: unresolved external symbol _hb_vmProcessSymbolsEx
referenced in function _hb_vm_SymbolInit_TESTE
teste.exe : fatal error LNK1120: 1 unresolved externals

I do not know where is the problem. Which is the old library?

Best Regards,
Itamar M. Lins Jr.

"Viktor Szakáts" <[email protected]>
escreveu na mensagem news:[email protected] ...
Correction lib dir. \dev\harbour\lib and \dev\harbour\lib\win\bcc and
other
\dev\harbour\lib\win\msvc.

You can override lib to whatever dir you'd like. The
default has changed to /lib/<arch>/<comp>, to support
multiplatform/multicompiler installations. hbmk2 handles
it transparently, and it's most probably possible to
setup any tools for this new dir layout.

Anyhow you can override with HB_*_INSTALL. See INSTALL doc.

Brgds,
Viktor




_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to