Thought I sucesed linked samples in Dolphin\samples , can't to create own project . Diff. here that dolphin use win-make utility , I'm using hbmk2 and .hbp . Sorry , but I'm not a good expert of hbmk2 or win-make . What I must to do for that project ?
.hbp ( 1-st version )
- Code: Select all Expand view
-inc
-incpath=\a\fwh\include
-incpath=\a\hrbg\include
-incpath=\a\fwh\lib
-L\a\fwh\lib
-lfivehg
-lfivehgc
-ldolphin
-lgtgui
-luser32
-lwinspool
-lkernel32
-lcomctl32
-lcomdlg32
-lgdi32
-lole32
-loleaut32
-lpsapi
-loledlg
-lmfcuia32
-lmsimg32
-lwin32k
-lstdc++
-lversion
-luuid
-lwinmm
-lvfw32
-lwsock32
-lhbcommon
-lhbcpage
-lhbcplr
-lhbct
-lhbhsx
-lhblang
-lhbmacro
-lhbmainstd
-lhbmzip
-lodbc32
-lsddodbc
-lrddsql
-lhbpcre
-lhbpp
-lhbrdd
-lhbrtl
-lhbsix
-lhbmysql
-lhbtip
-lhbusrrdd
-lhbvm
-lhbwin
-lhbzlib
-lrddcdx
-lrddfpt
-lrddntx
-lxhb
-lpng
-oengel.exe
-icon=engel.ico
-gui
-w3 -es0
engel.prg
func.prg
func_brw.prg
func_dsg.prg
func_dt.prg
uzs.prg
engel.rc
2-nd version :
- Code: Select all Expand view
-inc
-incpath=\a\fwh\include
-incpath=\a\hrbg\include
-incpath=\a\fwh\lib
-ldolphin
-L\a\fwh\lib
-lfivehg
-lfivehgc
-oengel.exe
-icon=engel.ico
-gui
-w3 -es0
engel.prg
func.prg
func_brw.prg
func_dsg.prg
func_dt.prg
uzs.prg
engel.rc
I'm getting something that :
hbmk2: Linking... engel.exe
C:/a/hrbg/lib/win/mingw/libdolphin.a(tdolpexp.o):tdolpexp.c:(.text+0x39): multiple definition of `HB_FUN_OLE2TXTERROR'
/a/fwh/lib/fivehg.lib(LEGACY.o):LEGACY.c:(.text+0x5bf): first defined here
C:/a/hrbg/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x24): undefined reference to `mysql_close@4'
C:/a/hrbg/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x5a): undefined reference to `mysql_free_result@4'
C:/a/hrbg/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x1b5): undefined reference to `mysql_escape_string@12'
C:/a/hrbg/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x2a0): undefined reference to `mysql_real_escape_string@16'
C:/a/hrbg/lib/win/mingw/libdolphin.a(function.o):function.c:(.text+0x3ae): undefined reference to `mysql_num_rows@4'
...
hbmk2: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/engel.o .hbmk/win/mingw/xbrowse.o .hbmk/win/mingw/func.o .hbmk/win/mingw/func_brw.o .hbmk/win/mingw/func_dsg.o .hbmk/win/mingw/func_dt.o .hbmk/win/mingw/tarray.o .hbmk/win/mingw/uzs.o .hbmk/win/mingw/_hbmkaut_engel.o .hbmk/win/mingw/_hbmkaut_engel.reso .hbmk/win/mingw/engel.reso -mwindows -Wl,--start-group -lfivehg -lfivehgc -ldolphin -lgtgui -luser32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -loleaut32 -lpsapi -loledlg -lmfcuia32 -lmsimg32 -lwin32k -lstdc++ -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lsddodbc -lrddsql -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbmysql -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lpng -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oengel.exe -LC:/a/hrbg/lib/win/mingw -LC:/a/hrbg/bin -L/a/fwh/lib
Maybe you can share with win-make based project file ? Now Dolphin have project for one file , how to build with win-make foir a big numbers prgs ?
Thanks in advance ...