new fivewin unresolved externals MSVC

new fivewin unresolved externals MSVC

Postby don lowenstein » Wed Aug 15, 2007 7:33 pm

I have just purchased new version of FWH.

I'm trying to compile and Link with MSVC++ 6.0 (I'm normally a borland user).

The compile step works but the link step has many unresolved errors.

I'm using buildxm.bat to compile one of the sample programs.

What am I missing?

Here are the errors:

┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 2.8 (MSVC++) November 2007 xHarbour development power │▄
│ (c) FiveTech, 1993-2007 for Microsoft Windows 95/98/NT/2000/ME and XP │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour Compiler build 0.99.71 (SimpLex)
Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'testtime.prg' and generating preprocessed output to 'testtime.ppo'...

Lines 52, Functions/Procedures 3
Generating C source output to 'testtime.c'...
Done.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

testtime.c
Creating library testtime.lib and object testtime.exp
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
FiveHCM.lib(DRIVES.obj) : error LNK2001: unresolved external symbol _fabs
rtl.lib(math.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol __fltused
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol __fltused
common.lib(expropt1.obj) : error LNK2001: unresolved external symbol __fltused
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(bkgtsks.obj) : error LNK2001: unresolved external symbol __fltused
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __fltused
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __fltused
dbffpt.lib(dbffpt1.obj) : error LNK2001: unresolved external symbol __fltused
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol __fltused
gtgui.lib(gtgui.obj) : error LNK2001: unresolved external symbol __fltused
macro.lib(macroy.obj) : error LNK2001: unresolved external symbol __fltused
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol __fltused
macro.lib(macrob.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(estack.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(hash.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(memvars.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(macro.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(asort.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(extend.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(arrays.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(gtapi.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(idle.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __fltused
vm.lib(arrayshb.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(val.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(replic.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(samples.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(inkey.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(minmax.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(seconds.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(abs.obj) : error LNK2001: unresolved external symbol __fltused
FiveHCM.lib(ole.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(dateshb.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(round.obj) : error LNK2001: unresolved external symbol __fltused
rtl.lib(empty.obj) : error LNK2001: unresolved external symbol __fltused
FiveHCM.lib(DRIVES.obj) : error LNK2001: unresolved external symbol __fltused
FiveHCM.lib(MSGS.obj) : error LNK2001: unresolved external symbol __fltused
FiveHCM.lib(ACTX.obj) : error LNK2001: unresolved external symbol __fltused
FiveHCM.lib(CALLDLL.obj) : error LNK2001: unresolved external symbol __fltused
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __ftol
rtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol __ftol
macro.lib(macrob.obj) : error LNK2001: unresolved external symbol __ftol
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __ftol
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __ftol
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol __ftol
vm.lib(extend.obj) : error LNK2001: unresolved external symbol __ftol
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __ftol
vm.lib(memvars.obj) : error LNK2001: unresolved external symbol __ftol
gtgui.lib(gtgui.obj) : error LNK2001: unresolved external symbol __ftol
rtl.lib(inkey.obj) : error LNK2001: unresolved external symbol __ftol
rtl.lib(idle.obj) : error LNK2001: unresolved external symbol __ftol
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __ftol
vm.lib(arrayshb.obj) : error LNK2001: unresolved external symbol __ftol
FiveHCM.lib(DRIVES.obj) : error LNK2001: unresolved external symbol __ftol
FiveHCM.lib(ACTX.obj) : error LNK2001: unresolved external symbol __ftol
FiveHCM.lib(ole.obj) : error LNK2001: unresolved external symbol __ftol
rtl.lib(samples.obj) : error LNK2001: unresolved external symbol __ftol
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __allshr
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __allshr
FiveHCM.lib(DRIVES.obj) : error LNK2001: unresolved external symbol __allshr
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __allshr
vm.lib(macro.obj) : error LNK2001: unresolved external symbol __allshr
macro.lib(macrob.obj) : error LNK2001: unresolved external symbol __allshr
rdd.lib(wafunc.obj) : error LNK2001: unresolved external symbol _strchr
common.lib(hbfsapi.obj) : error LNK2001: unresolved external symbol _strchr
vm.lib(cmdarg.obj) : error LNK2001: unresolved external symbol _strchr
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _strchr
macro.lib(macroc.obj) : error LNK2001: unresolved external symbol _strchr
rdd.lib(dbcmd.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(file.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(tprinter.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _strchr
vm.lib(classes.obj) : error LNK2001: unresolved external symbol _strchr
FiveHCM.lib(MSGS.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(at.obj) : error LNK2001: unresolved external symbol _strchr
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _strchr
common.lib(hbver.obj) : error LNK2001: unresolved external symbol _sprintf
pcrepos.lib(pcreposix.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(estack.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(cmdarg.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(memvars.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(hbi18n.obj) : error LNK2001: unresolved external symbol _sprintf
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(errorapi.obj) : error LNK2001: unresolved external symbol _sprintf
vm.lib(debug.obj) : error LNK2001: unresolved external symbol _sprintf
FiveHCM.lib(MSGS.obj) : error LNK2001: unresolved external symbol _sprintf
rtl.lib(dateshb.obj) : error LNK2001: unresolved external symbol _sprintf
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _sprintf
rtl.lib(langapi.obj) : error LNK2001: unresolved external symbol _sprintf
FiveHCM.lib(ACTX.obj) : error LNK2001: unresolved external symbol _memcmp
FiveHCM.lib(FONTS.obj) : error LNK2001: unresolved external symbol _strcpy
FiveHCM.lib(TEXT.obj) : error LNK2001: unresolved external symbol _strcpy
FiveHCM.lib(RESCHECK.obj) : error LNK2001: unresolved external symbol _strcpy
FiveHCM.lib(HARBOURC.obj) : error LNK2001: unresolved external symbol _strlen
FiveHCM.lib(ole.obj) : error LNK2001: unresolved external symbol _memcpy
FiveHCM.lib(ole.obj) : error LNK2001: unresolved external symbol _memset
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _isdigit
rtl.lib(dateshb.obj) : error LNK2001: unresolved external symbol _isdigit
rtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol _isdigit
rtl.lib(at.obj) : error LNK2001: unresolved external symbol _isdigit
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isdigit
rdd.lib(wafunc.obj) : error LNK2001: unresolved external symbol _atoi
rtl.lib(version.obj) : error LNK2001: unresolved external symbol _atoi
rtl.lib(gtapi.obj) : error LNK2001: unresolved external symbol _atoi
vm.lib(cmdarg.obj) : error LNK2001: unresolved external symbol _atoi
vm.lib(hbi18n.obj) : error LNK2001: unresolved external symbol _atoi
vm.lib(macro.obj) : error LNK2001: unresolved external symbol _memmove
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol _memmove
rtl.lib(bkgtsks.obj) : error LNK2001: unresolved external symbol _memmove
rtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol _memmove
rtl.lib(str.obj) : error LNK2001: unresolved external symbol _memmove
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _memmove
vm.lib(classes.obj) : error LNK2001: unresolved external symbol _memmove
vm.lib(hash.obj) : error LNK2001: unresolved external symbol _toupper
rdd.lib(workarea.obj) : error LNK2001: unresolved external symbol _toupper
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol _toupper
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(cdpapi.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(gtapi.obj) : error LNK2001: unresolved external symbol _toupper
vm.lib(classes.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(set.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(strcase.obj) : error LNK2001: unresolved external symbol _toupper
rtl.lib(philes.obj) : error LNK2001: unresolved external symbol _toupper
dbffpt.lib(dbffpt1.obj) : error LNK2001: unresolved external symbol __allmul
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol __allmul
rtl.lib(seconds.obj) : error LNK2001: unresolved external symbol __allmul
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol __allmul
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __allmul
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __allmul
rtl.lib(set.obj) : error LNK2001: unresolved external symbol _fclose
rtl.lib(fparse.obj) : error LNK2001: unresolved external symbol _fclose
vm.lib(errorapi.obj) : error LNK2001: unresolved external symbol _fclose
rtl.lib(trace.obj) : error LNK2001: unresolved external symbol _fclose
rtl.lib(trace.obj) : error LNK2001: unresolved external symbol _fopen
rtl.lib(set.obj) : error LNK2001: unresolved external symbol _fopen
rtl.lib(fparse.obj) : error LNK2001: unresolved external symbol _fopen
vm.lib(errorapi.obj) : error LNK2001: unresolved external symbol _fopen
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _fopen
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol _strncpy
pcrepos.lib(pcreposix.obj) : error LNK2001: unresolved external symbol _strncpy
vm.lib(hbi18n.obj) : error LNK2001: unresolved external symbol _strncpy
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _strncpy
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol _strncpy
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(regex.obj) : error LNK2001: unresolved external symbol _strncpy
vm.lib(proc.obj) : error LNK2001: unresolved external symbol _strncpy
vm.lib(cmdarg.obj) : error LNK2001: unresolved external symbol _strncpy
vm.lib(memvars.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(set.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(fstemp.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(hbffind.obj) : error LNK2001: unresolved external symbol _strncpy
rtl.lib(strcase.obj) : error LNK2001: unresolved external symbol _tolower
rtl.lib(cdpapi.obj) : error LNK2001: unresolved external symbol _tolower
rtl.lib(at.obj) : error LNK2001: unresolved external symbol _isalpha
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isalpha
rtl.lib(direct.obj) : error LNK2001: unresolved external symbol _strrchr
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _strrchr
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _strrchr
rtl.lib(direct.obj) : error LNK2001: unresolved external symbol _strpbrk
rtl.lib(cdpapi.obj) : error LNK2001: unresolved external symbol _strpbrk
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol __setmode
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol __chdrive
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol __getdrive
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _isatty
rtl.lib(gtapi.obj) : error LNK2001: unresolved external symbol _isatty
OLDNAMES.lib(isatty.obj) : error LNK2001: unresolved external symbol _isatty
rtl.lib(filesys.obj) : error LNK2001: unresolved external symbol _eof
OLDNAMES.lib(eof.obj) : error LNK2001: unresolved external symbol _eof
rtl.lib(fparse.obj) : error LNK2001: unresolved external symbol _fgetc
rtl.lib(console.obj) : error LNK2001: unresolved external symbol __iob
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol __iob
rtl.lib(tprinter.obj) : error LNK2001: unresolved external symbol __chkstk
vm.lib(estack.obj) : error LNK2001: unresolved external symbol __chkstk
pcrepos.lib(pcre_compile.obj) : error LNK2001: unresolved external symbol __chks
tk
pcrepos.lib(pcre_exec.obj) : error LNK2001: unresolved external symbol __chkstk
rtl.lib(fssize.obj) : error LNK2001: unresolved external symbol _stat
OLDNAMES.lib(stat.obj) : error LNK2001: unresolved external symbol _stat
rtl.lib(inkey.obj) : error LNK2001: unresolved external symbol _clock
rtl.lib(idle.obj) : error LNK2001: unresolved external symbol _clock
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _clock
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isupper
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _islower
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isalnum
vm.lib(arrayshb.obj) : error LNK2001: unresolved external symbol _isalnum
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _iscntrl
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isgraph
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isprint
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _ispunct
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isspace
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _isspace
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol _isspace
common.lib(hbver.obj) : error LNK2001: unresolved external symbol _isspace
rtl.lib(is.obj) : error LNK2001: unresolved external symbol _isxdigit
rtl.lib(hbhex2n.obj) : error LNK2001: unresolved external symbol __allshl
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __allshl
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __allshl
rtl.lib(hbhex2n.obj) : error LNK2001: unresolved external symbol __aullshr
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _exit
vm.lib(errorapi.obj) : error LNK2001: unresolved external symbol _exit
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _exit
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _fmod
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __allrem
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __allrem
macro.lib(macrob.obj) : error LNK2001: unresolved external symbol __allrem
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __allrem
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _pow
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol _pow
common.lib(reserved.obj) : error LNK2001: unresolved external symbol _strncmp
pcrepos.lib(pcre_compile.obj) : error LNK2001: unresolved external symbol _strnc
mp
macro.lib(macroy.obj) : error LNK2001: unresolved external symbol _strncmp
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _strncmp
macro.lib(macrob.obj) : error LNK2001: unresolved external symbol _strncmp
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol _strncmp
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _strncmp
vm.lib(classes.obj) : error LNK2001: unresolved external symbol _strncmp
vm.lib(arrayshb.obj) : error LNK2001: unresolved external symbol _strncmp
vm.lib(macro.obj) : error LNK2001: unresolved external symbol _strncmp
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _modf
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol _modf
common.lib(hbstr.obj) : error LNK2001: unresolved external symbol _modf
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol _modf
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol _div
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol _div
vm.lib(hvm.obj) : error LNK2001: unresolved external symbol __alldiv
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __alldiv
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __alldiv
common.lib(expropt2.obj) : error LNK2001: unresolved external symbol __alldiv
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __finite
common.lib(hbdate.obj) : error LNK2001: unresolved external symbol __snprintf
vm.lib(itemapi.obj) : error LNK2001: unresolved external symbol __snprintf
rdd.lib(workarea.obj) : error LNK2001: unresolved external symbol __snprintf
rdd.lib(wafunc.obj) : error LNK2001: unresolved external symbol __snprintf
rdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __snprintf
vm.lib(dynsym.obj) : error LNK2001: unresolved external symbol _printf
vm.lib(estack.obj) : error LNK2001: unresolved external symbol _printf
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _printf
vm.lib(hbi18n.obj) : error LNK2001: unresolved external symbol _getenv
vm.lib(macro.obj) : error LNK2001: unresolved external symbol _memchr
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _free
pcrepos.lib(pcreposix.obj) : error LNK2001: unresolved external symbol _free
pcrepos.lib(pcre_globals.obj) : error LNK2001: unresolved external symbol _free
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _malloc
pcrepos.lib(pcreposix.obj) : error LNK2001: unresolved external symbol _malloc
pcrepos.lib(pcre_globals.obj) : error LNK2001: unresolved external symbol _mallo
c
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _strstr
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _realloc
macro.lib(macroslx.obj) : error LNK2001: unresolved external symbol _qsort
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol _ceil
dbfntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol _sqrt
rtl.lib(math.obj) : error LNK2001: unresolved external symbol _sqrt
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _close
OLDNAMES.lib(close.obj) : error LNK2001: unresolved external symbol _close
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _dup
OLDNAMES.lib(dup.obj) : error LNK2001: unresolved external symbol _dup
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _fileno
OLDNAMES.lib(fileno.obj) : error LNK2001: unresolved external symbol _fileno
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _fflush
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _vfprintf
rtl.lib(trace.obj) : error LNK2001: unresolved external symbol _vfprintf
common.lib(hbtrace.obj) : error LNK2001: unresolved external symbol _fprintf
OLDNAMES.lib(isatty.obj) : error LNK2001: unresolved external symbol __isatty
OLDNAMES.lib(eof.obj) : error LNK2001: unresolved external symbol __eof
OLDNAMES.lib(stat.obj) : error LNK2001: unresolved external symbol __stat
OLDNAMES.lib(close.obj) : error LNK2001: unresolved external symbol __close
OLDNAMES.lib(dup.obj) : error LNK2001: unresolved external symbol __dup
OLDNAMES.lib(fileno.obj) : error LNK2001: unresolved external symbol __fileno
rtl.lib(math.obj) : error LNK2001: unresolved external symbol __HUGE
rtl.lib(math.obj) : error LNK2001: unresolved external symbol _exp
rtl.lib(math.obj) : error LNK2001: unresolved external symbol _log
rtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol _srand
rtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol _time
rtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol _rand
testtime.exe : fatal error LNK1120: 83 unresolved externals
* There are errors

T:\fwh7\SAMPLES>
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Wed Aug 15, 2007 9:10 pm

Don,

> FiveWin for xHarbour 2.8 (MSVC++) November 2007 xHarbour development power

ops, we left a wrong header by mistake. It should be:
FiveWin for xHarbour 7.07 (MSVC++) July 2007
Already changed, thanks

Look for a msvcrt.lib or similar in the MSVC libraries. You may need to link it, but probably the resulting EXE will not work :-(

As I comment you on another msg, you should use VC 98
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby don lowenstein » Wed Aug 15, 2007 9:54 pm

I included the msvcrt.lib and things are much better.

Now, I'm down to:

┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for xHarbour 2.8 (MSVC++) November 2007 xHarbour development power │▄
│ (c) FiveTech, 1993-2007 for Microsoft Windows 95/98/NT/2000/ME and XP │█
└────────────────────────────────────────────────────────────────────────────┘█
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
xHarbour Compiler build 0.99.71 (SimpLex)
Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'testtime.prg' and generating preprocessed output to 'testtime.ppo'...

Lines 52, Functions/Procedures 3
Generating C source output to 'testtime.c'...
Done.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

testtime.c
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in msvcrt.lib(merr.obj); second definition ignored
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in msvcrt.lib(merr.obj); second definition ignored

Creating library testtime.lib and object testtime.exp

rtl.lib(math.obj) : error LNK2001: unresolved external symbol __HUGE

testtime.exe : fatal error LNK1120: 1 unresolved externals

* There are errors

T:\fwh7\SAMPLES>
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Wed Aug 15, 2007 10:38 pm

Don,

Please add this code to your main PRG just for a quick test:
Code: Select all  Expand view
#pragma BEGINDUMP

#include <windows.h>

void _HUGE( void )
{
   MessageBox( 0, "inside Huge", "ok", 0 );
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby don lowenstein » Thu Aug 16, 2007 6:41 pm

My testing continues of new FWH version.

The addition of the _huge section resolved the link error - so far no unwanted side effects. Also, the code has not been executed, but I will continue to test and look for consequences.

Now, I have a question regarding MSVC 6.0 and the xHarbour debugger.
I have inserted altd(1) and altd() commands in the source code and compiled the module with /b switch.

I specificed subsystem CONSOLE in the Link Step and received an unresolved external as shown below:

link
@biswinh.LNK
/NODEFAULTLIB:LIBC
/nologo
/OUT:BISWINHM.EXE
/subsystem:CONSOLE
/force:multiple

This creates the error:

msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main

So .... What other libraries might I need to link into app when I compile with /b switch and use debug.lib and altd() function?
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Thu Aug 16, 2007 9:47 pm

Don,

> I specificed subsystem CONSOLE in the Link Step

Don't do that. CONSOLE means a non Windows GUI application as it is not the case. Thats why the linker is looking for main instead of WinMain (provided by xHarbour).

> What other libraries might I need to link into app

Just debug.lib, and you have to use GTWIN.lib instead of GTGUI.lib, just for debuging. For normal execution, you have to use GTGUI.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests