FWH LINKING ERROR

Post Reply
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

FWH LINKING ERROR

Post by shrifw »

Dear Antonio ,

I complied my app using the FWH 24.04 and BCC 7.7 32bits. But not able to generate executable file as linking error occurred as show below.

Code: Select all | Expand

Application
===========
G:\vimcosoft\V9ACC\OBJ\util_wgui.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\util_win.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\v9.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\vfa_compgate.c:
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'SetWindowTheme' referenced from G:\VIMCOSOFT\DEV32\FWH_APR24\LIB\FIVEH.LIB|window
Error: Unable to perform link
'G:\vimcosoft\V9ACC\v9acc' is not recognized as an internal or external command,
operable program or batch file.

 
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: FWH LINKING ERROR

Post by Enrico Maria Giordano »

shrifw wrote:

Code: Select all | Expand

Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
That include path doesn't exist. Please check your configuration file (bcc32.cfg). Use this:

Code: Select all | Expand

-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
-w-inl
-w-pro
User avatar
alerchster
Posts: 95
Joined: Mon Oct 22, 2012 4:43 pm

Re: FWH LINKING ERROR

Post by alerchster »

You have to link uxtheme.lib
Regards

Ing. Anton Lerchster
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: FWH LINKING ERROR

Post by Enrico Maria Giordano »

Right, for this error:

Code: Select all | Expand

Error: Unresolved external 'SetWindowTheme' referenced from G:\VIMCOSOFT\DEV32\FWH_APR24\LIB\FIVEH.LIB|window
shrifw
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FWH LINKING ERROR

Post by shrifw »

Hi Anton Lerchster ,

Now its working..! Thanks a lot..!


Hi Enrico,

The windows\rtl INCLUDE folder is for old BCC now I am using new BCC 7.7 which does not have windows\rtl folder.





Thanks
Shridhar
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: FWH LINKING ERROR

Post by Enrico Maria Giordano »

shrifw wrote:Hi Enrico,

The windows\rtl INCLUDE folder is for old BCC now I am using new BCC 7.7 which does not have windows\rtl folder.
If you use the bcc32.cfg I wrote above, you will not have any problems now and in the future with include paths.
Post Reply