FWH LINKING ERROR

FWH LINKING ERROR

Postby shrifw » Sun Aug 04, 2024 5:23 am

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 view

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.

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

Re: FWH LINKING ERROR

Postby Enrico Maria Giordano » Sun Aug 04, 2024 7:31 am

shrifw wrote:
Code: Select all  Expand view
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 view
-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
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: FWH LINKING ERROR

Postby alerchster » Sun Aug 04, 2024 8:04 am

You have to link uxtheme.lib
Regards

Ing. Anton Lerchster
User avatar
alerchster
 
Posts: 93
Joined: Mon Oct 22, 2012 4:43 pm

Re: FWH LINKING ERROR

Postby Enrico Maria Giordano » Sun Aug 04, 2024 8:08 am

Right, for this error:

Code: Select all  Expand view
Error: Unresolved external 'SetWindowTheme' referenced from G:\VIMCOSOFT\DEV32\FWH_APR24\LIB\FIVEH.LIB|window
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: FWH LINKING ERROR

Postby shrifw » Sun Aug 04, 2024 8:16 am

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
shrifw
 
Posts: 69
Joined: Fri Aug 28, 2009 5:25 am

Re: FWH LINKING ERROR

Postby Enrico Maria Giordano » Sun Aug 04, 2024 8:20 am

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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 77 guests