Build your FWH app using hbmk2.exe and MSVC 32&64

Re: Build your FWH app using hbmk2.exe and MSVC 32&64

Postby Enrico Maria Giordano » Wed Jun 05, 2024 8:37 am

Horizon wrote:My main goal is to compile the program with Hbmk2.


Why do you want to use such a bad and bugged tool instead of a simple batch? I don't understand...
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Build your FWH app using hbmk2.exe and MSVC 32&64

Postby Horizon » Wed Jun 05, 2024 1:27 pm

Hi Antonio, Enrico,

When I add /NODEFAULTLIB:libucrt and libucrt, ucrt libs, this error comes.

A similar mistake happened to me before. We added the following code upon Antonio's suggestion as a workaround.

Code: Select all  Expand view  RUN
#pragma BEGINDUMP

#include <Windows.h>

extern "C" {
FILE * _iob[] = { stdin, stdout, stderr };

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
}
#pragma ENDDUMP
 
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Build your FWH app using hbmk2.exe and MSVC 32&64

Postby Enrico Maria Giordano » Wed Jun 05, 2024 1:57 pm

I can only say that I have no problem at all with Harbour/xHarbour and MSC32, MSC64, BCC32 and BCC64.
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Build your FWH app using hbmk2.exe and MSVC 32&64

Postby Antonio Linares » Wed Jun 05, 2024 2:30 pm

Dear Hakan,

If you use the files that I provided you and the Harbour build that I told you, you should not have any problems at all
regards, saludos

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: MaxP and 51 guests