Building FiveMac apps from HBIDE !!!

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Building FiveMac apps from HBIDE !!!

Post by Antonio Linares »

There is a HBIDE bug to be fixed on OSX, but besides that, we can already build FiveMac apps from HBIDE !!! :-)

Image

I used these settings for HBIDE (you can run it as a script or better do an auto load script in HBIDE):
settings.prg

Code: Select all

FUNCTION main( oIde )

  hb_setEnv( "PATH", hb_getEnv( "PATH" ) +
":/Users/anto/harbour/harbour/bin/darwin/gcc" )

  hb_setEnv( "HB_COMPILER", "gcc" )
  hb_setEnv( "HB_USER_PRGFLAGS", "-i/Users/anto/fivemac/include"   )
  hb_setEnv( "HB_USER_LDFLAGS", "-L/Users/anto/fivemac/lib -framework Cocoa" )
  hb_setEnv( "HB_USER_LIBS", "five.lib fivec.lib" )
  hb_setEnv( "HB_GUI", "1" )

  MsgBox( "FiveMac settings loaded" )

RETURN NIL
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Building FiveMac apps from HBIDE !!!

Post by Antonio Linares »

Viktor propossed a better settings:

http://groups.google.es/group/harbour-d ... c93?hl=es#
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Building FiveMac apps from HBIDE !!!

Post by IBTC »

Antonio Linares wrote:Viktor propossed a better settings:
http://groups.google.es/group/harbour-d ... c93?hl=es#
After I made this:
If you move /Users/anto/fivemac/ to /Users/anto/harbour/harbour/addons/fivemac,
you can even use:

hb_setEnv( "HB_COMPILER", "gcc" )
hb_setEnv( "HBMK_OPTIONS", 'fivemac.hbc' )
HBIDE didn't work anymore :( After starting HBIDE hangs. Removing addons/fivemac didn't change anything. At the moment I didn't have enough time to find out what happened. I think it is better to wait till HBIDE is more stable (on Mac OS X)... I will concentrate on using gcc instead of Borland C on Windows first...
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Building FiveMac apps from HBIDE !!!

Post by Antonio Linares »

Fixed a little HBIDE bug that was causing the edited source code not to be seen:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Building FiveMac apps from HBIDE !!!

Post by Antonio Linares »

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply