FWH8.02 + MSVC + xHarbour error

FWH8.02 + MSVC + xHarbour error

Postby patrickmast » Wed Mar 12, 2008 7:13 pm

Hello,

Please consider this scenario:

1. I use default installation of Windows XP SP-2

2. I use latest FWH 8.02 installed to default location: C:\FWH

3. I use latest xHarbour CVS at default location: C:\xHarbour

4. I use VS 2005, installed to default location C:\Program Files\Microsoft Visual Studio 8\VC.

5. I corrected C:\FWH\BuildxM.bat:

set vcdir=c:\VC2005

to:

set vcdir=C:\PROGRA~1\MICROS~2\Vc

and:

echo %vcdir%\lib\kernel32.lib >> msvc.tmp
echo %vcdir%\lib\user32.lib >> msvc.tmp
echo %vcdir%\lib\gdi32.lib >> msvc.tmp
echo %vcdir%\lib\winspool.lib >> msvc.tmp
echo %vcdir%\lib\comctl32.lib >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib >> msvc.tmp
echo %vcdir%\lib\advapi32.lib >> msvc.tmp
echo %vcdir%\lib\shell32.lib >> msvc.tmp
echo %vcdir%\lib\ole32.lib >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib >> msvc.tmp
echo %vcdir%\lib\uuid.lib >> msvc.tmp
echo %vcdir%\lib\odbc32.lib >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib >> msvc.tmp
echo %vcdir%\lib\mpr.lib >> msvc.tmp

to:

echo %vcdir%\PlatformSDK\lib\kernel32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\user32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\gdi32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\winspool.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\comctl32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\comdlg32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\advapi32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\shell32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\ole32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\oleaut32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\uuid.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\odbc32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\odbccp32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\mpr.lib >> msvc.tmp


6. When I try:

BuildxM FWBrow

I get:


┌───────────────────────
────────────────────────
────────────────────────
─────┐
│ FiveWin for xHarbour 8.02 (MSVC++) Feb. 2008 xHarbour
development power │▄
│ (c) FiveTech, 1993-2008 for Microsoft Windows 95/98/NT/2000/ME/
XP/Vista │█
└───────────────────────
────────────────────────
────────────────────────
─────┘█

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀
Compiling...
xHarbour Compiler build 1.1.0 (SimpLex)
Copyright 1999-2008, http://www.xharbour.org http://www.harbour-
project.org/
Compiling 'fwbrow.prg' and generating preprocessed output to
'fwbrow.ppo'...
Lines 407, Functions/Procedures 12
Generating C source output to 'fwbrow.c'...
Done.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

fwbrow.c
FiveHCM.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already
defined in
Fivehmx.lib(CONTROL.obj); second definition ignored
Creating library fwbrow.lib and object fwbrow.exp
FiveHCM.lib(CURSORS.obj) : error LNK2019: unresolved external symbol
_GetGuiReso
urces referenced in function _HB_FUN_GETGUIRESOURCES
fwbrow.exe : fatal error LNK1120: 1 unresolved externals
* There are errors

What a I doing wrong here?

Thanks!

Patrick
User avatar
patrickmast
 
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm

Postby Antonio Linares » Wed Mar 12, 2008 7:39 pm

Patrick,

Please link this LIB too:
http://rapidshare.com/files/99048801/gui.lib.html
regards, saludos

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

Postby Roger Seiler » Fri Mar 14, 2008 3:17 am

Patick,

I had that problem too until I upgraded to FWH 8.03 and then the problem went away.

- Roger
User avatar
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Postby patrickmast » Fri Mar 14, 2008 9:56 am

Roger Seiler wrote:I had that problem too until I upgraded to FWH 8.03 and then the problem went away.

Ok, thanks for the confirmation Roger.

Patrick
User avatar
patrickmast
 
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm


Return to FiveWin for Harbour/xHarbour

Who is online

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