Antonio Linares wrote:Enhanced version with HBCs and defines support:
[/img]
function BuildFldButtons( oFld )
local oBtn, cFileName
@ 1, 350 BUTTON oBtn PROMPT "+" OF oFld SIZE 18, 18 PIXEL ;
ACTION ( cFileName := cGetFile( { "*.prg", "*.c", "*.obj", If( cCCompiler == "MinGW", "*.a", "*.lib" ), "*.rc", "*.hbc" }[ oFld:nOption ],;
...
Antonio Linares wrote:Rimantas,
Please change this in vmh.prg line 294:
- Code: Select all Expand view
function BuildFldButtons( oFld )
local oBtn, cFileName
@ 1, 350 BUTTON oBtn PROMPT "+" OF oFld SIZE 18, 18 PIXEL ;
ACTION ( cFileName := cGetFile( { "*.prg", "*.c", "*.obj", If( cCCompiler == "MinGW", "*.a", "*.lib" ), "*.rc", "*.hbc" }[ oFld:nOption ],;
...
D:\A\Vmh>set path=c:\mingw\bin
D:\A\Vmh>D:\A\hb32\bin\hbmk2.exe -comp=mingw -iD:\A\FWH\include -lfivehg -lfivehgc -LD:\A\FWH\lib xhb.hbc -gtgui D:\A\Amdi3\engel.prg D:\A\Amdi3\func.prg D:\A\Amdi3\func_brw.prg D:\A\Amdi3\func_dsg.prg D:\A\Amdi3\func_dt.prg D:\A\Amdi3\tarray.prg D:\A\hb32\lib\win\mingw\libdolphin.a
Harbour 3.2.0dev (Rev. 18911)
Copyright (c) 1999-2013, http://harbour-project.org/
...
Lines 3924, Functions/Procedures 4
Generating C source output to 'C:\Tmp\hbmk_1i0wmy.dir\tarray.c'... Done.
D:/A/FWH/lib/fivehg.lib(LEGACY.o):LEGACY.c:(.text+0x5bf): multiple definition of `HB_FUN_OLE2TXTERROR'
D:/A/hb32/lib/win/mingw/libdolphin.a(tdolpexp.o):tdolpexp.c:(.text+0x39): first defined here
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x24): undefined reference to `mysql_close@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x5a): undefined reference to `mysql_free_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1b5): undefined reference to `mysql_escape_string@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2a0): undefined reference to `mysql_real_escape_string@16'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x3ae): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x3e4): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x3f2): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x403): undefined reference to `mysql_fetch_lengths@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x4c0): undefined reference to `mysql_get_server_info@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x506): undefined reference to `mysql_get_client_info@0'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x53d): undefined reference to `mysql_commit@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x609): undefined reference to `mysql_init@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x71c): undefined reference to `mysql_real_connect@32'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x769): undefined reference to `mysql_next_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x7dd): undefined reference to `mysql_close@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x822): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x85a): undefined reference to `mysql_error@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x8bb): undefined reference to `mysql_field_count@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x910): undefined reference to `mysql_free_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x950): undefined reference to `mysql_num_fields@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x961): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x972): undefined reference to `mysql_fetch_lengths@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xa45): undefined reference to `mysql_errno@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xac3): undefined reference to `mysql_list_tables@8'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xade): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xb06): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xb5f): undefined reference to `mysql_free_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xbce): undefined reference to `mysql_list_dbs@8'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xbe9): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xc11): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xc6a): undefined reference to `mysql_free_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xcb0): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xd1d): undefined reference to `mysql_options@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xd8e): undefined reference to `mysql_ping@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xe18): undefined reference to `mysql_real_query@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xe83): undefined reference to `mysql_rollback@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xf03): undefined reference to `mysql_select_db@8'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0xf87): undefined reference to `mysql_list_fields@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x104a): undefined reference to `mysql_num_fields@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1067): undefined reference to `mysql_fetch_field@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x12df): undefined reference to `mysql_num_fields@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x12f0): undefined reference to `mysql_fetch_lengths@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1311): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x131f): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x141d): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x148a): undefined reference to `mysql_store_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x14eb): undefined reference to `mysql_use_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x19a6): undefined reference to `mysql_real_escape_string@16'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x19c7): undefined reference to `mysql_escape_string@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1c78): undefined reference to `mysql_server_init@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1c8f): undefined reference to `mysql_init@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1cba): undefined reference to `mysql_options@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1cff): undefined reference to `mysql_real_connect@32'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1d11): undefined reference to `mysql_close@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1d19): undefined reference to `mysql_server_end@0'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1dff): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1e0d): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1e1e): undefined reference to `mysql_fetch_lengths@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x20a8): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x22c3): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x22d1): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2504): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x271a): undefined reference to `mysql_num_rows@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2750): undefined reference to `mysql_data_seek@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x275e): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x29ab): undefined reference to `mysql_real_query@12'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x29c1): undefined reference to `mysql_use_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x29e3): undefined reference to `mysql_num_fields@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x29f4): undefined reference to `mysql_fetch_fields@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2dd3): undefined reference to `mysql_fetch_row@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2e73): undefined reference to `mysql_free_result@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2e83): undefined reference to `mysql_error@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2e93): undefined reference to `mysql_sqlstate@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2ea3): undefined reference to `mysql_errno@4'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2f23): undefined reference to `mysql_set_server_option@8'
D:/A/hb32/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2f3e): undefined reference to `mysql_set_server_option@8'
D:/A/FWH/lib/fivehg.lib(GETTASKS.o):GETTASKS.c:(.text+0x180): undefined reference to `GetModuleFileNameExA@16'
D:/A/FWH/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0xa45): undefined reference to `OleUIPasteSpecialA@4'
D:/A/FWH/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0x12de): undefined reference to `GetFileVersionInfoSizeA@8'
D:/A/FWH/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0x1346): undefined reference to `GetFileVersionInfoA@16'
D:/A/FWH/lib/fivehgc.lib(RICHEDIT.o):RICHEDIT.C:(.text+0x1370): undefined reference to `VerQueryValueA@16'
collect2: ld returned 1 exit status
1) Can we create console application with vmh.exe (without gtXXX or fw)?
2) Can we create lib with vmh.exe?
3) I have written prg files but vmh.exe cannot compile them. (in clipper with /n parameter)
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 92 guests