Problem with NAV is solved



There is another very good news (at least for me

Thanks a lot again and very sorry to give you trouble

With best regards.
Sudip
Moderator: Rathinagiri
Code: Select all
HB_FUNC( VERSION )
{
hb_retc_buffer( hb_verHarbour() );
}
You are right. I'll change the name.gfilatov wrote:Hello Roberto,
I've saw the new function Version() in the HMG 3.0 Test X source.
I think that there is a name's conflict with the similar function in the Harbour compiler core![]()
What is your opinionCode: Select all
HB_FUNC( VERSION ) { hb_retc_buffer( hb_verHarbour() ); }
My Configuration now looks like this:Roberto Lopez wrote:Console/Mixed mode setting is part of the project configuration in IDE now. If you open console samples with IDE you'll notice that 'gt=gtwin' config line appears. This signals that.
Code: Select all
incpaths=
libpaths=
libs=
gt=gtwin
Code: Select all
hbmk2: Processing: hmg300.hbc
hbmk2: Compiling Harbour sources...
Harbour 2.0.0beta3 (Rev. 12765)
Copyright (c) 1999-2009, http://www.harbour-project.org/
hbmk2: Compiling...
C:/slstable/slp.prg: In function 'HB_FUN_SETCONSOLETITLE':
C:/slstable/slp.prg:2177: warning: initialization discards qualifiers from pointer target type
hbmk2: Linking... hmg300.exe
C:/hmg300/harbour/lib/libhbrtl.a(version.o):version.c:(.text+0xa0): multiple definition of `HB_FUN_VERSION'
C:/hmg300//lib/libminigui.a(h_error.o):h_error.c:(.text+0x0): first defined here
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\sl.o .hbmk\win\mingw\art.o .hbmk\win\mingw\auf.o .hbmk\win\mingw\bes.o .hbmk\win\mingw\export.o .hbmk\win\mingw\mas.o .hbmk\win\mingw\mtx2dstamm.o .hbmk\win\mingw\qua.o .hbmk\win\mingw\rau.o .hbmk\win\mingw\slp.o .hbmk\win\mingw\slstamm.o .hbmk\win\mingw\stammed.o _temp.o -mconsole -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lpq -lhbtip -lhbct -lhbmisc -lhbnetio -lxhb -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 -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -ohmg300.exe -LC:/hmg300/harbour/lib -LC:/hmg300//lib -LC:/slstable/
I've included a synonymous for miniguiversion() function called version() since a Harbour function with the same name exists, it creates a conflict.raumi75 wrote:I am really excited to get 3.0 to run.
But I am not sure if I got my settings right. I could not open my old .hpj-Project File in the new IDE as it requires .hbp-Files.
So I startet with an empty file and added my Files. I have to confess that I am not 100% hmg and still have to use mixed mode.
My Configuration now looks like this:Roberto Lopez wrote:Console/Mixed mode setting is part of the project configuration in IDE now. If you open console samples with IDE you'll notice that 'gt=gtwin' config line appears. This signals that.But trying to compile my program, I get the following error:Code: Select all
incpaths= libpaths= libs= gt=gtwin
What am I doing wrong, here?Code: Select all
hbmk2: Processing: hmg300.hbc hbmk2: Compiling Harbour sources... Harbour 2.0.0beta3 (Rev. 12765) Copyright (c) 1999-2009, http://www.harbour-project.org/ hbmk2: Compiling... C:/slstable/slp.prg: In function 'HB_FUN_SETCONSOLETITLE': C:/slstable/slp.prg:2177: warning: initialization discards qualifiers from pointer target type hbmk2: Linking... hmg300.exe C:/hmg300/harbour/lib/libhbrtl.a(version.o):version.c:(.text+0xa0): multiple definition of `HB_FUN_VERSION' C:/hmg300//lib/libminigui.a(h_error.o):h_error.c:(.text+0x0): first defined here collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 gcc.exe .hbmk\win\mingw\sl.o .hbmk\win\mingw\art.o .hbmk\win\mingw\auf.o .hbmk\win\mingw\bes.o .hbmk\win\mingw\export.o .hbmk\win\mingw\mas.o .hbmk\win\mingw\mtx2dstamm.o .hbmk\win\mingw\qua.o .hbmk\win\mingw\rau.o .hbmk\win\mingw\slp.o .hbmk\win\mingw\slstamm.o .hbmk\win\mingw\stammed.o _temp.o -mconsole -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lpq -lhbtip -lhbct -lhbmisc -lhbnetio -lxhb -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 -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -ohmg300.exe -LC:/hmg300/harbour/lib -LC:/hmg300//lib -LC:/slstable/
Thanks a lot for your help
I just installed the patch and now it works.Roberto Lopez wrote: I've included a synonymous for miniguiversion() function called version() since a Harbour function with the same name exists, it creates a conflict.
I'll fix it ASAP.