messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2009-11-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Davide,\n\nThis may help:\n\n[url:12ntdaqd]http://support.microsoft.com/kb/73234/en-us/[/url:12ntdaqd]", "time": "20:22", "topic": "BuildCommDCB: flow control strings", "username": "Antonio Linares" } ]
BuildCommDCB: flow control strings
[ { "date": "2015-07-09", "forum": "FiveTouch", "text": "If you are building and testing FiveTouch apk this might save a couple of steps.\nPrevious steps to get updated apk on phone.\n[list:3sunprfw]Build apk with qtcreator\nlocate and copy apk to new location and name.\ncreate email and attach apk.\nthen wait for phone to read email and install app.\n[/list:u:3sunprfw]\nNew steps\n[list:3sunprfw]Build apk with qtcreator\nclick link on phone\ndownload and install new version[/list:u:3sunprfw]\n\nI added a custom make process to copy apk to new location with new name.\nThe new location is actually a virtual directory on web server.\nSo after the build I just have to click link on phone and it downloads new apk.\nHere is the custom make process.\n[img:3sunprfw]http://www.wwrowland.com/private/it/FiveTouchCopyCustomProcess.png[/img:3sunprfw]\nThis is the copyapk.bat in c:\\fivetouch\n[img:3sunprfw]http://www.wwrowland.com/private/it/CopyApkBat.png[/img:3sunprfw]\nIn order to download apk from web site you may need to add mime type for .apk\nHere is the mime type info.\nExtension: .apk\nMIME type: application/vnd.android.package-archive\n\nNow i can just build, click on link to download, and install new version.", "time": "21:55", "topic": "Building APK suggestion", "username": "Gale FORd" } ]
Building APK suggestion
[ { "date": "2015-07-09", "forum": "FiveTouch", "text": "Gale,\n\nSimple and great!\n\nThanks for sharing it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "22:03", "topic": "Building APK suggestion", "username": "Antonio Linares" } ]
Building APK suggestion
[ { "date": "2014-12-02", "forum": "Off Topic / Otros temas", "text": "First tests, and first difficulties <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[url:paga6at0]http&#58;//forums&#46;xamarin&#46;com/discussion/28832/what-files-to-copy-to-the-device-in-order-to-run-an-app#latest[/url:paga6at0]\n\n[url:paga6at0]http&#58;//forums&#46;xamarin&#46;com/categories/android[/url:paga6at0]", "time": "09:51", "topic": "Building Android apps from Visual Studio Community", "username": "Antonio Linares" } ]
Building Android apps from Visual Studio Community
[ { "date": "2014-12-02", "forum": "Off Topic / Otros temas", "text": "[i:3ukqn84i]I am using Visual Studio Community, built an android app and generated the debug version (can't build the release version, always fails, don't know why). Once it is created I have these files:\n\nApp1.App1.apk App1.App1-Signed.apk App1.dll App1.dll.mdb App1.pdb\n\nHow can I copy those files to an Android phone to test it ? thanks\n[/i:3ukqn84i]\n\nAntonio Como yo veo, tienes dos instaladores que son los que terminan en APK\nuno normal y otro firmado.\n\nPara instalarlos yo utilizo el ADB de android\n\n[code=fw:3ukqn84i]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />adb install App1.App1.apk<br /> </div>[/code:3ukqn84i]\n\nEl ADB es parte del sdk de android", "time": "12:17", "topic": "Building Android apps from Visual Studio Community", "username": "pablovidal" } ]
Building Android apps from Visual Studio Community
[ { "date": "2014-12-02", "forum": "Off Topic / Otros temas", "text": "hack: Antonio, otra forma es: mándatelos por correo electronico y al descargarse se instalan solos. Si ya sé que hay que buscar otra forma... pero al principio conviene ir avanzando <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "13:11", "topic": "Building Android apps from Visual Studio Community", "username": "hmpaquito" } ]
Building Android apps from Visual Studio Community
[ { "date": "2009-01-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nDoes somebody know as building a dll of resources using xMate ?\n\nTheconfig file in *.mak file is\n\n[code:202hn7wz]makepath&#91;&#46;dll&#93;=\"&#46;\\dll\" \nmakepath&#91;&#46;res&#93;=\"&#46;\\res\" \n\n&#46;rc&#46;dll&#58; \n bcc32 -c -o&#46;\\dll\\screen32&#46;obj &#46;\\dll\\screen32&#46;hc \n brc32 -r $< \n ilink32 /Tpd c0d32&#46;obj &#46;\\dll\\screen32&#46;obj, &#46;\\dll\\$*&#46;dll,,cw32&#46;lib import32&#46;lib,, &#46;\\dll\\$*&#46;res \n\n&#46;rc&#46;res&#58; \n brc32 -r $< [/code:202hn7wz]\n\nThanks.", "time": "10:43", "topic": "Building Dll using xMate", "username": "Carles" } ]
Building Dll using xMate
[ { "date": "2013-07-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I would like to be able build fivewin locally using harbour 3.2. I happen to be using MSVC at the moment, but I use BCC and mingw as well. I keep running into the following problem:\n\nCompiling 'classes\\dbm.prg'...\nclasses\\dbm.prg(38) Error E0030 Syntax error \"syntax error at 'ODICT'\"\nclasses\\dbm.prg(51) Error E0030 Syntax error \"syntax error at 'AFIELDS'\"\n2 errors\nNo code generated.\n\nThe error each time is for a line as follows:\n\nBYNAME oDict\n\nI see that this is defined in:\n\n#include \"Objects.ch\"\n\nWhich is included in FiveWin.ch, but I can't clear the error even if I explicitly add Objects.ch to dbm.prg. Please note that dbm.prg is just the first prg I get to with this error, there are quite a few others with the same issue.\n\nI've run out of things to look for and haven't figured this one out. Any insight into what is going on here would be most appreciated. \n\nBest regards,\n\nRobb", "time": "20:55", "topic": "Building FWH", "username": "rhlawek" } ]
Building FWH
[ { "date": "2013-07-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Robb,\n\nThats an old FW 16 bits file that should not be there, we are sorry.\n\nWe are going to delete it right now, thanks", "time": "21:02", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-26", "forum": "FiveWin for Harbour/xHarbour", "text": "The same applies for dbms.prg", "time": "21:04", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I've now renamed both of those files in my local copy.\n\nNext error:\n\nCompiling 'classes\\ddeserv.prg'...\nclasses\\ddeserv.prg(11) Error F0029 Can't open #include file 'DdeFV.ch'\n\nI don't see that .ch file anywhere. I've worked around it temporarily by commenting out the include line in ddeserv.prg. I assume this is just a missing file in the 13.06 distribution, but that is just a guess.\n\nNext error:\n\nCompiling 'classes\\dialog.prg'...\nclasses\\dialog.prg(521) Error E0030 Syntax error \"syntax error at 'STATIC'\"\nclasses\\dialog.prg(524) Error E0030 Syntax error \"syntax error at 'STATIC'\"\nclasses\\dialog.prg(526) Error E0030 Syntax error \"syntax error at 'STATIC'\"\n3 errors\n\nThese are due to the following declarations. As it is a syntax error I'm assuming it is another improperly referenced .ch file. But, as I am compiling this with msvc, I am not sure there isn't still going to be an issue even if the syntax error is corrected.\n//----------------------------------------------------------------------------//\n// Conection with Borland's VBX DLL - at run-time !!!\n\nDLL STATIC FUNCTION VbxInitDialog( hWnd AS WORD, hInstance AS WORD,;\n cResName AS STRING ) AS BOOL PASCAL LIB \"BIVBX10.DLL\"\n\nDLL STATIC FUNCTION VbxInit( hInstance AS WORD, cPrefix AS STRING ) ;\n AS BOOL PASCAL LIB \"BIVBX10.DLL\"\n\nDLL STATIC FUNCTION VbxTerm() AS VOID PASCAL LIB \"BIVBX10.DLL\"", "time": "21:54", "topic": "Building FWH", "username": "rhlawek" } ]
Building FWH
[ { "date": "2013-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Robb,\n\nPlease check that you are using the right DLL.ch\n\nDialog.prg should compile fine with no errors at all.\n\nBest regards\n\nAntonio", "time": "08:28", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Robb\n\nVbx is for 16 bits only, it will not run on 32 bits\n\nHth\n\nRichard", "time": "09:15", "topic": "Building FWH", "username": "Richard Chidiak" } ]
Building FWH
[ { "date": "2013-07-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nI understand and agree. \n\nSince that last email I have commented out a number files and renamed them .orignal, starting with dbm.prg and dbms.prg as Antonio suggested was proper. I still have to review the complete list of those validate myself, but I think I don't use them, at least not directly. Internally by FW, I have no idea yet. I commented out anything with odbc in its name, as well as anything with sql in its name. I do use some of these features, but I get get much of this from harbour itself. I can provide that list.\n\nI have quite a number of edits of files where structures are used, here just adding \"CStruct.ch\" to compliment the already present \"Struct.ch\" fixes most issues. There is still a problem with member strings, this coded uses syntax MEMBER variable AS STRING LEN nn, but LEN nn throws and error under harbour. I use structures in another program and I don't recall this being an issue there so I'll be looking for a configuration issue on my end. For now I've just commented out // LEN\n\nI simply commented out all calls to DLL or DLL32. I'm sure I've disabled a great number of things doing so, but as pointed out, it may not be relevant if they are 16 bit extensions. I'm sure the syntax error is an easy fix, but its the figuring out if they are relevant part that matters. I'm guessing DLL files aren't files I use anyway, but possibly all DLL32 could be used.\n\nI can't that I've tested the outcome, but I at least got it to compile, or I got all the .prg code to compile. I have a number of .c files that won't compile, but appear to be critical, at least by name. This group of errors may be c compiler switch related, so I need to review any errors there. \n\nI am currently trying to build use my .prg lib with the FWH provided FiveHC.lib to do some testing that way.\n\nAntonio, if any of this is helpful outside my personal interest I'll continue to share what I find on this thread. If not of general interest I'll get on with my testing and open discrete problems. If this is helpful for improving things overall, I'm more than happy to share, and learn.\n\nRobb", "time": "03:10", "topic": "Building FWH", "username": "rhlawek" } ]
Building FWH
[ { "date": "2013-07-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Robb,\n\nYou don't need to modify the FWH sources to compile. If they are not compiling fine is because you are not providing the right path to the header files to use, or a wrong Harbour version, etc.\n\nNo need at all to use \"CStruct.ch\". Please let us know what errors you get when compiling and we will try to find what is going on on your side, thanks", "time": "07:31", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-28", "forum": "FiveWin for Harbour/xHarbour", "text": "I don't want to edit any FWH files, or any harbour files either for that matter. I'm just trying to get a valid build and there are some things in the way.\n\nAll the headers in question have appropriate paths to them. I can compile anything and everything I wrote, it is only a few files in fwh causing me issues.\n\nWithout #include \"CStruct.ch\"\n\nCompiling 'classes\\twebcam.prg'...\nclasses\\twebcam.prg(200) Warning W0001 Ambiguous reference 'DWORD'\nclasses\\twebcam.prg(201) Warning W0001 Ambiguous reference 'BOOL'\nclasses\\twebcam.prg(202) Warning W0001 Ambiguous reference '_INT'\nclasses\\twebcam.prg(203) Warning W0001 Ambiguous reference 'BOOL'\nclasses\\twebcam.prg(204) Warning W0001 Ambiguous reference 'DWORD'\n...\n\nWith #include \"CStruct.ch\" i get an ambiguous references, as folllows for example:\n\nCompiling 'classes\\reg32.prg'...\nclasses\\reg32.prg(129) Warning W0001 Ambiguous reference 'DWORD'\nclasses\\reg32.prg(201) Warning W0001 Ambiguous reference 'DWORD'\n\nor \n\nCompiling 'classes\\twebcam.prg'...\nclasses\\twebcam.prg(267) Warning W0001 Ambiguous reference 'STRING'\n\nWhere that latter line errors occur on lines as follows:\n\nMEMBER oXYScroll AS STRING LEN 8\n\nI looked for where DWORD is defined and found it in wintypes.ch, but then found that wintypes.ch itself includes cstruct.ch, so I removed the reference to cstruct.ch and added wintypes.ch and cleared all errors in this regard, with the exception of one type, \n\nCompiling 'classes\\twebcam.prg'...\nclasses\\twebcam.prg(267) Warning W0001 Ambiguous reference 'STRING'\n\nThis one appears to me to be a conflict between FWH and harbour.\n\nFivewin includes this in struct.ch as follows:\n\n#xcommand MEMBER <cName> AS <type> ;\n [ LEN <nLen> ] ;\n [ INIT <uValue> ] ;\n => ;\n ThisStruct():AddMember( <(cName)>, <type>, <nLen> ) ;\n [ ; ThisStruct():SetMember( Len( ThisStruct():aMembers ), <uValue> ) ]\n\nharbour defines it in cstruct.ch as:\n\n#xcommand MEMBER <!elem!> AS <!stru!> => ;\n hb_Member( #<elem>, hb_CStructureId( #<stru>, .F. ) )\n\nI don't see this as a problem problem in my code when I use the prebuilt fwh libraries you provide, but I don't use anything that uses this member syntax. It seems to me that including \"wintypes.ch\" is the correct way to resolve the ambiguous references, but that introduces CStruct.ch which in turn seems to bring in the conflict noted above. If there is another more proper header to use for building fwh I'll be happy to switch to that.\n\nI also note that FWH itself redefines DWORD a itself, not sure the ramifications of that, if any.\n\n---------- DLL.CH\n #define DWORD 12", "time": "23:39", "topic": "Building FWH", "username": "rhlawek" } ]
Building FWH
[ { "date": "2013-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Robb,\n\nDWORD, BOOL, _INT, etc. are defined inside FWH include/dll.ch\n\nIt seems to me as you are using a wrong dll.ch. This used to happen with xbase++ users as xbase++ provides a DLL.ch, different from FWH one, and xbase++ may have changed your paths.\n\nTWebcam.prg compiles here fine with no warnings at all. Please check for that wrong dll.ch and set your paths accordingly, thanks", "time": "10:13", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Also, those names make no conflict with C compilers same names, as FWH names are used from PRG level only, not from C.\n\nWe should use FW_DWORD, FW_BOOL, etc. so this way we avoid any possible conflict, but we can not avoid the use of a wrong CH file. Maybe we could do:\n\n#include \"dll.ch\"\n\n#ifndef DWORD\n #error You are using a wrong DLL.CH \n#endif\n\nNot sure how to issue an error from the Harbour preprocessor. Going to search for it...", "time": "10:37", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2013-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, that way:\n\n#error whatever...", "time": "11:03", "topic": "Building FWH", "username": "Antonio Linares" } ]
Building FWH
[ { "date": "2007-08-02", "forum": "FiveLinux / FiveDroid (Android)", "text": "In gedit, go to \"Edit\", \"Preferences\". Then select \"plugins\" and check\n\"External tools\".\n\nThen go to \"Tools\", \"External tools...\" and add a new tool:\n\nname it: \"FiveLinux\"\ndescription: \"FiveLinux\"\nshortcut key: (press) F5\nCommand(s):\n#!/bin/sh\nname=$GEDIT_CURRENT_DOCUMENT_NAME;\nfile=${name%.*};\n./build.sh $file;\n\ninput: current document\noutput: display in bottom pane\n\nThat's all <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:47", "topic": "Building FiveLinux applications from \"gedit\"", "username": "Antonio Linares" } ]
Building FiveLinux applications from "gedit"
[ { "date": "2007-08-02", "forum": "FiveLinux / FiveDroid (Android)", "text": "[url=http&#58;//imageshack&#46;us:vxbdb4hu][img:vxbdb4hu]http&#58;//img464&#46;imageshack&#46;us/img464/6408/screenshot1iu8&#46;png[/img:vxbdb4hu][/url:vxbdb4hu]", "time": "10:55", "topic": "Building FiveLinux applications from \"gedit\"", "username": "Antonio Linares" } ]
Building FiveLinux applications from "gedit"
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "There is a HBIDE bug to be fixed on OSX, but besides that, we can already build FiveMac apps from HBIDE !!! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:3mwp5ut3]http&#58;//a&#46;imageshack&#46;us/img43/4604/picture2pz&#46;png[/img:3mwp5ut3]\n\nI used these settings for HBIDE (you can run it as a script or better do an auto load script in HBIDE):\nsettings.prg\n[code=fw:3mwp5ut3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> main<span style=\"color: #000000;\">&#40;</span> oIde <span style=\"color: #000000;\">&#41;</span><br /><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PATH\"</span>, hb_getEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"PATH\"</span> <span style=\"color: #000000;\">&#41;</span> +<br /><span style=\"color: #ff0000;\">\":/Users/anto/harbour/harbour/bin/darwin/gcc\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"HB_COMPILER\"</span>, <span style=\"color: #ff0000;\">\"gcc\"</span> <span style=\"color: #000000;\">&#41;</span><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"HB_USER_PRGFLAGS\"</span>, <span style=\"color: #ff0000;\">\"-i/Users/anto/fivemac/include\"</span>   <span style=\"color: #000000;\">&#41;</span><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"HB_USER_LDFLAGS\"</span>, <span style=\"color: #ff0000;\">\"-L/Users/anto/fivemac/lib -framework Cocoa\"</span> <span style=\"color: #000000;\">&#41;</span><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"HB_USER_LIBS\"</span>, <span style=\"color: #ff0000;\">\"five.lib fivec.lib\"</span> <span style=\"color: #000000;\">&#41;</span><br />  hb_setEnv<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"HB_GUI\"</span>, <span style=\"color: #ff0000;\">\"1\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />  MsgBox<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FiveMac settings loaded\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:3mwp5ut3]", "time": "09:22", "topic": "Building FiveMac apps from HBIDE !!!", "username": "Antonio Linares" } ]
Building FiveMac apps from HBIDE !!!
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Viktor propossed a better settings:\n\n[url:1jpja45k]http&#58;//groups&#46;google&#46;es/group/harbour-devel/browse_thread/thread/579a610cb92a0c93?hl=es#[/url:1jpja45k]", "time": "10:51", "topic": "Building FiveMac apps from HBIDE !!!", "username": "Antonio Linares" } ]
Building FiveMac apps from HBIDE !!!
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[quote=\"Antonio Linares\":brqplbeg]Viktor propossed a better settings:\n[url:brqplbeg]http&#58;//groups&#46;google&#46;es/group/harbour-devel/browse_thread/thread/579a610cb92a0c93?hl=es#[/url:brqplbeg][/quote:brqplbeg]\n\nAfter I made this:\n\n[quote:brqplbeg]If you move /Users/anto/fivemac/ to /Users/anto/harbour/harbour/addons/fivemac,\nyou can even use:\n\nhb_setEnv( \"HB_COMPILER\", \"gcc\" )\nhb_setEnv( \"HBMK_OPTIONS\", 'fivemac.hbc' )[/quote:brqplbeg]\n\nHBIDE didn't work anymore <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> After starting HBIDE hangs. Removing addons/fivemac didn't change anything. At the moment I didn't have enough time to find out what happened. I think it is better to wait till HBIDE is more stable (on Mac OS X)... I will concentrate on using gcc instead of Borland C on Windows first...", "time": "12:43", "topic": "Building FiveMac apps from HBIDE !!!", "username": "IBTC" } ]
Building FiveMac apps from HBIDE !!!
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Fixed a little HBIDE bug that was causing the edited source code not to be seen:\n\n[img:1b3zhpco]http&#58;//a&#46;imageshack&#46;us/img31/4673/picture3lj&#46;png[/img:1b3zhpco]", "time": "16:22", "topic": "Building FiveMac apps from HBIDE !!!", "username": "Antonio Linares" } ]
Building FiveMac apps from HBIDE !!!
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[img:306lk8kj]http&#58;//img408&#46;imageshack&#46;us/img408/9371/screenshot20100714at114&#46;png[/img:306lk8kj]", "time": "22:53", "topic": "Building FiveMac apps from HBIDE !!!", "username": "Antonio Linares" } ]
Building FiveMac apps from HBIDE !!!
[ { "date": "2010-07-13", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "download QT from here: \n[url:1txu69g4]http&#58;//get&#46;qt&#46;nokia&#46;com/qt/source/qt-mac-cocoa-opensource-4&#46;6&#46;3&#46;dmg[/url:1txu69g4] \n\ndo from the OSX terminal: \nexport HB_WITH_QT=/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers\n \nand from Harbour folder do: \nmake \n\nand Harbour get built with QT support <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> \nlibhbqt.a, libhbqtcore.a, libhbqtgui.a and libhbqtnetwork.a \n\nThen go to contrib/hbide and do:\n../../bin/darwin/clang/hbmk2 hbide.hbp", "time": "20:25", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Thanks for the instructions. It works great.", "time": "10:16", "topic": "Building HBIDE for OSX", "username": "IBTC" } ]
Building HBIDE for OSX
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Ruediger,\n\nCurrently there is a HBIDE bug that we have commented to Pritpal and it is that the source code text is not visible.\n\nhave you tried to type in HBIDE some source code lines ?", "time": "10:36", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[quote=\"Antonio Linares\":dtkl12pw]\nhave you tried to type in HBIDE some source code lines ?[/quote:dtkl12pw]\n\nAt the moment not, because of lack of time. Later I will go on with your other instructions: [url:dtkl12pw]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?t=19344[/url:dtkl12pw].", "time": "10:55", "topic": "Building HBIDE for OSX", "username": "IBTC" } ]
Building HBIDE for OSX
[ { "date": "2010-07-14", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Building it for OSX Leopard 32 bits (10.5.x):\n\ndo from the OSX terminal: \nexport HB_WITH_QT=/Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks/QtCore.framework/Headers\n\nand from Harbour folder do: \nmake \n\nThen go to contrib/hbide and do:\n../../bin/darwin/gcc/hbmk2 hbide.hbp", "time": "11:54", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2010-11-25", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[quote:ufy3vqrl]I have such a different prospective now after finally understanding.[/quote:ufy3vqrl]Thanks so much, I think it is finally clear to me.", "time": "10:12", "topic": "Building HBIDE for OSX", "username": "nathan82" } ]
Building HBIDE for OSX
[ { "date": "2010-11-25", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "It's still hard to believe...", "time": "10:22", "topic": "Building HBIDE for OSX", "username": "nathan82" } ]
Building HBIDE for OSX
[ { "date": "2012-01-26", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "[url][/url]Building it for OSX Lion (10.7.x):\n\ndownload QT from here: \n[url:1ni6zgm4]http&#58;//get&#46;qt&#46;nokia&#46;com/qt/source/qt-mac-cocoa-opensource-4&#46;6&#46;4&#46;dmg[/url:1ni6zgm4]\n\ndo from the OSX terminal: \nexport HB_WITH_QT=/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/QtCore.framework/Headers\n\nand from Harbour folder do: \nmake \n\nThen go to contrib/hbide and do:\n../../bin/darwin/clang/hbmk2 hbide.hbp", "time": "08:47", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2012-01-26", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "You can download it from:\n\n[url:39vxiph5]http&#58;//code&#46;google&#46;com/p/harbour-and-xharbour-builds/downloads/detail?name=hbide&#46;app&#46;zip&can=2&q=[/url:39vxiph5]", "time": "11:09", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2012-01-26", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Antonio .Seria posible una nueva version de Harbour para fiveMac ? , la que tenemos es bastante antigua.\nSaludos.", "time": "11:58", "topic": "Building HBIDE for OSX", "username": "mastintin" } ]
Building HBIDE for OSX
[ { "date": "2012-01-26", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Manuel,\n\nAqui la tienes, construida a fecha de hoy <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[url:38k9ma3z]http&#58;//code&#46;google&#46;com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_osx_lion_20120126&#46;zip&can=2&q=[/url:38k9ma3z]", "time": "15:54", "topic": "Building HBIDE for OSX", "username": "Antonio Linares" } ]
Building HBIDE for OSX
[ { "date": "2012-01-26", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Gracias. Esto es rapidez ....\nSaludos.", "time": "16:06", "topic": "Building HBIDE for OSX", "username": "mastintin" } ]
Building HBIDE for OSX
[ { "date": "2019-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "I'm trying to rebuild latest Harbour using this batch file\n[quote:ng07j26k]\nset HB_BUILD_DYN=no\nset HB_BUILD_CONTRIB_DYN=no\nset path=j:\\harbour\\bcc7\\bin\nwin-make.exe\n[/quote:ng07j26k]\n\nBut it aborted with this error. Any idea where I should start looking? TIA\n\n[code=fw:ng07j26k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />brcc32.exe  -I. -I../../../../../include   -foharbour.res ../../../harbour.rc<br />Borland <span style=\"color: #0000ff;\">Resource</span> Compiler  Version <span style=\"color: #000000;\">5.40</span><br />Copyright <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">1990</span>, <span style=\"color: #000000;\">1999</span> Inprise Corporation.  All rights reserved.<br /><br />Error harbour.rc <span style=\"color: #000000;\">18</span> <span style=\"color: #000000;\">11</span>: <span style=\"color: #000000;\">Cannot</span> open file: <span style=\"color: #000000;\">winver</span>.h<br />../../../../../config/rules.mk:<span style=\"color: #000000;\">110</span>: <span style=\"color: #000000;\">recipe</span> <span style=\"color: #00C800;\">for</span> target <span style=\"color: #ff0000;\">'harbour.res'</span> failed<br /> </div>[/code:ng07j26k]", "time": "11:03", "topic": "Building Harbour + BCC7.3", "username": "hua" } ]
Building Harbour + BCC7.3
[ { "date": "2019-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Hua,\n\nChange your PATH to this: ( Adjust the path to your )\n\n[code=fw:wgei4flu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">set path=d:\\bcc\\bin;d:\\bcc\\include;d:\\bcc\\lib;d:\\bcc\\lib\\psdk;d:\\hb\\bin;d:\\hb\\include;d:\\hb\\lib</div>[/code:wgei4flu]\n\nWhere the harbour will be installed\n[code=fw:wgei4flu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">set HB_INSTALL_PREFIX=d:\\hb</div>[/code:wgei4flu]\n\n[b:wgei4flu]NOTE:\nCheck the PATH inside files .CFG in your BCC\\BIN\\[/b:wgei4flu]\n\nAnd:\n\nwin-make clean\nwin-make install\n\n <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\" /><!-- s8) -->", "time": "16:18", "topic": "Building Harbour + BCC7.3", "username": "Lailton" } ]
Building Harbour + BCC7.3
[ { "date": "2019-04-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks for your reply Lailton.\n\nI tried a few things to make it work. These combo seems to do it.\n1. Copy BC7 to local drive instead of network drive\n2. Update bcc32.cfg and ilink32.cfg to reflect the relocation\n3. Overwrite unicows.lib in \\bc7\\lib\\psdk with the one in \\harbour\\lib\\3rd\\win\\bcc. If this is not done halfwy during compilation it'll abort saying unicows.dll not found", "time": "04:51", "topic": "Building Harbour + BCC7.3", "username": "hua" } ]
Building Harbour + BCC7.3
[ { "date": "2013-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[img:1vvqumfk]http&#58;//img41&#46;imageshack&#46;us/img41/9337/captureina&#46;png[/img:1vvqumfk]", "time": "18:07", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Required settings (in progress, refresh this)\n\nCreate a new project this way:\n[img:gjw5ie3l]http&#58;//img706&#46;imageshack&#46;us/img706/6686/captureuxv&#46;png[/img:gjw5ie3l]\n\nAdd your PRGs as explained here:\n[url:gjw5ie3l]https&#58;//code&#46;google&#46;com/p/fivewinrt/wiki/Compiling_PRGs_from_Visual_Studio_2012[/url:gjw5ie3l]\n\nLibraries to link:\n[img:gjw5ie3l]http&#58;//img824&#46;imageshack&#46;us/img824/838/captureqft&#46;png[/img:gjw5ie3l]\n\n[img:gjw5ie3l]http&#58;//img195&#46;imageshack&#46;us/img195/6883/capturees&#46;png[/img:gjw5ie3l]\n[img:gjw5ie3l]http&#58;//img839&#46;imageshack&#46;us/img839/4734/capturemex&#46;png[/img:gjw5ie3l]", "time": "18:26", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nIs .net framework required for compiled exe to be run?", "time": "19:28", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-05-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nNo, not at all <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "20:08", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-05-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\n\nGreat news\n\nwhich 2012 express did you chose ?\n\nVisual Studio Express 2012 for Windows 8\n\nor\n\nVisual Studio Express 2012 for Windows Desktop\n\nRichard", "time": "08:36", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Richard Chidiak" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-05-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nI use VIsual Studio 2012 Ultimate. I think it is the most complete one. I get it free thanks to the University <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[[img:frgslzbr]http&#58;//img594&#46;imageshack&#46;us/img594/4158/captureovh&#46;png[/img:frgslzbr]\n\nIn fact students get all the Microsoft products for free, including Windows, Windows servers, Visual Studio, etc:\n[url:frgslzbr]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?p=91275#p91275[/url:frgslzbr]", "time": "09:14", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nTrying to compile tutor02.prg in vs2012 as you written above. \n\nI could not find the Comctl32.lib, MSImg32.lib, OleDbg.lib and Version.lib.\n\nI got this error and can not build prg.\n\n[code=fw:96dvsv0e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">c:\\users\\hp\\documents\\visual studio <span style=\"color: #000000;\">2012</span>\\projects\\tutor02\\tutor02\\tutor02.c<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">78</span><span style=\"color: #000000;\">&#41;</span>: <span style=\"color: #000000;\">fatal</span> error C1010: <span style=\"color: #000000;\">unexpected</span> end <span style=\"color: #0000ff;\">of</span> file <span style=\"color: #00C800;\">while</span> looking <span style=\"color: #00C800;\">for</span> precompiled header. Did you forget <span style=\"color: #0000ff;\">to</span> add <span style=\"color: #ff0000;\">'#include \"stdafx.h\"'</span> <span style=\"color: #0000ff;\">to</span> your source?</div>[/code:96dvsv0e]\n\nAny help?\n\nThanks", "time": "15:13", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nThose libs are here:\n\nc:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Lib\\\n\nRemove the (x86) is you are using a Windows 32 bits.\n\nIn the VS2012 project properties select not to use precompiled headers", "time": "16:30", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIs it possible to zip tutor02 project files and send me?\n\nThanks.", "time": "18:05", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nHere you have it:\n[url:ix8j9xip]https&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=tutor02_VS2012&#46;zip[/url:ix8j9xip]\n\nA picture is worth a thousands words <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:ix8j9xip]http&#58;//img24&#46;imageshack&#46;us/img24/8564/2ttl&#46;png[/img:ix8j9xip]", "time": "03:44", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you Antonio,\n\nI have achieved to compile and run it. Is it faster than normal compile?", "time": "12:38", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nAll C compilers (and makes) are quite similar so its not a matter of speed, it is more a matter of using Microsoft tools, that it is something that each developer/company may assess in a different way.\n\nMicrosoft C provides a great low level debugger, which it is something very usefull on some (rare) ocassions, for example we can visually trace Harbour activity, how it boots, etc. It also includes a great low level profiler. These are very good tools that we don't have with Borland C (in fact, its getting harder to get the C compiler from Borland, as they don't allow redistribution of their free files, etc).\n\nAnd though I admit that gcc is a great tool, the fact that we have to install MinGW, and change many things related to the way we are used to work makes me think its a clever desition to use Microsoft Visual C, that we can easily get for free (express version) from Microsoft.", "time": "15:43", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio , \n\ngreat job\n\nworks with VS 2010 too\n[img:eptp4rad]http&#58;//img19&#46;imageshack&#46;us/img19/3570/saj0&#46;jpg[/img:eptp4rad]\n\nMaurizio\n\n<!-- m --><a class=\"postlink\" href=\"http://www.nipeservice.com\">http://www.nipeservice.com</a><!-- m -->", "time": "16:55", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Maurizio" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Maurizio,\n\nthanks for the feedback <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "18:55", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIs it posible to build applications with VS2012 or MSVC2012 using the build.bat file?.\n\nThanks", "time": "09:46", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "elvira" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "FWH provides samples/buildh32.bat to build Harbour and FWH apps using VS2010/2012 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:31", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, would somehow make our screens, (resources) within the VS?", "time": "13:03", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "norberto" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Norberto,\n\nI have not reviewed it yet, I will do it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:07", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nI have compiled and run the your tutor02 project file in debug mode. When I try to Release mode, it compiles and creates the exe file in Release directory but it does not work anymore. \n\nAny comment? Is exe that is compiled in debug mode safe for end user?\n\nI have also tried another computer with xp. I copied tutor02.exe (Debug). and try to run it. it requires MSVCR110d.dll to run it. After copying the dll file, it runs ok.\n\nI have also tried to release exe. The error message says that requires the MSVCR110.dll. I have found and copied to the path. but it does not run.\n\nRelease mode log:\n[code=fw:10lyidz1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">1</span>>------ Rebuild All started: <span style=\"color: #000000;\">Project</span>: <span style=\"color: #000000;\">tutor02</span>, Configuration: <span style=\"color: #0000ff;\">Release</span> Win32 ------<br /><span style=\"color: #000000;\">1</span>> &nbsp;tutor02.c<br /><span style=\"color: #000000;\">1</span>> &nbsp; &nbsp; Creating <span style=\"color: #0000ff;\">library</span> C:\\fwteam\\samples\\tutor02\\<span style=\"color: #0000ff;\">Release</span>\\tutor02.lib and object C:\\fwteam\\samples\\tutor02\\<span style=\"color: #0000ff;\">Release</span>\\tutor02.<span style=\"color: #0000ff;\">exp</span><br /><span style=\"color: #000000;\">1</span>>LINK : <span style=\"color: #000000;\">warning</span> LNK4098: <span style=\"color: #000000;\">defaultlib</span> <span style=\"color: #ff0000;\">'LIBCMT'</span> conflicts with use <span style=\"color: #0000ff;\">of</span> other libs; use /NODEFAULTLIB:<span style=\"color: #0000ff;\">library</span><br /><span style=\"color: #000000;\">1</span>> &nbsp;Generating code<br /><span style=\"color: #000000;\">1</span>> &nbsp;Finished generating code<br /><span style=\"color: #000000;\">1</span>> &nbsp;tutor02.vcxproj -> C:\\fwteam\\samples\\tutor02\\<span style=\"color: #0000ff;\">Release</span>\\tutor02.exe<br />========== Rebuild All: <span style=\"color: #000000;\">1</span> succeeded, <span style=\"color: #000000;\">0</span> failed, <span style=\"color: #000000;\">0</span> skipped ==========<br />&nbsp;</div>[/code:10lyidz1]\nThanks.", "time": "14:15", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nAny comment?", "time": "19:26", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nIt seems as we need to set some flag for not using the DLL, as if I build it using buildh32.bat I get an EXE that does not require such DLL.\n\nAlso, I have noticed what you have described for release mode. I don't know yet why such different behavior occurs.", "time": "21:29", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, yo he obtenido el mismo mensaje\n\nAntonio, I've got the same message\n\nSaludos - regards", "time": "21:46", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "cnavarro" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Cristobal,\n\nThe question is to find why there is such difference", "time": "07:51", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "..", "time": "10:50", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nThere is nothing else that I can say about it. Just do some research on the VS IDE, google for it, and try to find the differences.\n\nI will also try it here. In the meantime, you can build your app using buildh32.bat", "time": "11:18", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nI think I know where the difference may come from: \n\nFWH has been built using MSVC2010. Now I am organizing it to build it with MSVC2012, once it is ready\nI will check if the problem gets solved <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:42", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":29ejwyjd]Hakan,\n\nI think I know where the difference may come from: \n\nFWH has been built using MSVC2010. Now I am organizing it to build it with MSVC2012, once it is ready\nI will check if the problem gets solved <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->[/quote:29ejwyjd]\n\nThanks Antonio. \n\nwaiting.", "time": "12:54", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Building Harbour also with VS2012 this way:\n[code=fw:35cf221b]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />call <span style=\"color: #ff0000;\">\"%ProgramFiles(x86)%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio 11.0<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span><br />win-make.exe<br /> </div>[/code:35cf221b]\n\nnext, build FWH with VS2012...", "time": "13:01", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Harbour already built with VS2012 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nNow building FWH with VS2012. There is a missing file that I am trying to locate on VS2012:\n[quote:3418vsmo]fatal error C1083: Cannot open include file: 'tmschema.h': No such file or directory[/quote:3418vsmo]", "time": "16:47", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Solution found:\n#if _MSC_VER < 1700 // Before Visual Studio 2012\n#include <tmschema.h>\n#endif\n\n[url:3j57rc6s]https&#58;//code&#46;google&#46;com/p/evita-common-lisp/source/browse/listener/winapp/precomp&#46;h[/url:3j57rc6s]", "time": "16:50", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the right fix:\n\n[code=fw:26ibq2ru]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#if _MSC_VER < <span style=\"color: #000000;\">1700</span> <span style=\"color: #B900B9;\">// Before Visual Studio 2012</span><br /><span style=\"color: #00D7D7;\">#include</span> <tmschema.h><br />#else<br /><span style=\"color: #00D7D7;\">#include</span> <vsstyle.h><br />#endif</div>[/code:26ibq2ru]", "time": "16:54", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "FWH already built using VS2012 <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nA much simpler and more VS2012 friendly buildh32.bat\n\nbuildh32.bat\n[code=fw:27fumi7s]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style=\"color: #00C800;\">for</span> Harbour <span style=\"color: #000000;\">13.06</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> Jun. <span style=\"color: #000000;\">2013</span> &nbsp; &nbsp; Harbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2013</span> &nbsp; <span style=\"color: #00C800;\">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />call <span style=\"color: #ff0000;\">\"%ProgramFiles(x86)%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio 11.0<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%FWDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set FWDIR=.\\..<br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%HBDIR%\"</span> == <span style=\"color: #ff0000;\">\"\"</span> set HBDIR=c:\\harbour<br /><br />ECHO Compiling...<br /><br />set fwh=%FWDIR%<br />set hdir=%HBDIR%<br />set hdirl=%hdir%\\lib\\vc32<br />set sdkdir=%Windowssdkdir%Lib\\win8\\um\\x86<br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i%fwh%\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > comp.log <span style=\"color: #000000;\">2</span>> warnings.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO COMPILEERROR<br />@type comp.log<br />@type warnings.log<br /><br />cl -TP -W3 -c /I%hdir%\\include /GA %<span style=\"color: #000000;\">1</span>.c<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc rc.exe -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><br />echo %<span style=\"color: #000000;\">1</span>.obj &nbsp;> msvc.tmp<br /><br />echo %fwh%\\lib\\FiveH32.lib %fwh%\\lib\\FiveHC32.lib &nbsp;>> msvc.tmp<br /><br />echo %hdirl%\\hbrtl.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbvm.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\gtgui.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hblang.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbmacro.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbrdd.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\rddntx.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\rddcdx.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\rddfpt.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbsix.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbdebug.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbcommon.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbpp.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbcpage.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbwin.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbcplr.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbpcre.lib >> msvc.tmp<br />echo %hdirl%\\hbct.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\xhb.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\png.lib &nbsp;>> msvc.tmp<br />echo %hdirl%\\hbzlib.lib &nbsp;>> msvc.tmp<br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdirl%\\rddads.lib >> msvc.tmp<br />rem echo %hdirl%\\ace32.lib >> msvc.tmp<br /><br />echo kernel32.lib &nbsp;>> msvc.tmp<br />echo user32.lib &nbsp; &nbsp;>> msvc.tmp<br />echo gdi32.lib &nbsp; &nbsp; >> msvc.tmp<br />echo winspool.lib &nbsp;>> msvc.tmp<br />echo comctl32.lib &nbsp;>> msvc.tmp<br />echo comdlg32.lib &nbsp;>> msvc.tmp<br />echo advapi32.lib &nbsp;>> msvc.tmp<br />echo shell32.lib &nbsp; >> msvc.tmp<br />echo ole32.lib &nbsp; &nbsp; >> msvc.tmp<br />echo oleaut32.lib &nbsp;>> msvc.tmp<br />echo uuid.lib &nbsp; &nbsp; &nbsp;>> msvc.tmp<br />echo odbc32.lib &nbsp; &nbsp;>> msvc.tmp<br />echo odbccp32.lib &nbsp;>> msvc.tmp<br />echo iphlpapi.lib &nbsp;>> msvc.tmp<br />echo mpr.lib &nbsp; &nbsp; &nbsp; >> msvc.tmp<br />echo version.lib &nbsp; >> msvc.tmp<br />echo wsock32.lib &nbsp; >> msvc.tmp<br />echo msimg32.lib &nbsp; >> msvc.tmp<br />echo oledlg.lib &nbsp; &nbsp;>> msvc.tmp<br />echo psapi.lib &nbsp; &nbsp; >> msvc.tmp<br />echo gdiplus.lib &nbsp; >> msvc.tmp<br />echo winmm.lib &nbsp; &nbsp; >> msvc.tmp<br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> msvc.tmp<br /><br />link @msvc.tmp /nologo /subsystem:<span style=\"color: #000000;\">windows</span> /force:<span style=\"color: #000000;\">multiple</span> /NODEFAULTLIB:<span style=\"color: #000000;\">libc</span><br /><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built *<br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br />@del msvc.tmp<br /><br />:<span style=\"color: #000000;\">COMPILEERROR</span><br />@type comp.log<br />@type warnings.log<br />ECHO * Compiling errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO &nbsp; &nbsp;SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">&#91;</span>Program<span style=\"color: #000000;\">&#93;</span> &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /></span></div>[/code:27fumi7s]", "time": "17:38", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nAlready tested and the same problem: release version does not show, debug version runs fine.\n\nAnd right now I just realized that we can't debug the release version from the VS2012 IDE. Only the debug version can be debugged.\n\nI think traces should be placed in the Harbour boot to check how far we go, and why it is not showing. Thinking about\nthe best way to do this.", "time": "00:01", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nSolved! It is working fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nI compared the debug and release versions options that VS2012 use and noticed this difference:\n\"No whole program optimization\" used in the debug version and not in the release. Just change that option in the\nrelease version and it will work fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[img:40jv7qos]http&#58;//img27&#46;imageshack&#46;us/img27/5205/8yv0&#46;png[/img:40jv7qos]", "time": "00:42", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nHere it is the full project with the release and debug versions included (EXEs) so you can run them <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n[url:20qaywny]https&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=tutor02_msvc2012_ok&#46;zip[/url:20qaywny]", "time": "00:53", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nThank you very much for your effort.\n\nNow, it is time to port a small project to vs2012. I will start tomorrow.", "time": "20:27", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Horizon" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nPlease share with us your steps, difficulties, etc. thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:25", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\n Thanks a lot for giving news ideas to us..!\n\n So if this IDE works fine with FiveWin + Harbour + MSVC then we do not need any other IDE like xMate, USTUDIO. Please correct this if it is worng.\n\nThanks\nShridhar", "time": "13:29", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "shri_fwh" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Shridhar,\n\nyes, thats right. You can edit, build and run your app from Visual Studio 2012 Express <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nif you use the Visual Studio 2012 Pro then you can also edit your resources from it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> (this is not available in the Visual Studio 2012 Express).", "time": "13:49", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\n Thanks a lot for the valuable information...!\n\n I was about to buy USTUDIO IDE but now, first I have to try the MSVC IDE env. After I canl decide whether USTUDIO have to buy or not.\n\nThanks\nShridhar", "time": "12:37", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "shri_fwh" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2013-07-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Shridhar,\n\nStill it is missing the implementation of syntax coloring for PRGs. Surely there is a way but we need to google for it and see how easy or difficult it is <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "13:08", "topic": "Building Harbour + FWH apps from Visual Studio 2012", "username": "Antonio Linares" } ]
Building Harbour + FWH apps from Visual Studio 2012
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi All:\n\nAs we all know, Harbour developers are killing BCC support next year. Furthermore, Harbour 3.4, the superset of of original Harbour, does not provide tools to build the compiler without MSYS. Personally, I hate to use MSYS for Harbour creation.\n\nThose, particularly BCC users, who wish to try to build Harbour 3.4, I have made simple tools to create it without MSYS.\n\nFollowings are steps how to build Harbour 3.4 without MSYS:\n\n1. Download/clone the latest source code from [url:28epmzmq]https&#58;//github&#46;com/vszakats/harbour-core&#46;git[/url:28epmzmq]\n Copy the whole folders/files onto a working folder\n2. Download patches for Borland compiler. This is required because developers no longer support Borland compilers.\n Patches are very minimal, no functionality is affected. You may inspect the *.diff files on patches folders.\n Patches are available at: [url:28epmzmq]http&#58;//www&#46;mediafire&#46;com/file/6573m6tdgwizvid/patches&#46;zip[/url:28epmzmq]\n Unzip the patches into working folder, overwrite is required\n3. Make sure GIT.EXE is in your environment path. GIT is required to create version control file -> include\\_repover.txt\n4. Inspect/edit the content of make_bc.bat and make_bc64.bat as well to make sure that the the folder directories envars\n are existent on machine\n5. For 32-bit, at command prompt, execute: make_bc; you may direct output for log, by issuing: make_bc > bcc73.log\n For 64-bit, at command prompt, execute: make_bc64; you direct output for log, by issuing: make_bc64 > bcc7364.log\n6. You may find some warnings when building 64-bit version, but that's OK, and they are of 3rd party files\n7. To clean the build, issue: make_bc clean for 32-bit, or make_bc64 clean for 64-bit\n\nHave fun!\n\nps: I just added makefiles for: MSVC, GCC, and MSVC-CLANG", "time": "13:47", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Andi,\n\n[quote=\"andijahja\":3qjamkw9]As we all know, Harbour developers are killing BCC support next year.[/quote:3qjamkw9]\n\nI didn't know that. This is another good reason to quit using Harbour.\n\nEMG", "time": "14:39", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Enrico Maria Giordano" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Ciao Enrico,\n\nif you don't mind... what are the good reason you have to consider quitting Harbour? \nWhat do you recommend to use instead?\n\nKR", "time": "18:17", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Carlos Mora" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Essentially, the bad attitude of the developers. Personally, I'm using xHarbour.\n\nEMG", "time": "18:30", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Enrico Maria Giordano" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Harbour works great using Microsoft Visual Studio\n\nFurther more, Harbour 3.4 is not the official Harbour. It is just a Harbour fork developed by Viktor\n\nThere is no reason to worry at all <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nTime to consider to migrate to Microsoft Visual Studio", "time": "18:47", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Antonio Linares" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\n\nI have considered migrating to Visual Studio unfortunately just about every Windows 7 and Windows 10 update roll-up contains multiple dot net security patches ... I may have to eventually migrate to Visual Studio ... I just dislike polluting my machine with all the bloat of dot net.\n\nIf someone could extract out ONLY the C++ compiler\\Linker and load it as a stand alone compiler from visual studio I would probably jump in that direction.\n\nRick Lipkin", "time": "19:54", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Rick Lipkin" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rick Lipkin\":3rg6y3tc]Antonio\n\nI have considered migrating to Visual Studio unfortunately just about every Windows 7 and Windows 10 update roll-up contains multiple dot net security patches ... I may have to eventually migrate to Visual Studio ... I just dislike polluting my machine with all the bloat of dot net.\n\nIf someone could extract out ONLY the C++ compiler\\Linker and load it as a stand alone compiler from visual studio I would probably jump in that direction.\n\nRick Lipkin[/quote:3rg6y3tc]\n\nHi Rick:\n\nFollowings are links for the latest version of stand-alone MSVC 2017:\n\n32 bit:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/file/giv36323vxqoyqi/vc1532_commandline.7z\">http://www.mediafire.com/file/giv36323v ... andline.7z</a><!-- m -->\n\nMicrosoft (R) C/C++ Optimizing Compiler Version 19.11.25547 for x86\nCopyright (C) Microsoft Corporation. All rights reserved.\n\nusage: cl [ option... ] filename... [ /link linkoption... ]\n\n64 bit:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/file/8i0bqipwnqd5rln/vc1564_commandline.7z\">http://www.mediafire.com/file/8i0bqipwn ... andline.7z</a><!-- m -->\n\nMicrosoft (R) C/C++ Optimizing Compiler Version 19.11.25547 for x64\nCopyright (C) Microsoft Corporation. All rights reserved.\n\nusage: cl [ option... ] filename... [ /link linkoption... ]", "time": "20:22", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Andi\n\nBRILLIANT !! Now that's what I'm talking About <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> ... I may need some help getting the config correct and a working make file .. \n\nThanks\nRick Lipkin\n\n[img:7hzoidib]http&#58;//i63&#46;tinypic&#46;com/a2xi5e&#46;jpg[/img:7hzoidib]\n\n[img:7hzoidib]http&#58;//i63&#46;tinypic&#46;com/11kf6fr&#46;jpg[/img:7hzoidib]", "time": "20:52", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Rick Lipkin" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-25", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rick Lipkin\":1snqj8j9]Andi\n\nBRILLIANT !! Now that's what I'm talking About <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> ... I may need some help getting the config correct and a working make file .. \n\nThanks\nRick Lipkin\n\n[/quote:1snqj8j9]\n\nHi Rick:\n\nFollowings are examples, you may have to adjust to match your environment:\n\n32 bit:\n[code=fw:1snqj8j9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@echo off<br /><br />REM THIS IS MSVC VERSION<br />SET __VC__=<span style=\"color: #000000;\">15</span><br /><br />REM THIS IS <span style=\"color: #0000ff;\">WHERE</span> YOUR HARBOUR PATH IS<br />REM THIS IS <span style=\"color: #00C800;\">FOR</span> MY <span style=\"color: #00C800;\">PRIVATE</span> USE, <span style=\"color: #0000ff;\">ADJUST</span> IT ACCORDINGLY AS PER YOUR MACHINE<br />SET HARBOURDIR=..\\HRB-DEV<br />SET HARBOURLIB=%HARBOURDIR%\\lib\\VC%__VC__%<br />SET HARBOUREXE=%HARBOURDIR%\\bin\\VC%__VC__%\\harbour.exe<br /><br />REM THIS IS <span style=\"color: #0000ff;\">WHERE</span> WE PUT MSVC COMMAND LINE<br />REM I PLACE IT IN D:\\VC15<br />SET CC_DIR=D:\\VC%__VC__%<br /><br />SET _PATH=%PATH%<br />SET PATH=%CC_DIR%\\BIN;%PATH%<br />SET _MYLIB=fivehc32.lib fivehcm.lib rddads.lib hbziparc.lib hbmzip.lib hbzlib.lib hbrdd.lib hbsix.lib hbhsx.lib rddntx.lib rddcdx.lib rddfpt.lib hbrtl.lib hbvm.lib gtgui.lib hblang.lib hbmacro.lib hbcommon.lib hbpcre2.lib hbpp.lib hbwin32.lib hbct.lib hbcplr.lib<br />SET COMPILERLIBS=imm32.lib msimg32.lib gdiplus.lib uuid.lib psapi.lib iphlpapi.lib version.lib shell32.lib kernel32.lib user32.lib advapi32.lib gdi32.lib winspool.lib ole32.lib oleaut32.lib ws2_32.lib mpr.lib winmm.lib comctl32.lib comdlg32.lib<br /><br />REM THIS IS THE PATH <span style=\"color: #0000ff;\">TO</span> FWH<br />SET FWHDIR=..\\FWH<br />SET RESFILE=<br /><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%1\"</span> == <span style=\"color: #ff0000;\">\"\"</span> goto syntax<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.prg goto noexist<br /><span style=\"color: #00C800;\">if</span> not exist %HARBOUREXE% goto noharbour<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe del %<span style=\"color: #000000;\">1</span>.exe<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.c del %<span style=\"color: #000000;\">1</span>.c<br /><br />%HARBOUREXE% %<span style=\"color: #000000;\">1</span> /q0 /n /i%HARBOURDIR%\\include /i%FWHDIR%\\INCLUDE /gc3 /es2 /w /p<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.c goto end<br />CL -D__WIN32__ -DWIN32 -DHB_OS_WIN32 -I%CC_DIR%\\INCLUDE -I%FWHDIR%\\INCLUDE -I%HARBOURDIR%\\include -c -Fo%<span style=\"color: #000000;\">1</span>.obj %<span style=\"color: #000000;\">1</span>.c<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.obj goto end<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.res DEL %<span style=\"color: #000000;\">1</span>.res<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.rc RC /i%CC_DIR%\\INCLUDE /r /fo %<span style=\"color: #000000;\">1</span>.res %<span style=\"color: #000000;\">1</span>.rc<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.res set RESFILE=%<span style=\"color: #000000;\">1</span>.res<br />LINK /SUBSYSTEM:<span style=\"color: #000000;\">WINDOWS</span> /LIBPATH:%CC_DIR%\\LIB /LIBPATH:%HARBOURLIB% /OUT:%<span style=\"color: #000000;\">1</span>.exe %<span style=\"color: #000000;\">1</span>.obj %_MYLIB% %COMPILERLIBS% %RESFILE%<br /><br />:<span style=\"color: #000000;\">okay</span><br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.bak del %<span style=\"color: #000000;\">1</span>.bak<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe dir %<span style=\"color: #000000;\">1</span>.exe<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo.<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo %<span style=\"color: #000000;\">1</span>.exe succesfully built<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">syntax</span><br />echo.<br />echo Syntax: <span style=\"color: #000000;\">VC</span> program <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">do</span> not specify prg extension <span style=\"color: #000000;\">&#93;</span><br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">noexist</span><br />echo.<br />echo Cannot find %<span style=\"color: #000000;\">1</span>.prg file<br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">noharbour</span><br />echo.<br />echo Cannot find Harbour.exe<br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">end</span><br />set PATH=%_PATH%<br />set _PATH=<br />set HARBOUREXE=<br />set HARBOURLIB=<br />set HARBOURDIR=<br />set _MYLIB=<br />SET FWHDIR=<br />SET CC_DIR=<br />SET __VC__=<br />SET RESFILE=<br /> </div>[/code:1snqj8j9]\n\n64 bit:\n[code=fw:1snqj8j9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@echo off<br /><br />SET __VC__=<span style=\"color: #000000;\">1564</span><br />SET HARBOURDIR=..\\HRB-DEV<br />SET HARBOURLIB=%HARBOURDIR%\\lib\\VC%__VC__%<br />SET HARBOUREXE=%HARBOURDIR%\\bin\\VC%__VC__%\\harbour.exe<br />SET _PATH=%PATH%<br />SET CC_DIR=..\\VC%__VC__%<br />SET PATH=%CC_DIR%\\BIN;%PATH%<br />REM CHECK FWH FILE <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #00C800;\">FOR</span> MSVC64 AS FIVEH64.LIB AND FIVEHC64.LIB ARE JUST MY GUESS :<span style=\"color: #000000;\">&#41;</span><br />SET _MYLIB=fiveh64.lib fivehc64.lib  rddads.lib hbziparc.lib hbmzip.lib hbzlib.lib  hbrdd.lib hbsix.lib hbhsx.lib rddntx.lib rddcdx.lib rddfpt.lib hbrtl.lib hbvm.lib gtgui.lib hblang.lib hbmacro.lib hbcommon.lib hbpcre2.lib hbpp.lib hbwin32.lib hbct.lib hbcplr.lib<br />SET COMPILERLIBS=imm32.lib msimg32.lib gdiplus.lib uuid.lib psapi.lib iphlpapi.lib version.lib shell32.lib kernel32.lib user32.lib advapi32.lib gdi32.lib winspool.lib ole32.lib oleaut32.lib ws2_32.lib mpr.lib winmm.lib comctl32.lib comdlg32.lib<br /><br />SET FWHDIR=..\\FWH<br />SET RESFILE=<br /><br /><span style=\"color: #00C800;\">if</span> <span style=\"color: #ff0000;\">\"%1\"</span> == <span style=\"color: #ff0000;\">\"\"</span> goto syntax<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.prg goto noexist<br /><span style=\"color: #00C800;\">if</span> not exist %HARBOUREXE% goto noharbour<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe del %<span style=\"color: #000000;\">1</span>.exe<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.c del %<span style=\"color: #000000;\">1</span>.c<br /><br />%HARBOUREXE% %<span style=\"color: #000000;\">1</span> -D__64__ /q0 /n /i%HARBOURDIR%\\include /i%FWHDIR%\\INCLUDE /gc3 /es2 /w /p<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.c goto end<br />cl -D__WIN32__ -DWIN32 -DHB_OS_WIN_64 -D_WIN64 -I%CC_DIR%\\INCLUDE -I%FWHDIR%\\INCLUDE -I%HARBOURDIR%\\include -c -Fo%<span style=\"color: #000000;\">1</span>.obj %<span style=\"color: #000000;\">1</span>.c<br /><span style=\"color: #00C800;\">if</span> not exist %<span style=\"color: #000000;\">1</span>.obj goto end<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.res DEL %<span style=\"color: #000000;\">1</span>.res<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.rc rc /i%CC_DIR%\\INCLUDE /d__64__ /r /fo %<span style=\"color: #000000;\">1</span>.res %<span style=\"color: #000000;\">1</span>.rc<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.res set RESFILE=%<span style=\"color: #000000;\">1</span>.res<br />LINK /SUBSYSTEM:<span style=\"color: #000000;\">WINDOWS</span> /LIBPATH:%CC_DIR%\\LIB /LIBPATH:%HARBOURLIB% /OUT:%<span style=\"color: #000000;\">1</span>.exe %<span style=\"color: #000000;\">1</span>.obj %_MYLIB% %COMPILERLIBS% %RESFILE%<br /><br />:<span style=\"color: #000000;\">okay</span><br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.bak del %<span style=\"color: #000000;\">1</span>.bak<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe dir %<span style=\"color: #000000;\">1</span>.exe<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo.<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo %<span style=\"color: #000000;\">1</span>.exe succesfully built<br /><span style=\"color: #00C800;\">if</span> exist %<span style=\"color: #000000;\">1</span>.exe echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">syntax</span><br />echo.<br />echo Syntax: <span style=\"color: #000000;\">VC64</span> program <span style=\"color: #000000;\">&#91;</span> <span style=\"color: #00C800;\">do</span> not specify prg extension <span style=\"color: #000000;\">&#93;</span><br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">noexist</span><br />echo.<br />echo Cannot find %<span style=\"color: #000000;\">1</span>.prg file<br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">noharbour</span><br />echo.<br />echo Cannot find Harbour.exe<br />echo.<br />goto end<br /><br />:<span style=\"color: #000000;\">end</span><br />set PATH=%_PATH%<br />set _PATH=<br />set HARBOUREXE=<br />set HARBOURLIB=<br />set HARBOURDIR=<br />set _MYLIB=<br />SET FWHDIR=<br />SET RESFILE=<br />SET CC_DIR=<br />SET __VC__=<br /> </div>[/code:1snqj8j9]", "time": "22:38", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Andi\n\nThank you for your help .. going to work on this Monday morning.\n\nRick Lipkin", "time": "18:55", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Rick Lipkin" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Andi,\nhave you also a makefile-template for more then one .prg?", "time": "09:12", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "byte-one" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-30", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"byte-one\":2u419g74]Andi,\nhave you also a makefile-template for more then one .prg?[/quote:2u419g74]\nGünther,\n\nhbmk2 gives you smart make process as follows:\n\n[code=fw:2u419g74]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">console example:<br /><span style=\"color: #00C800;\">for</span> single program: <span style=\"color: #000000;\">hbmk2</span> -plat=win -comp=bcc -lhbmainstd program1.prg<br /><span style=\"color: #00C800;\">for</span> multi prg program: <span style=\"color: #000000;\">hbmk2</span> -plat=win -comp=bcc -lhbmainstd program1.prg program2.prg<br /><br />gui example:<br /><span style=\"color: #00C800;\">for</span> single program: <span style=\"color: #000000;\">hbmk2</span> -plat=win -comp=bcc -lhbmainwin program1.prg<br /><span style=\"color: #00C800;\">for</span> multi program: <span style=\"color: #000000;\">hbmk2</span> -plat=win -comp=bcc -lhbmainwin -lfive32 -lfivehc32 program1.prg program2.prg<br /><br />example <span style=\"color: #00C800;\">for</span> many prg with response file:<br /><span style=\"color: #000000;\">hbmk2</span> -plat=win -comp=bcc -lhbmainwin -lfive32 -lfivehc32 @myprog.lnk<br /><br />myprog.lnk is a <span style=\"color: #0000ff;\">text</span> file which list your prg, example:<br /><br />-- myprog.lnk --<br />program1.prg<br />propram2.prg<br />promram3.prg<br />-- myprog.lnk -- </div>[/code:2u419g74]\n\nThere are still many good features.\n\nfor more info: [url:2u419g74]https&#58;//github&#46;com/harbour/core/blob/master/utils/hbmk2/doc/hbmk2&#46;en&#46;md[/url:2u419g74]\n\nHope that helps.", "time": "10:57", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-11-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks, i will try!", "time": "20:58", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "byte-one" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-12-15", "forum": "FiveWin for Harbour/xHarbour", "text": "8,72 MB with BCC\n8,78 MB with MSC", "time": "15:14", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "byte-one" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-12-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Now i have tested hbmk2 but is showing the following error:\n[b:149w4ti8]Error: 'C:\\FWH\\LIB\\FIVEH32.LIB' enth\u0004lt einen ung ltigen OMF-Record, Typ 0x21 (m\u0006glicherweise COFF)\n[/b:149w4ti8] Is any solution?\n\nThe complete trace-output:\n\n[quote:149w4ti8]C:\\fwh\\samples>c:\\\\harbour\\bin\\hbmk2 -plat=win -comp=bcc -trace -lhbmainwin -Lc:\\\\fwh\\lib -lfiveh32 -lfivehc32 -incpath=c:\\\\fwh\\include testend.prg\nhbmk2: Harbour compiler command (embedded):\n(c:\\harbour\\bin\\harbour.exe) -n2 testend.prg -oC:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\\ -iC:\\Program Files\\Embarcadero\\Studio\\18.0\\Include -iC:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\dinkumware -iC:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\crtl -iC:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\rtl -iC:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\sdk -ic:\\harbour\\include -ic:\\fwh\\include -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__\nHarbour 3.2.0dev (r1703231115)\nCopyright (c) 1999-2016, <!-- m --><a class=\"postlink\" href=\"http://harbour-project.org/\">http://harbour-project.org/</a><!-- m -->\nCompiling 'testend.prg'...\nLines 4736, Functions/Procedures 1\nGenerating C source output to 'C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\\testend.c'... Done.\nhbmk2: C/C++ compiler command:\nbcc32.exe -c -q -CP437 -d -O2 -OS -Ov -Oc -Oi -6 -tWM -w -Q -w-sig- -n\"C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\" -I\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\" -I\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\dinkumware\" -I\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\crtl\" -I\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\rtl\" -I\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Include\\windows\\sdk\" -Ic:\\harbour\\include -Ic:\\fwh\\include \"C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\\testend.c\"\nC:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\\testend.c:\nhbmk2: Linker command:\nilink32.exe @C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\abb81w.lnk\nhbmk2: Linker script&#058;\n-Gn -Tpe -L\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Lib\";\"C:\\Program Files\\Embarcadero\\Studio\\18.0\\Lib\\PSDK\";c:\\harbour\\lib;c:\\\\fwh\\lib -ap c0x32.obj \"C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\hbmk_jeve4z.dir\\testend.obj\", testend.exe, nul, hbmainwin.lib fiveh32.lib fivehc32.lib hbextern.lib hbdebug.lib hbvm.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib iphlpapi.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib wininet.lib hbpcre.lib hbzlib.lib cw32mt.lib import32.lib, ,\nTurbo Incremental Link 6.75 Copyright (c) 1997-2016 Embarcadero Technologies, Inc.\nError: 'C:\\FWH\\LIB\\FIVEH32.LIB' enth\u0004lt einen ung ltigen OMF-Record, Typ 0x21 (m\u0006glicherweise COFF)\nhbmk2: Error: Running linker. 2\nilink32.exe @C:\\Users\\BYTE-ONE\\AppData\\Local\\Temp\\abb81w.lnk[/quote:149w4ti8]", "time": "21:06", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "byte-one" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-12-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Andi\n\nI have downloaded xHarbour MSVC 2015 from Mel's site ... I have attempted to modify BuildxM and when I try to compile Tutor01.prg I get the errors below. I would appreciate any help.\n\nThanks\nRick Lipkin\n\n[code=fw:3dfag4lg]<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> xHarbour <span style=\"color: #000000;\">17.07</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> July <span style=\"color: #000000;\">2017</span>    xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2017</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows 9x/NT/<span style=\"color: #000000;\">2000</span>/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />ECHO Compiling...<br /><br />set hdir=c:\\xharbourM<br />set vcdir=c:\\msvc17<br />set include=%vcdir%\\include;%hdir%\\include;%include%<br />set lib=%vcdir%\\lib;%hdir%\\vc\\lib;%lib%<br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i..\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > clip.log <span style=\"color: #000000;\">2</span>> warnings.log<br />@type clip.log<br />@type warnings.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PAUSE</span><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO EXIT<br /><br />%vcdir%\\bin\\cl -TP -W3 -c /GA %<span style=\"color: #000000;\">1</span>.c<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %vcdir%\\bin\\rc -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><br />echo %<span style=\"color: #000000;\">1</span>.obj  > msvc.tmp<br /><br />rem  c:\\Fwh1707\\lib\\Fivehmx.lib c:\\Fwh1707\\lib\\FiveHCM.lib  >> msvc.tmp<br />echo c:\\Fwh1707\\lib\\Fivehc32.lib c:\\Fwh1707\\lib\\FiveHCM.lib >> msvc.tmp<br /><br />echo %hdir%\\lib\\rtl.lib  >> msvc.tmp<br />echo %hdir%\\lib\\vm.lib  >> msvc.tmp<br />echo %hdir%\\lib\\gtgui.lib  >> msvc.tmp<br />echo %hdir%\\lib\\lang.lib  >> msvc.tmp<br />echo %hdir%\\lib\\macro.lib  >> msvc.tmp<br />echo %hdir%\\lib\\rdd.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbfntx.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbfcdx.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbffpt.lib  >> msvc.tmp<br />echo %hdir%\\lib\\hbsix.lib  >> msvc.tmp<br />echo %hdir%\\lib\\debug.lib  >> msvc.tmp<br />echo %hdir%\\lib\\common.lib  >> msvc.tmp<br />echo %hdir%\\lib\\pp.lib  >> msvc.tmp<br />echo %hdir%\\lib\\pcrepos.lib  >> msvc.tmp<br />echo %hdir%\\lib\\png.lib  >> msvc.tmp<br /><br />rem ... can not find this in xHarbourM<br />rem echo %hdir%\\lib\\hbzlib.lib  >> msvc.tmp<br /><br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdir%\\lib\\vc\\rddads.lib >> msvc.tmp<br />rem echo %hdir%\\lib\\vc\\ace32.lib >> msvc.tmp<br /><br />rem echo %vcdir%\\lib\\msvcrt.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\kernel32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\user32.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\gdi32.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\winspool.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\comctl32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\comdlg32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\advapi32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\shell32.lib   >> msvc.tmp<br />rem echo %vcdir%\\lib\\ole32.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\oleaut32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\uuid.lib      >> msvc.tmp<br />rem echo %vcdir%\\lib\\odbc32.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\odbccp32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\mpr.lib       >> msvc.tmp<br />rem echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp<br />rem echo %vcdir%\\lib\\oledlg.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\psapi.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\version.lib   >> msvc.tmp<br /><br />rem  microsoft C++ libs<br /><br />rem echo %vcdir%\\lib\\imm32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp <br />rem echo %vcdir%\\lib\\gdiplus.lib   >> msvc.tmp <br />echo %vcdir%\\lib\\uuid.lib      >> msvc.tmp <br />echo %vcdir%\\lib\\psapi.lib     >> msvc.tmp <br />rem echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp <br />echo %vcdir%\\lib\\iphlpapi.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\version.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\shell32.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\kernel32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\user32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\advapi32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\gdi32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\winspool.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\ole32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\oleaut32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\ws2_32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\mpr.lib       >> msvc.tmp<br />rem echo %vcdir%\\lib\\winmm.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\comctl32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\comdlg32.lib  >> msvc.tmp<br /><br />echo %vcdir%\\lib\\odbc32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\odbccp32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\oledlg.lib    >> msvc.tmp<br /> <br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> msvc.tmp<br /><br />%vcdir%\\bin\\link @msvc.tmp /NODEFAULTLIB:<span style=\"color: #000000;\">LIBC</span> /nologo /subsystem:<span style=\"color: #000000;\">windows</span> /force:<span style=\"color: #000000;\">multiple</span><br /><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built<br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br />@del msvc.tmp<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * There are errors<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO    SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">&#91;</span>Program<span style=\"color: #000000;\">&#93;</span>     <span style=\"color: #000000;\">&#123;</span>-- No especifiques la extensión PRG<br />ECHO                                <span style=\"color: #000000;\">&#123;</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /></span></div>[/code:3dfag4lg]\n\nCompile errors\n[code=fw:3dfag4lg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />\fÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />³ FiveWin <span style=\"color: #00C800;\">for</span> xHarbour <span style=\"color: #000000;\">17.07</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> July <span style=\"color: #000000;\">2017</span>    xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2017</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows 9x/NT/<span style=\"color: #000000;\">2000</span>/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br />Compiling...<br />xHarbour <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Build <span style=\"color: #000000;\">20170902</span><span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2017</span>, http:<span style=\"color: #B900B9;\">//www.xharbour.org <!-- m --><a class=\"postlink\" href=\"http://www.harbour-project.org/\">http://www.harbour-project.org/</a><!-- m --></span><br />Compiling <span style=\"color: #ff0000;\">'tutor01.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'tutor01.ppo'</span>...<br /><br /><span style=\"color: #000000;\">2000</span><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'tutor01.c'</span>...<br />Done.<br /><br />Lines <span style=\"color: #000000;\">13</span>, Functions/Procedures <span style=\"color: #000000;\">1</span>, pCodes <span style=\"color: #000000;\">14</span><br />tutor01.c<br />Microsoft <span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Windows <span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">Resource</span> Compiler Version <span style=\"color: #000000;\">10.0</span><span style=\"color: #000000;\">.10011</span><span style=\"color: #000000;\">.16384</span><br /><br />Copyright <span style=\"color: #000000;\">&#40;</span>C<span style=\"color: #000000;\">&#41;</span> Microsoft Corporation.  All rights reserved.<br /><br /><br />rtl.lib<span style=\"color: #000000;\">&#40;</span>math.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">warning</span> LNK4006: __matherr already defined in LIBCMT.lib<span style=\"color: #000000;\">&#40;</span>matherr.obj<span style=\"color: #000000;\">&#41;</span>; second definition ignored<br />   Creating <span style=\"color: #0000ff;\">library</span> tutor01.lib and object tutor01.<span style=\"color: #0000ff;\">exp</span><br />LINK : <span style=\"color: #000000;\">warning</span> LNK4098: <span style=\"color: #000000;\">defaultlib</span> <span style=\"color: #ff0000;\">'MSVCRT'</span> conflicts with use <span style=\"color: #0000ff;\">of</span> other libs; use /NODEFAULTLIB:<span style=\"color: #0000ff;\">library</span><br />tutor01.obj : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _HB_FUN_TACTIVEX<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvni referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_DRAWTEXTW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_EXTTEXTOUTW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>THEMES.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>HARBOURC.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvc referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvni referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>THEMES.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>RIBBON.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>DIB.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _RegisterResource referenced in <span style=\"color: #00C800;\">function</span> _CreateDIBPalette<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>RIBBON.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _RegisterResource<br />MSVCRT.lib<span style=\"color: #000000;\">&#40;</span>_chandler4gs_.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol __except_handler4_common referenced in <span style=\"color: #00C800;\">function</span> __except_handler4<br />tutor01.exe : <span style=\"color: #000000;\">fatal</span> error LNK1120: <span style=\"color: #000000;\">8</span> unresolved externals<br />* There are errors<br /> </div>[/code:3dfag4lg]", "time": "21:27", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "Rick Lipkin" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-12-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"byte-one\":23sxi7rq]Now i have tested hbmk2 but is showing the following error:\n[b:23sxi7rq]Error: 'C:\\FWH\\LIB\\FIVEH32.LIB' enth\u0004lt einen ung ltigen OMF-Record, Typ 0x21 (m\u0006glicherweise COFF)\n[/b:23sxi7rq] Is any solution?[/quote:23sxi7rq]\n\nHi Günther,\n\nYou mixed up MSVC libraries with BCC ones:\n\n[code=fw:23sxi7rq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Libraries description<br />=====================<br /><br />FWH - FiveWin <span style=\"color: #00C800;\">for</span> Harbour<br /><br />   * Borland BCC <span style=\"color: #000000;\">5.82</span> version: <span style=\"color: #000000;\">fiveh</span>.lib, fivehc.lib<br />  <br />   * Microsoft Visual C++ version: <span style=\"color: #000000;\">fivehm</span>.lib, fivehcm.lib<br /><br />   * Libraries FiveH32.lib and FiveHC32.lib are <span style=\"color: #0000ff;\">to</span> be used with Microsoft C++ <span style=\"color: #000000;\">2010</span> <span style=\"color: #000000;\">&#40;</span>Express, Visual<span style=\"color: #000000;\">&#41;</span>.<br />     FiveHCM.lib and FiveHMX.lib are <span style=\"color: #0000ff;\">to</span> be used with xHarbour commercial<br /><br />   * MinGW gcc: <span style=\"color: #000000;\">fivehg</span>.lib, fivehgc.lib<br /><br />FWHX - FiveWin <span style=\"color: #00C800;\">for</span> xHarbour<br /><br />   * Borland BCC <span style=\"color: #000000;\">5.82</span> version: <span style=\"color: #000000;\">fivehx</span>.lib, fivehc.lib<br /><br />   * Microsoft Visual C++ version: <span style=\"color: #000000;\">fivehmx</span>.lib, fivehcm.lib</div>[/code:23sxi7rq]\n\nYou must use fiveh.lib instead of fiveh32.lib", "time": "01:15", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS
[ { "date": "2017-12-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rick Lipkin\":14j1028e]Andi\n\nI have downloaded xHarbour MSVC 2015 from Mel's site ... I have attempted to modify BuildxM and when I try to compile Tutor01.prg I get the errors below. I would appreciate any help.\n\nThanks\nRick Lipkin\n\n[code=fw:14j1028e]<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> xHarbour <span style=\"color: #000000;\">17.07</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> July <span style=\"color: #000000;\">2017</span>    xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />ECHO ³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2017</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows 9x/NT/<span style=\"color: #000000;\">2000</span>/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style=\"color: #00C800;\">if</span> A%<span style=\"color: #000000;\">1</span> == A GOTO :<span style=\"color: #000000;\">SINTAX</span><br /><span style=\"color: #00C800;\">if</span> NOT EXIST %<span style=\"color: #000000;\">1</span>.prg GOTO :<span style=\"color: #000000;\">NOEXIST</span><br /><br />ECHO Compiling...<br /><br />set hdir=c:\\xharbourM<br />set vcdir=c:\\msvc17<br />set include=%vcdir%\\include;%hdir%\\include;%include%<br />set lib=%vcdir%\\lib;%hdir%\\vc\\lib;%lib%<br /><br />%hdir%\\bin\\harbour %<span style=\"color: #000000;\">1</span> /n /i..\\include;%hdir%\\include /w /p %<span style=\"color: #000000;\">2</span> %<span style=\"color: #000000;\">3</span> > clip.log <span style=\"color: #000000;\">2</span>> warnings.log<br />@type clip.log<br />@type warnings.log<br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">PAUSE</span><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO EXIT<br /><br />%vcdir%\\bin\\cl -TP -W3 -c /GA %<span style=\"color: #000000;\">1</span>.c<br />:<span style=\"color: #000000;\">ENDCOMPILE</span><br /><br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.rc %vcdir%\\bin\\rc -r -d__FLAT__ %<span style=\"color: #000000;\">1</span><br /><br />echo %<span style=\"color: #000000;\">1</span>.obj  > msvc.tmp<br /><br />rem  c:\\Fwh1707\\lib\\Fivehmx.lib c:\\Fwh1707\\lib\\FiveHCM.lib  >> msvc.tmp<br />echo c:\\Fwh1707\\lib\\Fivehc32.lib c:\\Fwh1707\\lib\\FiveHCM.lib >> msvc.tmp<br /><br />echo %hdir%\\lib\\rtl.lib  >> msvc.tmp<br />echo %hdir%\\lib\\vm.lib  >> msvc.tmp<br />echo %hdir%\\lib\\gtgui.lib  >> msvc.tmp<br />echo %hdir%\\lib\\lang.lib  >> msvc.tmp<br />echo %hdir%\\lib\\macro.lib  >> msvc.tmp<br />echo %hdir%\\lib\\rdd.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbfntx.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbfcdx.lib  >> msvc.tmp<br />echo %hdir%\\lib\\dbffpt.lib  >> msvc.tmp<br />echo %hdir%\\lib\\hbsix.lib  >> msvc.tmp<br />echo %hdir%\\lib\\debug.lib  >> msvc.tmp<br />echo %hdir%\\lib\\common.lib  >> msvc.tmp<br />echo %hdir%\\lib\\pp.lib  >> msvc.tmp<br />echo %hdir%\\lib\\pcrepos.lib  >> msvc.tmp<br />echo %hdir%\\lib\\png.lib  >> msvc.tmp<br /><br />rem ... can not find this in xHarbourM<br />rem echo %hdir%\\lib\\hbzlib.lib  >> msvc.tmp<br /><br /><br />rem Uncomment these two lines <span style=\"color: #0000ff;\">to</span> use Advantage RDD<br />rem echo %hdir%\\lib\\vc\\rddads.lib >> msvc.tmp<br />rem echo %hdir%\\lib\\vc\\ace32.lib >> msvc.tmp<br /><br />rem echo %vcdir%\\lib\\msvcrt.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\kernel32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\user32.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\gdi32.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\winspool.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\comctl32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\comdlg32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\advapi32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\shell32.lib   >> msvc.tmp<br />rem echo %vcdir%\\lib\\ole32.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\oleaut32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\uuid.lib      >> msvc.tmp<br />rem echo %vcdir%\\lib\\odbc32.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\odbccp32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\mpr.lib       >> msvc.tmp<br />rem echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp<br />rem echo %vcdir%\\lib\\oledlg.lib    >> msvc.tmp<br />rem echo %vcdir%\\lib\\psapi.lib     >> msvc.tmp<br />rem echo %vcdir%\\lib\\version.lib   >> msvc.tmp<br /><br />rem  microsoft C++ libs<br /><br />rem echo %vcdir%\\lib\\imm32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp <br />rem echo %vcdir%\\lib\\gdiplus.lib   >> msvc.tmp <br />echo %vcdir%\\lib\\uuid.lib      >> msvc.tmp <br />echo %vcdir%\\lib\\psapi.lib     >> msvc.tmp <br />rem echo %vcdir%\\lib\\msimg32.lib   >> msvc.tmp <br />echo %vcdir%\\lib\\iphlpapi.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\version.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\shell32.lib   >> msvc.tmp<br />echo %vcdir%\\lib\\kernel32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\user32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\advapi32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\gdi32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\winspool.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\ole32.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\oleaut32.lib  >> msvc.tmp<br />rem echo %vcdir%\\lib\\ws2_32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\mpr.lib       >> msvc.tmp<br />rem echo %vcdir%\\lib\\winmm.lib     >> msvc.tmp<br />echo %vcdir%\\lib\\comctl32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\comdlg32.lib  >> msvc.tmp<br /><br />echo %vcdir%\\lib\\odbc32.lib    >> msvc.tmp<br />echo %vcdir%\\lib\\odbccp32.lib  >> msvc.tmp<br />echo %vcdir%\\lib\\oledlg.lib    >> msvc.tmp<br /> <br /><span style=\"color: #00C800;\">IF</span> EXIST %<span style=\"color: #000000;\">1</span>.res echo %<span style=\"color: #000000;\">1</span>.res >> msvc.tmp<br /><br />%vcdir%\\bin\\link @msvc.tmp /NODEFAULTLIB:<span style=\"color: #000000;\">LIBC</span> /nologo /subsystem:<span style=\"color: #000000;\">windows</span> /force:<span style=\"color: #000000;\">multiple</span><br /><br /><span style=\"color: #00C800;\">IF</span> ERRORLEVEL <span style=\"color: #000000;\">1</span> GOTO LINKERROR<br />ECHO * Application successfully built<br />%<span style=\"color: #000000;\">1</span><br />GOTO EXIT<br />ECHO<br /><br />rem delete temporary files<br />@del %<span style=\"color: #000000;\">1</span>.c<br />@del msvc.tmp<br /><br />:<span style=\"color: #000000;\">LINKERROR</span><br />ECHO * There are errors<br />GOTO EXIT<br /><br />:<span style=\"color: #000000;\">SINTAX</span><br />ECHO    SYNTAX: <span style=\"color: #000000;\">Build</span> <span style=\"color: #000000;\">&#91;</span>Program<span style=\"color: #000000;\">&#93;</span>     <span style=\"color: #000000;\">&#123;</span>-- No especifiques la extensión PRG<br />ECHO                                <span style=\"color: #000000;\">&#123;</span>-- Don<span style=\"color: #ff0000;\">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /></span></div>[/code:14j1028e]\n\nCompile errors\n[code=fw:14j1028e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />\fÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />³ FiveWin <span style=\"color: #00C800;\">for</span> xHarbour <span style=\"color: #000000;\">17.07</span> <span style=\"color: #000000;\">&#40;</span>MSVC++<span style=\"color: #000000;\">&#41;</span> July <span style=\"color: #000000;\">2017</span>    xHarbour development <span style=\"color: #0000ff;\">power</span> ³Ü<br />³ <span style=\"color: #000000;\">&#40;</span>c<span style=\"color: #000000;\">&#41;</span> FiveTech, <span style=\"color: #000000;\">1993</span><span style=\"color: #000000;\">-2017</span>    <span style=\"color: #00C800;\">for</span> Microsoft Windows 9x/NT/<span style=\"color: #000000;\">2000</span>/ME/XP/Vista/<span style=\"color: #000000;\">7</span>/<span style=\"color: #000000;\">8</span> ³Û<br />ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br />Compiling...<br />xHarbour <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.3</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Build <span style=\"color: #000000;\">20170902</span><span style=\"color: #000000;\">&#41;</span><br />Copyright <span style=\"color: #000000;\">1999</span><span style=\"color: #000000;\">-2017</span>, http:<span style=\"color: #B900B9;\">//www.xharbour.org <!-- m --><a class=\"postlink\" href=\"http://www.harbour-project.org/\">http://www.harbour-project.org/</a><!-- m --></span><br />Compiling <span style=\"color: #ff0000;\">'tutor01.prg'</span> and generating preprocessed output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'tutor01.ppo'</span>...<br /><br /><span style=\"color: #000000;\">2000</span><br />Generating C source output <span style=\"color: #0000ff;\">to</span> <span style=\"color: #ff0000;\">'tutor01.c'</span>...<br />Done.<br /><br />Lines <span style=\"color: #000000;\">13</span>, Functions/Procedures <span style=\"color: #000000;\">1</span>, pCodes <span style=\"color: #000000;\">14</span><br />tutor01.c<br />Microsoft <span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Windows <span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">Resource</span> Compiler Version <span style=\"color: #000000;\">10.0</span><span style=\"color: #000000;\">.10011</span><span style=\"color: #000000;\">.16384</span><br /><br />Copyright <span style=\"color: #000000;\">&#40;</span>C<span style=\"color: #000000;\">&#41;</span> Microsoft Corporation.  All rights reserved.<br /><br /><br />rtl.lib<span style=\"color: #000000;\">&#40;</span>math.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">warning</span> LNK4006: __matherr already defined in LIBCMT.lib<span style=\"color: #000000;\">&#40;</span>matherr.obj<span style=\"color: #000000;\">&#41;</span>; second definition ignored<br />   Creating <span style=\"color: #0000ff;\">library</span> tutor01.lib and object tutor01.<span style=\"color: #0000ff;\">exp</span><br />LINK : <span style=\"color: #000000;\">warning</span> LNK4098: <span style=\"color: #000000;\">defaultlib</span> <span style=\"color: #ff0000;\">'MSVCRT'</span> conflicts with use <span style=\"color: #0000ff;\">of</span> other libs; use /NODEFAULTLIB:<span style=\"color: #0000ff;\">library</span><br />tutor01.obj : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _HB_FUN_TACTIVEX<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvni referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_DRAWTEXTW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_EXTTEXTOUTW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>THEMES.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>HARBOURC.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_parvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvc referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvni referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>UNICODE.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl referenced in <span style=\"color: #00C800;\">function</span> _HB_FUN_GETCLASSINFOW<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>THEMES.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>RIBBON.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _hb_storvnl<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>DIB.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol _RegisterResource referenced in <span style=\"color: #00C800;\">function</span> _CreateDIBPalette<br />Fivehc32.lib<span style=\"color: #000000;\">&#40;</span>RIBBON.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2001: <span style=\"color: #000000;\">unresolved</span> external symbol _RegisterResource<br />MSVCRT.lib<span style=\"color: #000000;\">&#40;</span>_chandler4gs_.obj<span style=\"color: #000000;\">&#41;</span> : <span style=\"color: #000000;\">error</span> LNK2019: <span style=\"color: #000000;\">unresolved</span> external symbol __except_handler4_common referenced in <span style=\"color: #00C800;\">function</span> __except_handler4<br />tutor01.exe : <span style=\"color: #000000;\">fatal</span> error LNK1120: <span style=\"color: #000000;\">8</span> unresolved externals<br />* There are errors<br /> </div>[/code:14j1028e][/quote:14j1028e]\n\nHi Rick,\n\nI did not see you linked [b:14j1028e]fiveh32.lib[/b:14j1028e]. \nMake sure you include [b:14j1028e]fiveh32.lib[/b:14j1028e] in the batch file.\n\n[i:14j1028e][b:14j1028e]in case of using xHarbour:\nFWHX - FiveWin for xHarbour\n\n * Microsoft Visual C++ version: fivehmx.lib, fivehcm.lib[/i:14j1028e][/b:14j1028e]", "time": "01:27", "topic": "Building Harbour 3.4 for BCC outside MSYS", "username": "andijahja" } ]
Building Harbour 3.4 for BCC outside MSYS