FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Building FiveMac apps from HBIDE !!!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Building FiveMac apps from HBIDE !!!
Posted: Wed Jul 14, 2010 08:22 AM
There is a HBIDE bug to be fixed on OSX, but besides that, we can already build FiveMac apps from HBIDE !!! :-)



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 (fw): Select all Collapse
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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Building FiveMac apps from HBIDE !!!
Posted: Wed Jul 14, 2010 09:51 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: Building FiveMac apps from HBIDE !!!
Posted: Wed Jul 14, 2010 11:43 AM
Antonio Linares wrote:Viktor propossed a better settings:
http://groups.google.es/group/harbour-devel/browse_thread/thread/579a610cb92a0c93?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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Building FiveMac apps from HBIDE !!!
Posted: Wed Jul 14, 2010 03:22 PM
Fixed a little HBIDE bug that was causing the edited source code not to be seen:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Building FiveMac apps from HBIDE !!!
Posted: Wed Jul 14, 2010 09:53 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion