32 Bit BCC7 *.MAK -> 64 Bit ?

32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Jimmy » Mon Aug 01, 2022 9:23 am

hi,

i have made a 32 Bit FiveWin App using BCC7 and *.MAK Project File and try to use it under 64 Bit
when star "go"
Code: Select all  Expand view
set BCDIR=c:\BCC7-64
%BCDIR%\bin\make -FWIPTV.mak
if errorlevel 0 FWIPTV.exe

i got
c:\BCC7-64\bin\make not found

this is my c:\BCC7-64\BIN
10.05.2017 00:46 298 bcc64.cfg
17.03.2017 00:55 17.657.296 bcc64.exe
17.03.2017 00:55 17.638.352 cpp64.exe
07.07.2011 03:07 23.040 dcc64.exe
20.07.2016 01:51 70 ilink64.cfg
05.04.2016 00:55 973.832 ilink64.exe
16.03.2017 10:55 1.002.448 lnkdfm250.dll
16.03.2017 10:55 327.632 mkexp.exe
16.03.2017 10:55 69.480 rc.exe
16.03.2017 10:55 339.304 RcDLL.dll
16.03.2017 10:55 81.360 rlink32.dll
16.03.2017 10:55 817.648 rw32core.dll
17.03.2017 00:55 786.384 tdump64.exe
05.04.2016 00:55 398.344 tlib64.exe
17.03.2017 00:55 2.556.880 tlibimp.exe
17.03.2017 00:55 1.647.568 TRegSvr.exe


now under FiveWin 64 Bit i was told to use MSVC but how about *.MAK File
Code: Select all  Expand view
HBDIR=C:\HARBOUR64
BCDIR=c:\BCC7-64
FWDIR=C:\FWH64

#change these paths as needed
.path.obj=.\objh

PRG           = \
FWIPTV.PRG      \
FWVLC.PRG       \
READM3U.PRG

PROJECT     : FWIPTV.EXE

FWIPTV.EXE : $(PRG:.PRG=.OBJ) FWIPTV.res
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo .\objh\FWIPTV.obj .\objh\FWVLC.obj .\objh\READM3U.obj, + >> b32.bc
   echo FWIPTV.exe, + >> b32.bc
   echo FWIPTV.map, + >> b32.bc

   echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib $(FWDIR)\lib\libmysql.lib + >> b32.bc
   echo $(FWDIR)\lib\hbpgsql.lib $(FWDIR)\lib\libpq.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbhpdf.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\libhpdf.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\png.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbwin.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\gtgui.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbrtl.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbvm.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hblang.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbmacro.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbrdd.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\rddntx.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\rddcdx.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\rddfpt.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbsix.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbdebug.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbcommon.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbpp.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbcpage.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbcplr.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbct.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbpcre.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\xhb.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbmzip.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbzlib.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\minizip.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbusrrdd.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbtip.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbzebra.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\hbcurl.lib + >> b32.bc
   echo $(HBDIR)\lib\win\bcc\libcurl.lib + >> b32.bc
   echo $(FWDIR)\lib\dolphin.lib + >> b32.bc
   echo $(BCDIR)\lib\cw32.lib + >> b32.bc
   echo $(BCDIR)\lib\uuid.lib + >> b32.bc
   echo $(BCDIR)\lib\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\ws2_32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib , >> b32.bc

   IF EXIST FWIPTV.res echo FWIPTV.res >> b32.bc
   $(BCDIR)\bin\ilink64 -Gn -aa -Tpe -s @b32.bc
   del b32.bc

.PRG.OBJ:
  if not exist objh mkdir objh
  $(HBDIR)\bin\harbour $< /L /N /W /Oobjh\ /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc64 -c -tWM -I$(HBDIR)\include -oobjh\$& objh\$&.c

FWIPTV.res : FWIPTV.rc
   $(BCDIR)\bin\rc -r FWIPTV.rc

how can i use a Project File under 64 Bit and MSVC :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Antonio Linares » Mon Aug 01, 2022 11:06 am

Dear Jimmy,

The simplest way is to use Harbour's hbmk2

Please review FWH\makes\hbmk2.zip
regards, saludos

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

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Jimmy » Mon Aug 01, 2022 5:33 pm

hi Antonio,

i do have working FWIPTV.PRG but it have > 1000 Lines
so i want to "split" it into 3 Parts to use it "seperate" (in "your" App)

FWIPTV.PRG Main App
FWVLC.PRG CLASS fwTVLC
READM3U.PRG read *.M3U Files


for 32 Bit i have nade a working *.MAK using BCC7

for FiveWin and MSVC i do not know how to use a Project File so i wrote
Code: Select all  Expand view
#define _WIN64
#ifdef _WIN64
   #include "FWVLC.PRG"
   #include "READM3U.PRG"
#endif

it does work with BUILDH64 but not "usable" for "other" User.
btw.
#ifdef _WIN64 seems not to work in *.PRG, what can i use (without #define it ) ?

so i ask how to make a Project File for MSVC ... using hbmk2 but how :?:
need some help please
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby elvira » Mon Aug 01, 2022 7:41 pm

Hi,

In the fórums there is a sample file for hbmake.

If you want to use make, the make.exe itself is the same for 64 bits.

Regards!!
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Jimmy » Mon Aug 01, 2022 9:40 pm

Hi,

Thx for Answer
elvira wrote:In the fórums there is a sample file for hbmake.

i will look for it
elvira wrote:If you want to use make, the make.exe itself is the same for 64 bits.

my BCC7-64 "Problem" : there is no MAKE.EXE in my Folder c:\BCC7-64\BIN :shock:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Antonio Linares » Mon Aug 01, 2022 11:35 pm

regards, saludos

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

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

Postby Jimmy » Mon Aug 01, 2022 11:45 pm

hi Antonio,

The simplest way is to use Harbour's hbmk2
Please review FWH\makes\hbmk2.zip

i have no \makes\hbmk2.zip ... :(
10.04.2022 08:13 3.359 bormake.zip
10.04.2022 08:13 1.269 gccmake.zip
10.04.2022 08:13 18.525.867 ide_msvc2012.zip
10.04.2022 08:13 2.987 msmake.zip
10.04.2022 08:13 3.314 vs2010_make.zip

OK , got it :D
c:\fwh\makes\vs2010_make.zip

sorry ... sometimes i´m just blind
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], SantaCroya and 34 guests