Page 1 of 2

Error en archivo de recursos

Posted: Fri Apr 26, 2013 1:26 am
by Mario Mansilla
Hola :
Uso el ide de la distribucion para realizar los proyectos . ahora tuve un error raro que no puedo descubrir que empezo a ocurrir al agregar un item al archivo de recursos .
Uso Hmg3.1.2 con su ide + win xp sp2 .
Adjunto la imagen que me da el error y archivo errorlog y hbc

Saludos .
Mario Mansilla

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 1:31 am
by Mario Mansilla
Hola :
No se porque no les puedo postear el archivo rc .
Saludos .
Mario Mansilla

Este es el archivo Build.log :
windres: _temp.rc:53: syntax error
hbmk2: Warning: Cannot find hbmzip.hbc (referenced from
D:\Hmgdemo\Gestion\Peralta\TFPLAYA\1g\Main.hbc)
hbmk2: Warning: Cannot find hbnf.hbc (referenced from
D:\Hmgdemo\Gestion\Peralta\TFPLAYA\1g\Main.hbc)
Harbour 3.2.0dev (Rev. 18706)
Copyright (c) 1999-2012, http://harbour-project.org/
gcc.exe: error: D:/Hmgdemo/Gestion/Peralta/TFPLAYA/1g/_temp.o: No such file or directory
hbmk2: Error: Running linker. 1
gcc.exe C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/main.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/abonos.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/clientes.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/empresa.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/estado.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/login.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/mantener.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/marcas.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/modelos.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/procon.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/redes.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/setup.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/setupimp.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/usuarios.o C:/DOCUME~1/Usuario/CONFIG~1/Temp/hbmk_hcoa5w.dir/hbmk_pr8t1p.o D:/Hmgdemo/Gestion/Peralta/TFPLAYA/1g/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -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 -oMain.exe -LC:/hmg.3.1.1/harbour/lib/win/mingw -LC:/hmg.3.1.1/lib

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 3:45 am
by Rathinagiri
My client has also got the same error for 3.0.46 also. What is happening? Does anybody else get the same error?!

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 4:03 am
by Mario Mansilla
Hola Rathi :
Modificando el archivo RC hasta que dejo de dar el error encontre que cambiando la linea :
CONTROL BITMAP BMP\CONTROL.BMP
por :
PROCON BITMAP BMP\CONTROL.BMP
Dejo de dar el error :) .

Volviendo a realizar lo inverso , provoca nuevamente el error y precisamente en la linea 11 que no es donde esta la palabra CONTROL :( .
No se porque pasara esto .
Saludos .
Mario Mansilla

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 4:33 am
by Rathinagiri
Might be some reserved word?

But the compiler's message regarding line number is 11?

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 9:31 am
by esgici
rathinagiri wrote:My client has also got the same error for 3.0.46 also. What is happening? Does anybody else get the same error?!
Hi Rathi

Could you please tell us what the problem is ?

Regards

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 10:00 am
by Rathinagiri
While compiling any HMG project the following error is displayed and compiler stops.

gcc.exe: error: <HMG Project Folder Name>/_temp.o: No such file or directory

It is especially in Window XP SP2 systems.

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 11:40 am
by esgici
rathinagiri wrote:While compiling any HMG project the following error is displayed and compiler stops.

gcc.exe: error: <HMG Project Folder Name>/_temp.o: No such file or directory

It is especially in Window XP SP2 systems.
A clean install ( after uninstall all installed HMG versions and removing anything related to Harbour and HMG, including file associations ) may be useful.

Regards

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 12:54 pm
by Rathinagiri
This we have done many times. Even after installing older versions/newer versions many times, the problem continued.

Then, we have found out that, two software were installed on the day of installing firefox automatically. They are Microsoft Silverlight and Delta Toolbar. Once we had removed these two software, it is working fine. Until now, I could not come out with a reason.

Re: Error en archivo de recursos

Posted: Fri Apr 26, 2013 1:04 pm
by esgici
rathinagiri wrote:...Once we had removed these two software, it is working fine....
Very interesting :?

May be a win.Registry collision (such as different software uses causelessly same reg.key ) :?:

Regards