[Harbour] Compiling harbour on PellesC for wince

2009-01-11 Thread José Luis Capel

Hi,

With latest SVN I try to compile libs for Pelles C - Wince (ver. 5.00.8).

I use these sets:

SET HBPP=\programacion_disk\programacion\harbour\hbpp.exe
SET HBPPGEN=\programacion_disk\programacion\harbour\hbppgen.exe
set HB_ARCHITECTURE=w32
set HB_COMPILER=poccce
set PRG_USR=-l
SET HB_GT_LIB=gtgui
SET HB_GT_DEFAULT=gui
SET C_USR= -DHARBOUR_MAIN_WIN -DHB_FM_STATISTICS

And when I execute 'make_gnu.bat' I get these console errors (see bellow). 
I am pretty sure that paths are corrects... as some libs are created.  So... 
if someone can help me I'll appreciate.


Thanks and regards,
José Luis Capel
PS: attached compressed make_gnu.log


mingw32-make.exe[3]: *** [hbfsapi.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [hbpp.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [cmdcheck.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [harbour.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [console.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [classes.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [workarea.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e ../../hbextern.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l, 
...)

failed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [hbextern.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e ../../dbgmenu.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l, 
...) f

ailed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [dbgmenu.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[1]: *** [first] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e 
../../hbrun.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l -gc0 -gc0

, ...) failed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [hbrun.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e 
../../hbtest.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l -gc0 -gc

0, ...) failed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [hbtest.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e 
../../hbdoc.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l -gc0 -gc0

, ...) failed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [hbdoc.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [hbmlang.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[1]: *** [first] Error 2
mingw32-make.exe[3]: *** [gtwvg.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e ../../tbtree.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l, 
...) fa

iled.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [tbtree.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [ctnet.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[4]: *** [winapi.obj] Error 1
mingw32-make.exe[3]: *** [descend] Error 2
mingw32-make.exe[2]: *** [first] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e ../../fileread.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l, 
...)

failed.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [fileread.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [hbmzip.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [getenvrn.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [odbc.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [ole2.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [hbsqlit3.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [utils.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[3]: *** [tpwin32.obj] Error 1
mingw32-make.exe[2]: *** [descend] Error 2
process_begin: CreateProcess(NULL, 
../../../../source/main/w32/poccce/harbour.ex
e ../../hbvpdf.prg -n -i../../../../include -q0 -w3 -es2 -gc0 -km -l -l, 
...) fa

iled.
make (e=2): El sistema no puede hallar el archivo especificado.
mingw32-make.exe[3]: *** [hbvpdf.c] Error 2
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make

Re: [Harbour] Help with scope class checking

2009-01-11 Thread Teo Fonrouge
On Tuesday 06 January 2009 11:05:09 am Teo Fonrouge wrote:

[snip]



Przemek, can you give any help on this ?. I just want to be able to send 
messages to private/protected methods from C source.


Thanks in advance.


best regards,

Teo
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Using /contrib/hbtpathy fuctions in Linux

2009-01-11 Thread Barry Jackson

I can not find  harbour.so and xhgtk.so libraries on my machine so I have
installed the RPMs.

Yesterday I checked out the latest svn and updated to rev10031 and latest
xhgtk  I am now finding that my GUI executables will only launch from a
terminal and not directly. Has something changed in Harbour or xhgtk to
cause this? 
F.e. xhgtk/samples/classes/button.prg compiled on 3/1/2009 will run by
clicking the executable from Dolphin file manager, the same code compiled
now will only run by launching from a terminal. The produced file sizes and
permissions are the same.
Any ideas what may be the cause?


Przemyslaw Czerpak-2 wrote:
> 
> On Fri, 09 Jan 2009, Barry Jackson wrote:
> 
> Hi Barry,
> 
>> I have now built my small Linux application using xhgtk front end and
>> hbtpathy for the com functions - 
>> it works fine - just like my Xbase++ version in Windows - I am really
>> impressed with Harbour! 
>> It also builds with 
>> hbmk hdvr -lhbtpathy -xhgtk//Much easier than my 3 step approach!
>> It produces a 40kB executable which runs on this machine. 
>> Question, what other files do I need to deploy to another machine that
>> has
>> no Harbour installed to enable it to run there? Is there a tool to do
>> this?
> 
> Such executable file uses shared harbour.so and xhgtk.so libraries
> and you should install them on destination machine. If you are using
> RPM based distribution then I suggest to create RPMs for Harbour and
> XHGTK and then install xhgtk-*..rpm and harbour-lib-*..rpm.
> Both contains above shared libraries.
> You can also create static binaries using -static hb* script parameters.
> In such case the Harbour and xHarbour libraries will be linked with your
> application. Anyhow still other system and GTK libraries will be linked
> dynamically so you will need compatible libraries installed in destination
> system. You can also use -fullstatic parameter which eliminates this
> problem and create fully static binaries if you have static version of
> used libraries installed. Unfortunately GTK does not provide static
> libs so in this case it will not work. Also static binaries using some
> system functionality may not be well portable. If you want to reduce
> the problem with coping binaries between systems then the easiest way
> is creating shared binaries as you have now and distribute them with
> used shared libraries (harbour.so and xhgtk.so in this case).
> Your compiled .prg code or .c code using Harbour API should not have
> any other external references so even if harbour.so and/or xhgtk.so
> cannot be installed on destination system then it will be enough to
> download valid binary libraries for this system or rebuild them from
> source code without touching your application.
> 
> best regards,
> Przemek
> ___
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using--contrib-hbtpathy-fuctions-in-Linux-tp21339751p21406238.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour