topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Building Harbour 3.4 for BCC outside MSYS | Andi
I am getting closer .. still something missing ...
BuildxM
[code=fw:39l8myaj]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style="color: #00C800;">for</span>... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":2npqjela]Andi
I am getting closer .. still something missing ...
BuildxM
c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib c:\Fwh1707\Fiveh32.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp
tutor01.obj : error LNK2001: unresolved external symbol ... |
Building Harbour 3.4 for BCC outside MSYS | Andi
I have tried every conveivable combination of FWH (M) lib and this is the best results :
Buildxm
[code=fw:2bx0tg68]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <sp... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":39hixvaf]Andi
I have tried every conveivable combination of FWH (M) lib and this is the best results :
[code=fw:39hixvaf]<div class="fw" id="{CB}" style="font-family: monospace;">echo c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp </div>[/code:39hixvaf][/quote:39hixvaf]
Hi Rick,
You missed one library:... |
Building Harbour 3.4 for BCC outside MSYS | Andi
I have tried that combination .. only made the results worse <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
BuildxM
[code=fw:owas7bq0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":28x1qqq4]Andi
I have tried that combination .. only made the results worse <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->[/quote:28x1qqq4]
That's what I am looking for <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --... |
Building Harbour 3.4 for BCC outside MSYS | Andi
I sent Mel a message to build xHarbour for MSVC 2017 and I just downloaded his new build .. it appears Mel has missed adding :
LINK : fatal error LNK1181: cannot open input file 'c:\xharbourM\lib\hbzlib.lib'
I will send Mel a new message to see if he can add hbzlib.lib to his MSVC xHarbour 2017 build ..
Thanks... |
Building Harbour 3.4 for BCC outside MSYS | It's called zlib.lib in xHarbour.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Hallo Andi, now is compiling ok but linking shows some unresolved externals.(zip and socket) Same lib-names i use with borland!
Do you know what libs are missing?
[quote:3kbl3cxj]fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPOPEN
hbziparc.lib(ziparc.obj) : error LNK2001: unreso... |
Building Harbour 3.4 for BCC outside MSYS | hbmzip.lib
EMG |
Building Harbour 3.4 for BCC outside MSYS | [quote="byte-one":2vssuoij]Hallo Andi, now is compiling ok but linking shows some unresolved externals.(zip and socket) Same lib-names i use with borland!
Do you know what libs are missing?
[quote:2vssuoij]fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPOPEN
config.exe : fatal er... |
Building Harbour 3.4 for BCC outside MSYS | Andi and Enrico
No Joy yet <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Rick Lipkin
BuildxM
[code=fw:3h5d5ojs]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":24wn9xbz]Andi and Enrico
No Joy yet <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Rick Lipkin[/quote:24wn9xbz]
Hi Rick,
Please also link: [b:24wn9xbz]HBMZIP.LIB[/b:24wn9xbz] and[b:24wn9xbz] user32.lib[/b:24wn9xbz]
There should be a joy now <!-- s:) --... |
Building Harbour 3.4 for BCC outside MSYS | Andi
Nutz .. adding those two libs did not seem to make any difference
Rick Lipkin
[code=fw:1dwznkke]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style="colo... |
Building Harbour 3.4 for BCC outside MSYS | It seems, minizip.lib must also added from Harbour! |
Building Harbour 3.4 for BCC outside MSYS | Add hbzip.lib.
EMH |
Building Harbour 3.4 for BCC outside MSYS | [quote="byte-one":d7c6ueea]It seems, minizip.lib must also added from Harbour![/quote:d7c6ueea]
No, you should not mix Harbour and xHarbour libs.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
Adding Hbzip.lib had no effect .. if you look at the original BuildxM .. there is a library named
rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib >> msvc.tmp
Which is not present in either xHarbour\Borland or xHarbourM\Msvc ... and I think that is what is missing here .. Andi or Antonio... |
Building Harbour 3.4 for BCC outside MSYS | Step by step. First look at:
[code=fw:3qt1wa8r]<div class="fw" id="{CB}" style="font-family: monospace;">libucrt.lib<span style="color: #000000;">(</span>pow_impl.obj<span style="color: #000000;">)</span> : <span style="color: #000000;">warning</span> LNK4006: __CIpow already defined in FivehMX.lib<span style=... |
Building Harbour 3.4 for BCC outside MSYS | Now look at this:
[code=fw:2dgr3z97]<div class="fw" id="{CB}" style="font-family: monospace;">FivehMX.lib<span style="color: #000000;">(</span>OLEFUNCS.obj<span style="color: #000000;">)</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol... |
Building Harbour 3.4 for BCC outside MSYS | Please also read fwh\lib\readme.txt. Perhaps you are using the wrong set of FWH libs.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
I have compared the original BuildxM and included almost every possible combination of FW-M libs .. as far as the zip libs .. all I am trying to do is build Tutor01.prg .. nothing in that code that has anything to do with zip.
libucrt.lib(pow_impl.obj) : warning LNK4006: __CIpow already defined in FivehMX.lib(... |
Building Harbour 3.4 for BCC outside MSYS | Rick,
which version of xHarbour are you using?
EMG |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":38ogbf7o]What about HB_FUN_SENDKEY and the other 6 unresolved externals ? ...[/quote:38ogbf7o]
[code=fw:38ogbf7o]<div class="fw" id="{CB}" style="font-family: monospace;">FiveHCM.lib<span style="color: #000000;">(</span>KEYBRD.obj<span style="color: #000000;">)</span> : <span style="color:... |
Building Harbour 3.4 for BCC outside MSYS | Enrico
I am using FWH 1707 .. has a bit of age on it ..
Rick Lipkin |
Building Harbour 3.4 for BCC outside MSYS | Which xHarbour version?
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
I downloaded the latest xHarbour MSVC 2017 12-10-17 from Mel's site.
Rick Lipkin |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":3h5lkqul]Enrico
I have compared the original BuildxM and included almost every possible combination of FW-M libs .. as far as the zip libs .. all I am trying to do is build Tutor01.prg .. nothing in that code that has anything to do with zip.
libucrt.lib(pow_impl.obj) : warning LNK4006: __CIpow a... |
Building Harbour 3.4 for BCC outside MSYS | Great! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Building Harbour 3.4 for BCC outside MSYS | Gentleman
I am still lost here .. msvcrt.lib was rem'd out in the original BuildxM ... probably for a reason .. I added mscvrt.lib back into the compile and it made no difference in the results.
Totally in the dark here ...
Rick Lipkin |
Building Harbour 3.4 for BCC outside MSYS | Can I see the current error list?
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
Here is my current buildxM .. looks like the errors are coming from the FWH MSVC Libs
[code=fw:1npctuhk]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF <br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style="c... |
Building Harbour 3.4 for BCC outside MSYS | [code=fw:1ctt8sbx]<div class="fw" id="{CB}" style="font-family: monospace;">FiveHCM.lib<span style="color: #000000;">(</span>MENUDRAW.obj<span style="color: #000000;">)</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetMenuInfo refer... |
Building Harbour 3.4 for BCC outside MSYS | [code=fw:2eyxquww]<div class="fw" id="{CB}" style="font-family: monospace;"><br />libucrt.lib<span style="color: #000000;">(</span>pow_impl.obj<span style="color: #000000;">)</span> : <span style="color: #000000;">warning</span> LNK4006: __CIpow already defined in FivehMX.lib<span style="color: #000000;">(<... |
Building Harbour 3.4 for BCC outside MSYS | [code=fw:2mxutq88]<div class="fw" id="{CB}" style="font-family: monospace;"><br />FiveHCM.lib<span style="color: #000000;">(</span>KEYBRD.obj<span style="color: #000000;">)</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _SendInput ref... |
Building Harbour 3.4 for BCC outside MSYS | Gentlemen
Getting closer .. changing the fwh libs line to:
[code=fw:1lsiourw]<div class="fw" id="{CB}" style="font-family: monospace;"><br />echo c:\Fwh1707\lib\FivehMX.lib c:\Fwh1707\lib\Fivehc32.lib >> msvc.tmp<br /> </div>[/code:1lsiourw]
cleared up all the remaining unresolves .. I added to the link line:
[c... |
Building Harbour 3.4 for BCC outside MSYS | [code=fw:17332yoe]<div class="fw" id="{CB}" style="font-family: monospace;">%vcdir%\bin\cl -TP -W3 -c /GA %<span style="color: #000000;">1</span>.c</div>[/code:17332yoe]
-TP means "Specifies a C++ source file.". From:
[url:17332yoe]https://msdn.microsoft.com/en-us/library/fwkeyyhe.aspx[/url:17332yoe]
... |
Building Harbour 3.4 for BCC outside MSYS | mi compiler line ...
[code=fw:j8hle75a]<div class="fw" id="{CB}" style="font-family: monospace;"><br />%C_BIN_INSTALL%\cl.Exe -TP -W2 -O2 -nologo -c -GA -GS- -EHsc -D_USING_V110_SDK71_ <br />-I%C_INC_INSTALL% -I%HB_INC_INSTALL% -Fo%OBJ% %C%<br /> </div>[/code:j8hle75a]
Mi program run ok ( harbour ) here .
console out... |
Building Harbour 3.4 for BCC outside MSYS | mastintin
I appreciate all your help .. removing /NODEFAULTLIB:LIBC created this error
[code=fw:1doupnzm]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />³ FiveWin <span style="color: #00C800;">for</span> xHarbour <spa... |
Building Harbour 3.4 for BCC outside MSYS | Please try my advice too.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Rick Lipkin in link line see :
/LIBPATH:c:\vc\lib
ok ... in c:\fwh\samples\
For harbour ...create buildhms.bat
[code=fw:2fkf635g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />... |
Building Harbour 3.4 for BCC outside MSYS | mastintin
I have rebuilt buildxm and added your suggestions in a new batch file BuildRick .. again, with this compile .. Tutor01.exe is created but will not run .. I have W10 Fall Creator 64 bit.
BuildRick
[code=fw:1i9gjhzr]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF<br />CLS<br />ECHO ... |
Building Harbour 3.4 for BCC outside MSYS | if you change this ?
[code=fw:fkn1wl9s]<div class="fw" id="{CB}" style="font-family: monospace;"><br />%vcdir%\bin\link @msvc.tmp /nologo /NODEFAULTLIB:<span style="color: #000000;">LIBC</span> /NODEFAULTLIB:<span style="color: #000000;">msvcrt</span> /force:<span style="color: #000000;">multiple</span> /nxcompat:<span... |
Building Harbour 3.4 for BCC outside MSYS | Now i have compiled succesfull with Harbour and MSC. The speedtest gives the following results:
BCC 7.3 40,5 secs
MSC 27,2 secs
!!!!!! |
Building Harbour 3.4 for BCC outside MSYS | Great! Can you also report the EXE size difference?
EMG |
Building Harbour 3.4 for BCC outside MSYS | Can you compile an "hello world" sample with the two compilers and report the EXE sizes, please? This sample:
[code=fw:37xj35lu]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: ... |
Building Harbour 3.4 for BCC outside MSYS | mastintin
I must be jinxed or hexed .. I made your change
BuildRick.bat
[code=fw:22ndxymo]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style="color: #00C800;">for</s... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Rick Lipkin":38vdvdxc]mastintin
I must be jinxed or hexed .. I made your change
[/quote:38vdvdxc]
I'm running out of ideas <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ok ,is correct /NODEFAULTLIB:libc
see this <!-- m --><a class="postlink" href="http://fiv... |
Building Harbour 3.4 for BCC outside MSYS | [quote="Enrico Maria Giordano":1cpda0ot]Can you compile an "hello world" sample with the two compilers and report the EXE sizes, please? This sample:
[code=fw:1cpda0ot]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</spa... |
Building Harbour 3.4 for BCC outside MSYS | [quote="toninhofwi":16i68xik]Size in this days is not a problem,[/quote:16i68xik]
It is, if you have to send the exe via email or other Internet channel.
[quote="toninhofwi":16i68xik]but, this is the results:
BCC 7.2: 3.76
MSVC2017: 3.78[/quote:16i68xik]
Great! They are almost identical!
EMG |
Building Harbour 3.4 for BCC outside MSYS | Gentleman
Still no joy here on using Andi's MSVC 2017 command line binaries .. I would appreciate if someone would download the binaries at the top of this thread and try to modify BuildXm to compile and run Tutor01.prg
I have exhausted my options on a working compile.
Thanks
Rick Lipkin |
Building Harbour 3.4 for BCC outside MSYS | Rick,
What errors are you getting ? |
Building Harbour 3.4 for BCC outside MSYS | Antonio
In the above ( later ) examples .. I have been able to compile Tutor01.prg, unfortunately, the .Exe will not run ... Click on Tutor01.Exe and nothing happens.
Any words of wisdom would help .. please download the binaries and copy and paste .. this is as close as I have come .. the .Exe is created but will no... |
Building Harbour 3.4 for BCC outside MSYS | I'm going to do some test in my spare time. I already tried with C and C++ samples and found no problem so far.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
Thanks for taking a look at my struggles ... I downloaded Andi's binaries and went to Mels's site and downloaded xHarbour for MSVC 2017.
Perhaps there is a clue somewhere in this mix.
Thanks
Rick Lipkin |
Building Harbour 3.4 for BCC outside MSYS | Rick,
Please modify tutor01.rc like this:
ico ICON "./../ICONS/fivewin.ico"
1 24 "WinXP/WindowsXP.Manifest"
Alternatively remove this:
1 24 "WinXP/WindowsXP.Manifest"
thanks |
Building Harbour 3.4 for BCC outside MSYS | Antonio
Here is the modifications to tutor01.rc
[code=fw:39acz1v8]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ico <span style="color: #0000ff;">ICON</span> <span style="color: #ff0000;">"./../ICONS/fivewin.ico"</span><br /><br /><span style="color: #000000;">1</span> <span style="color: #000000;">2... |
Building Harbour 3.4 for BCC outside MSYS | Ok, this is my first attempt that is working fine:
[code=fw:nj4qcc0e]<div class="fw" id="{CB}" style="font-family: monospace;">@ ECHO OFF<br /><br />SET MSC32=e:\fw\msc<br />SET HRB32=e:\fw\xharbour<br />SET FWH32=e:\fwharbour<br /><br />SET HARBOURCMD=-a -es2 -gc0 -i%HRB32%\include -n -q -w3<br /><br />SET CL=-c -EHs... |
Building Harbour 3.4 for BCC outside MSYS | Anyway, the EXE generated with MSC32 is bigger than the one generated with BCC32. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
And what is the worse, the execution is slower, even in reading DBF records and indexes. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":... |
Building Harbour 3.4 for BCC outside MSYS | Any news on this important subject? Something wrong in my compile batch?
EMG |
Building Harbour 3.4 for BCC outside MSYS | This is my speedtest results:
BCC730
[code=fw:2gxmuc7h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">12</span>/<span style="color: #000000;">29</span>/<span style="color: #000000;">17</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">48</span>:<span... |
Building Harbour 3.4 for BCC outside MSYS | Please note the difference in total time:
BCC:
[code=fw:29awav8w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">[</span> total application time: <span style="color: #000000;">]</span>....................................<span style="color: #000000;">19.47</span><br /><s... |
Building Harbour 3.4 for BCC outside MSYS | Enrico,
this are my Compiler-flags: See on O2! (fastest Speed)
MSC_COMP_FLAGS = /c /TP /W3 /O2 /D__FLAT__ /GA /GS- /EHsc
I use HARBOUR and my results are on same test are vice versa as yours! |
Building Harbour 3.4 for BCC outside MSYS | Tried with your flags: no change.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Can I see your BCC flags?
EMG |
Building Harbour 3.4 for BCC outside MSYS | BORLANDC_COMP_FLAGS = -P -c -O2 |
Building Harbour 3.4 for BCC outside MSYS | Try these:
[code=fw:2gemhlu9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">-6</span><br />-DHB_GUI<br />-DHB_INCLUDE_WINEXCHANDLER<br />-DHB_NO_PROFILER<br />-DHB_NO_TRACE<br />-DHB_WIN32_IO<br />-Ie:\bcc\include\windows\crtl;e:\bcc\include\windows\sdk;e:\bcc\include\dinkumwar... |
Building Harbour 3.4 for BCC outside MSYS | Anyway, -P and -TP instruct the compiler to always compile in C++ mode and I don't think this is right.
EMG |
Building Harbour 3.4 for BCC outside MSYS | Enrico
I desperately tried to make the MSVC Command line binaries work with xHarbour .. unfortunately, I could not make BuildxM work and gave up. The final result was I could create the .exe but the program would not run .. there was no warning message .. the .exe would do nothing when you ran it.
I like the idea of ... |
Building Harbour 3.4 for BCC outside MSYS | Rick,
please look back in this thread. I reported a batch that works perfectly with MSVC 2017, FWH and xHarbour. Try it and let me know the result.
EMG |
Building Harbour 3.4 with emscripten | From OSX: [url:2y9bux6z]https://webassembly.org/getting-started/developers-guide/[/url:2y9bux6z]
git clone <!-- m --><a class="postlink" href="https://github.com/juj/emsdk.git">https://github.com/juj/emsdk.git</a><!-- m -->
cd emsdk
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh --build=R... |
Building Harbour 3.4 with emscripten | Hola Antonio,
Sí, leí la noticia en el grupo de usuarios de harbour, cliqueé el enlace y más o menos pude entender que se trataría de un compilador para javascript... o eso creo...
<!-- m --><a class="postlink" href="https://groups.google.com/forum/#!topic/harbour-users/7Ixe2UrXOec">https://groups.google.com/forum/#... |
Building Harbour 3.4 with emscripten | Paco,
emscripten y webassembly permiten compilar código en C y ejecutarlo en el navegador.
Lo he estado probando y el tamaño del resultado es enorme frente al tamaño del código C usado
En principio nos permitiría poder ejecutar Harbour desde el propio navegador. Me refiero a compilar PRGs.
Mi interés por este tema... |
Building Harbour for Android from OSX | go_android.sh
[code=fw:316428w0]<div class="fw" id="{CB}" style="font-family: monospace;">export HB_PLATFORM=android<br />export HB_COMPILER=clang<br />export HB_CCPREFIX=/Users/anto/<span style="color: #0000ff;">Library</span>/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/<br />export HB_INSTALL_PREFIX... |
Building Harbour for Android from OSX | Building qtcontribs for Android from OSX:
[url:1cdpw1z4]https://groups.google.com/forum/#!topic/qtcontribs/7pIc-AaHzEA[/url:1cdpw1z4]
As QT Creator changes as Android Studio, etc. change too, the best way to find the right flags is to create a project with QT Creator and review the used flags in the gener... |
Building Harbour for Android from OSX | There were some errors in my previous post. This one is ok:
[url:1vovwhcf]https://groups.google.com/d/msg/qtcontribs/7pIc-AaHzEA/EMoyHzJ5CAAJ[/url:1vovwhcf]
You may download the Harbour and qtcontribs libraries for Android already built from here:
[url:1vovwhcf]https://github.com/FiveTechSoft/harb... |
Building Harbour from the iPhone/iPad | [url:1obpk4xl]http://code.google.com/p/fivephone/wiki/Build_Harbour_from_iPhone_iPad[/url:1obpk4xl]
[img:1obpk4xl]http://img190.imageshack.us/img190/2340/screenshot20110409at248.png[/img:1obpk4xl]
[img:1obpk4xl]http://img23.imageshack.us/img23/7803/screenshot20110409at254.p... |
Building Harbour from the new GIT repository | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=143698#p143698">viewtopic.php?p=143698#p143698</a><!-- l --> |
Building Harbour gtxwc (libgtxwc.a) | In order to test X11 you need to install this on termux:
pkg install libx11-dev
to build Harbour examples:
../bin/android/gcc/hbmk2 testx11 -lX11 |
Building Harbour gtxwc (libgtxwc.a) | In harbour/src/rtl/gtxwc: (X11 GT driver)
gcc -c gtxwc.c -I../../../include
ar q libgtxwc.a gtxwc.o
ranlib libgtxwc.a
To use hbmk2 with gtxwc: (from harbour/tests)
../bin/linux/gcc/hbmk2 hello -gtxwc |
Building Harbour gtxwc (libgtxwc.a) | Testing X11 [b:2j6j53ep]without[/b:2j6j53ep] gtxwc
Xlib manual:
[url:2j6j53ep]https://tronche.com/gui/x/xlib/[/url:2j6j53ep]
[url:2j6j53ep]http://www.lsi.us.es/cursos/xlib.html#toc2[/url:2j6j53ep]
testx11.prg
[code=fw:2j6j53ep]<div class="fw" id="{CB}" style="font-family: monospace;"><span... |
Building Harbour gtxwc (libgtxwc.a) | X11.prg
[code=fw:29ezhfho]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? XOpenDisplay<span style="color: #000000;">(</span><span style="color: #... |
Building Harbour gtxwc (libgtxwc.a) | X11 MsgInfo()
X11_msg.prg
[code=fw:2dmkzndq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000... |
Building Harbour gtxwc (libgtxwc.a) | In order to test X11 you need [url=https://techlarhome.com/:3a4o4egv]technology[/url:3a4o4egv]
to install this on termux: |
Building HaruPDF for xHarbour commercial | [url:1sk0srto]https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harupdf_for_xhbcom.zip[/url:1sk0srto]
[url:1sk0srto]https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harupdf_xhbcom_makes.zip[/url:1sk0srto] |
Building Scintilla.framework as Universal binary | Xcode 3.2.5 has to be used as it is the latest xcode that allows Universal binary creation.
Xcode 3.2.5 can be downloaded from here:
[url:1uyad9vl]https://developer.apple.com/downloads[/url:1uyad9vl]
Before building the Scintilla.framework (included in Scintilla download file), in the project properties, ... |
Building Scintilla.framework as Universal binary | [url:17kq4ggd]https://groups.google.com/forum/?fromgroups#!topic/scintilla-interest/3VyXuZ9yfZA[/url:17kq4ggd] |
Building TensorFlow using Borland 7 32 bits | For 64 bits you can simply download the TensorFlow.dll from here:
[url:24ftxljg]http://ci.tensorflow.org/view/Nightly/job/nightly-libtensorflow-windows/[/url:24ftxljg]
git.exe clone --progress -v "https://github.com/tensorflow/tensorflow" "C:\tensorflow"
If you use TortoiseGit then simply use <!-- m --><a... |
Building TensorFlow using Borland 7 32 bits | [quote:1p0d9d0u]c:\tensorflow>c:\bcc7\bin\bcc32 -c -Ithird_party/eigen3 tensorflow/c/c_api.cc
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
tensorflow/c/c_api.cc:
Warning W8105 tensorflow/c/c_api.h 946: Constant member 'TF_WhileParams::ninputs' in class without constructors
Warni... |
Building TensorFlow using Borland 7 32 bits | Modifying c:\tensorflow\third_party\eigen3\unsupported\Eigen\CXX11\Tensor this way, it continues until next error
// #include "unsupported/Eigen/CXX11/Tensor"
#ifdef _WIN32
#ifndef SLEEP_FUNC_HEADER_GUARD
#define SLEEP_FUNC_HEADER_GUARD
#include <windows.h>
inline void sleep(unsigned int seconds) { Sleep(1000*seconds... |
Building TensorFlow using Borland 7 32 bits | At c:\tensorflow\tensorflow\core\framework\ I created a dummy file allocation_description.pb.h
allocation_description.pb.h
// dummy
it continues... |
Building TensorFlow using Borland 7 32 bits | Trying to build it using MinGW gcc:
go.bat
[code=fw:18l36mnd]<div class="fw" id="{CB}" style="font-family: monospace;">set path=c:\Qt\Tools\mingw530_32\bin<br />gcc -std=c+<span style="color: #000000;">+11</span> -I. -Ithird_party\eigen3 tensorflow/c/c_api.cc</div>[/code:18l36mnd]
These files are missing and must be ... |
Building TensorFlow using Borland 7 32 bits | [url:1l7k4ox8]https://stackoverflow.com/questions/45579072/compiling-tensorflow-api-c-cc-using-mingw-gcc[/url:1l7k4ox8] |
Building TensorFlow.dll 64 bits | 0. Clone tensorflow repository from GitHub:
git.exe clone "https://github.com/tensorflow/tensorflow" "C:\tensorflow"
1. Go to c:\tensorflow\tensorflow\contrib\cmake
2. Create a build folder
3. cd build and create and run this file:
go.bat
[code=fw:7jx3y53d]<div class="fw" id="{CB}" style="font-family: monospace;">... |
Building TensorFlow.dll 64 bits | With this go.bat file also works fine:
go.bat
[code=fw:1tzxe4ic]<div class="fw" id="{CB}" style="font-family: monospace;">call <span style="color: #ff0000;">"%ProgramFiles(x86)%<span style="color: #000000;">\M</span>icrosoft Visual Studio 14.0<span style="color: #000000;">\V</span>C<span style="color: #000000;">\v</sp... |
Building TensorFlow.dll 64 bits | Here you have the created files:
[url:39fy9lu7]https://bitbucket.org/fivetech/tensorflow/downloads/tensorflow_build_files.zip[/url:39fy9lu7]
I have also forked the original TensorFlow project on GitHub and I have commited the created files:
[url:39fy9lu7]https://github.com/FiveTechSoft/tensorflow... |
Building TensorFlow.dll 64 bits | Original creation notes from Google are here:
[url:22cqg5hc]https://github.com/FiveTechSoft/tensorflow/tree/master/tensorflow/contrib/cmake[/url:22cqg5hc] |
Building a Array from Numeric values in Textfile ? | Hello,
I want to create a Array from numeric values of a Text-file
That makes it possible, to save and restore multiselected records from xBrowse
but getting a error :
Selected Records saved to a Textfile :
[img:2vrfek4a]http://www.pflegeplus.com/pictures/NArray1.jpg[/img:2vrfek4a]
[code=fw:2vrfek... |
Building a Array from Numeric values in Textfile ? | You might try mlcount() -1 to verify if the eof character is the culprit. Or replace CRLF with hb_osnewline(). Pure guess!
Aparently there is no codeblock in aSelRec := oBrw:aSelected, so why do you add them to aLines?
[code=fw:237uurz2]<div class="fw" id="{CB}" style="font-family: monospace;">AAdd<span style="color: #... |
Building a LIB file | Hi,
Its been a while since I've have to rebuild a LIB file ...
I need to make a new Adordd.lib to match my version of xharbour.
Could someone be so kind as to provide the instructions on how to do this <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.